Okay, so I didn't like that when a user is logged in the word "Navigation" goes away to be replaced by the username, so I modified line 564 in user.module from
$block['subject'] = $user->uid ? check_plain($user->name) : t('Navigation');
to
$block['subject'] = t('Navigation');

So, this way it always says "Navigation" whether the user is logged in or not.

But what I'd REALLY like is if, for a logged in user named webpotato, it would say:

"Logged in as 'webpotato'

Navigation"

Can someone help me with how I might modify this line in user.module to accomplish this?

Comments

ruru_mail2’s picture

$block['subject'] = $user->uid ? t('Logged in as '.check_plain($user->name)) : t('Navigation');

http://www.jogjalab.com

lenkkivihko’s picture

... because you will loose the changes in next upgrade.

In this case please copy the block node to "add new block" and adjust it accordingly.
That leaves the core untouched.

Harjoituspäiväkirja - www.lenkkivihko.fi