Hello,

I have Nice Menu module enabled on my Site.

I want dynamic meun. What I want to do is Change the menu Item based on User status.

If the user is logged-in I want to show Logout as menu Item else Login Item. How do I do that? Any reference links or documentation would be appreciated.

Thanks
Praveen

Comments

Steve Halleman’s picture

I have the login block enabled which does what you describe. I don't think it has anything to do with Nice Menus. Go to http://www.example.com/admin/build/block and look for the User Login block and enable it.

Regards

appraveen’s picture

Thanks alot Steve,

I have the login block enabled. I have a suckerfish menu as well alongwith the usual navigation. I wanted to do that in the SF. So is there any possibilityof doing this?

Also, there are a lot of other things that depend on weather the user is logged or not. Like displaying a like to platinum member or displaying a Signup link to an anonymous user.

So dont look at it only from log-in logout perspective.

Thanks
Praveen