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 dependent on MM_LOGGED_IN
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
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
- Index
- » MetaMod
- » MetaMod General Support
- » different menu dependent on MM_LOGGED_IN
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5942
- Posts this week:
- 2
- User Info:
- Total Users:
- 7627
- Newest User:
- rudys68879
- Members Online:
- 0
- Guests Online:
- 170
- 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