By yoeld on
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
If you use the block instead
If you use the block instead of your menu the option will go away after they login.
Discount SSL Certificates http://www.RunSSL.com
does it mean that using the
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.
Change the path from ?q=user
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.
Large Robot
http://www.largerobot.com
That solved my issue
Many thanks for your help!