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 dependent on MM_LOGGED_IN

different menu dependent on MM_LOGGED_IN

Sorry for posting again, but the thread I posted in seems dead?

For some reason I don't seem to be able to do this.
OK. So, let me be very precise here:
I have 2 menus:
[1] title = Main Menu,  Type = mainmenu, #modules = 3, ID=1
[2] title = Main Menu Registered, Type = mainmenureg, #modules = 1, ID = 7

Now I have 2 modules of type mod_mainmenu, both in menu position, and pages = none
[1] title = Main Menu, enabled = false, ID = 1, menu name = mainmenu
[2] title = Main Menu Registered, enabled = false, ID = 78, menu name = mainmenureg

Finally I have a Metamod module:
[1] title = MetaMod Main, position = menu, enabled = false, ID = 79, show_title = NO

And in the PHP box

if (MM_LOGGED_IN) return 78;
else return 1;

What am I doing wrong?
Your comments are certainly very welcome!
Thanx,
Lolke

lolke
Beginner Modder
ranks
useravatar
Offline
15 Posts
User info in posts
Administrator has disabled public posting

Re: different menu dependent on MM_LOGGED_IN

Hi Lolke,

sorry again for the delay.

As I put in the other thread, the only problem with what you have got above is that the MetaMod should not be disabled. It needs to be enabled. That *should* make everything work properly.

Cheers,
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
3329 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1698
Total Polls:
6
Total Posts:
5944
Dormant:
User Info:
 
Total Users:
5595
Newest User:
gary099231
Members Online:
0
Guests Online:
140

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