Where the My account & Login links are for authenticated users, Id like to put Register & Login links for anonymous users. What is the best way to accomplish this? If I add a menu item to the "User Menu" It shows up for all user roles. Can I code this in somewhere?

Also - the "My account" link in the user menu is permanently disabled for some reason.

Comments

markhalliwell’s picture

Status: Active » Postponed (maintainer needs more info)

In your user menu, you can add the following two menu items with the paths:

user/register
user/login

When a user is logged in, these links will not show (this is the nature of an authenticated user). When a user is not logged in (anonymous), then these links will show. As far as the "My account" link, I am unsure why this would be happening. Themes do not handle menu items in Drupal, do you have a conflicting module installed that controls menu items? Try disabling them first.

milesw’s picture

Great answer, solved my question. Thanks!

markhalliwell’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)