Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.

helpme

 

Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.

 

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!

Edited By: goltoof
18-Nov-09 15:15:17

goltoof
Beginner Modder
ranks
useravatar
Offline
3 Posts
Administrator has disabled public posting

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

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

metamodguy
useravatar
Offline
3313 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1679
Total Polls:
6
Total Posts:
5913
Dormant:
User Info:
 
Total Users:
10796
Newest User:
mokao3
Members Online:
0
Guests Online:
120

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