Logintoboggan link to profile page

caponey - October 17, 2009 - 07:09

I just installed and set up the LoginToboggan module, and is there an easy way to make the user name be a link to their profile page? Just to be clear, I am talking about the username that appears next to the Logout link once a user logs in.

thanks!
c

Do you already have a

veerle07 - November 23, 2009 - 21:01

Do you already have a solution?

Kind regards,
Veerle

I don't know where I found

THDplusN - November 25, 2009 - 15:18

I don't know where I found it, but I've been using this in my template.php:

function THEME_NAME_lt_loggedinblock(){
  global $user;
  return l(check_plain($user->name), 'user/' . $user->uid) .' | ' . l(t('Log out'), 'logout');

 
 

Drupal is a registered trademark of Dries Buytaert.