Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod
- » MetaMod General Support
- » Modules displayed based on user...
Modules displayed based on user preference
Modules displayed based on user preference
I'm wondering if MetaMod has the ability to allow logged in users to somehow select which modules they are interested and have those modules automatically appear on that user's homepage whenever they log in? Something like myYahoo?
Re: Modules displayed based on user preference
Start with the Quick Start guide:
http://www.metamodpro.com/metamod/quick-start
Then you can use the following rule to check for username:
if ($user->username == "joe") return XXX;
if ($user->username == "bob") return YYY;
if ($user->username == "ann" or $user->username == "brenda") return ZZZ;
... replace XXX etc with the module numbers that you want to use for that user.
Hope that helps,
Indrajit
Re: Modules displayed based on user preference
Hi mfarineau,
the trickiest part is giving people the preference for what modules they want. Once you have that in the system, then MetaMod can retrieve this info from the database and use it to determine which modules to display.
There are a number of components that extend the info that is stored in people's profiles. e.g. CommunityBuilder and VIrtueMart. I know there are others too.
So basically what would do would be to set up extra parameters in the profiles, so that people can use these parameters to choose some different modules. They would do this by editing their profile. Then set up MetaMod to read their profiles. There's a Recipe page for CommunityBuilder on this site which shows you how to get info out of a profile, so that would be a good start.
Cheers,
Stephen
- Index
- » MetaMod
- » MetaMod General Support
- » Modules displayed based on user...
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5942
- Total Posts Today:
- 1
- User Info:
- Total Users:
- 7623
- Newest User:
- laptopreviews21
- Members Online:
- 0
- Guests Online:
- 130
- Online:
- There are no members online
Forum Legend:
Topic
New
Locked
Sticky
Active
New/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky/Active/Locked