Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod
- » MetaMod General Support
- » trying to make my login menu item to...
trying to make my login menu item to disapear after the user logs in.
trying to make my login menu item to disapear after the user logs in.
metamod 22c
joomla 1.5.14
i'm trying to make my login menu item to disapear after the user logs in.
well, i already have a main menu of course.
so i created another menu and published it with the same stuff as in mainmenu (using aliases) except for the login menu item.
in the metamod module, i did the php code if (if ( MM_LOGGED_IN ) return 31; else return 1; (where 1 is mod id of mainmenu and 31 is modid of loggedinmenu)
and i selected menus to be none
But my website is displaying both menus logged in or not,
i dont know what you mean by the following statements:
When you set up modules to be included inside MetaMod, you need to make sure that there’s no way that they can show up “on their own”, i.e. without being included inside a MetaMod.
•When you set up a module for MetaMod to include, tell it to display on “Menus: None”.
Re: trying to make my login menu item to disapear after the user logs in.
Hi Widad,
sorry that the instructions were confusing. I think I need to rewrite those.
Set the two menu modules to have "Menus: none", and set the MetaMod to whichever pages/menu items that you want the other menu(s) to display on.
Hope that's clearer,
Kind regards,
Stephen
- Index
- » MetaMod
- » MetaMod General Support
- » trying to make my login menu item to...
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5942
- Posts this week:
- 2
- User Info:
- Total Users:
- 7628
- Newest User:
- horlogekorting34
- Members Online:
- 1
- Guests Online:
- 137
- Online:
- uistr4qx
Forum Legend:
Topic
New
Locked
Sticky
Active
New/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky/Active/Locked