Posted by jdesrig on January 16, 2013 at 8:44pm
For some reason, my drupal installation didn't come with a 'My Account' link in the navigation bar, and I was trying to figure out how to do this. I thought that I could just use token as the path ([current-user:url] to be exact) but it said it was an invalid path name.
How can I make this link? (This question relates to my question at http://drupal.org/node/1889372 which was never answered, so if someone could elaborate, that would be great!)
Comments
The path to the user page is
The path to the user page is just "user".
That worked, thanks. But why
That worked, thanks. But why did it work? Where is the redirect set that it brings me to user/[username]?
=-=
it's a dynamic link in core that recognizes the user clicking on the link.
Can you make sure it's not
Can you make sure it's not disabled?
There was a thread about some bug if this in this forum but can't find it right now...
// Ayesh
=-=
not sure what you mean by navigation bar. If you mean the tool bar, you simply click on the user name. If you mean the navigation menu its not there because that's not the default placement. It defaults to the user menu.
using tokens in menus requires: http://drupal.org/project/menu_token