Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod
- » MetaMod General Support
- » different menu for guest/registered
different menu for guest/registered
different menu for guest/registered
I'm sure this has been answered already but I couldn't find any answers in the forum. My needs are simple, I have two menus for the top of the site, one for guests (only shows when not logged in) and one for registered (only shows when loggged in). The menus are enabled and assigned to top position, and the metamod is enabled assigned to top position.
Code:
if ( MM_NOT_LOGGED_IN ) return 65;
if ( MM_LOGGED_IN ) return 132;
When logged out I see both menus. When logged in I still see both menus and a duplicate one I guess that's made by the metamod.
I'm using Joomla1.5 and metamod2.2
Thanks!
18-Nov-09 16:15:17
Re: different menu for guest/registered
Hi Goltoof,
you need to DISABLE the original menu modules so that they do not show up until MetaMod includes them. MetaMod is able to automatically enable them when it includes them. That will prevent the duplication.
Hope that helps,
Stephen
- Index
- » MetaMod
- » MetaMod General Support
- » different menu for guest/registered
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5942
- Posts this week:
- 2
- User Info:
- Total Users:
- 7633
- Newest User:
- mingle7855
- Members Online:
- 0
- Guests Online:
- 98
- 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