Posted by ntag on January 20, 2013 at 12:10am
Hey guys, I'm new to Drupal and I'm still trying to understand all these theme template files and what not. I have a basic question, how do I change the "My Account" string in the User Account menu link to the actual username. Like for example, on Facebook it will just show my real name that will redirect me to my profile not a "My Account" label.
Thanks guys.
Comments
Use the menu token module to
No need to mess with the tpl files for this one. Use the menu token module to place the user:name token in your link title.
The Menu Token module provides tokens, that could be used in title or in path of menu items (links). For example, if you create a menu item with path: "user/[current-user:uid]", the url will be changed "on fly" to: "user/1" (assuming you are user 1).
http://drupal.org/project/menu_token
hey thanks for the quick
hey thanks for the quick reply man i greatly appreciate it!
ntag - new at drupal -