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.

 

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”.

widad
Beginner Modder
ranks
useravatar
Offline
2 Posts
Administrator has disabled public posting

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

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

Re: trying to make my login menu item to disapear after the user logs in.

Thanks for the quick response! that worked!

widad
Beginner Modder
ranks
useravatar
Offline
2 Posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1679
Total Polls:
6
Total Posts:
5933
Posts this week:
3
User Info:
 
Total Users:
4397
Newest User:
tull687318
Members Online:
0
Guests Online:
165

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