Hello,

In my navigation menu, I have added a "LOGIN" option that links to ?q=user.

Clicking on that option, the user gets the login form and enters the register area. My problem is that even the user is logged, the menu option LOGIN still apears. Is there a way to have this removed if the user in logged in?

Thanks

Comments

runssl’s picture

If you use the block instead of your menu the option will go away after they login.

Discount SSL Certificates http://www.RunSSL.com

yoeld’s picture

does it mean that using the block is mandatory in order to get this functionality? For design purpose, I need it as an option of the menu bar.

christefano’s picture

Change the path from ?q=user (which is an invalid path anyway -- don't include the 'q' query string) to user/login and D6 will hide the menu item when you are logged in.



Christefano  
Founder, CEO
Large Robot
954-247-4786
http://www.largerobot.com
yoeld’s picture

Many thanks for your help!