Page 1 of 1

send parameters to another module

Posted: Thu Mar 29, 2007 10:26 am
by kazkas
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.

Re: send parameters to another module

Posted: Thu Mar 29, 2007 10:38 am
by cyberman
kazkas wrote: I want to have a page, which will show all User details, allow to e-mail him, etc.
Not sure if this could be a solution for you but it sounds like

http://dev.cmsmadesimple.org/projects/feuserlisting/

Maybe it's only a base which needs some modifying ...

Re: send parameters to another module

Posted: Thu Mar 29, 2007 11:48 am
by kazkas
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?