send parameters to another module
-
kazkas
send parameters to another module
Ok, there's a problem. I want to have a page, which will show all User details, allow to e-mail him, etc. I thought to do a module for that, but that's a problem: I will need to link to this page from different parts of my site and mostly from other modules. Is there any way to send $uid to another module throu link? because CreateLink function only create links inside module, isn't it?
Only way I see is to create API functions within my Profile module, so I can call that functions from other modules. But that will not solve problems if I want to create link to profile page from smarty template. Hope anyone understand what I mean.
-
cyberman
Re: send parameters to another module
Not sure if this could be a solution for you but it sounds likekazkas wrote: I want to have a page, which will show all User details, allow to e-mail him, etc.
http://dev.cmsmadesimple.org/projects/feuserlisting/
Maybe it's only a base which needs some modifying ...
Last edited by cyberman on Thu Mar 29, 2007 10:41 am, edited 1 time in total.
-
kazkas
Re: send parameters to another module
I don't think it's solution. I wrote a module, so all of feusers have their own image galleries. And this module returns album of latest uploaded photos as well. I need to generate link above each photo, so if anybody will click on it, the User Profile page will load. And I need to do a search by users, so that search results link to user profiles as well.
I can do search/listing and profile page (plus all blindmail stuff) in one module, but how can I create links to it from my gallery page with the uid of user which profile I need to show?
I can do search/listing and profile page (plus all blindmail stuff) in one module, but how can I create links to it from my gallery page with the uid of user which profile I need to show?
