Page 1 of 1

Welcome Message in Admin? [solved]

Posted: Tue Jun 10, 2008 4:03 pm
by JeremyBASS
This should be simple... just couldn't find anything on it...
How would some one put a Welcome:"userName" in the admin area?

in case it makes a diff:
cms1.3

Re: Welcome Message in Admin?

Posted: Tue Jun 10, 2008 4:08 pm
by calguy1000
actually, surprisingly enough, there's no functionality for that.

It'd be a modification to the admin theme.

Re: Welcome Message in Admin?

Posted: Tue Jun 10, 2008 4:11 pm
by JeremyBASS
Yeah i thought that... i was trying different things in the NCleanGrey theme... just no luck... tryed using the list user.php as a guide but nothing so far... :(

Re: Welcome Message in Admin?

Posted: Tue Jun 10, 2008 4:27 pm
by Nullig
You can edit the defaultTheme.php file and look for the:

function DisplayTopMenu()

and change this line, adding the text in red:

echo ''.lang('adminpaneltitle').' - '. $this->cms->siteprefs['sitename'] .' - Welcome ' . $this->cms->variables['username'] .'';

Nullig

Re: Welcome Message in Admin?

Posted: Tue Jun 10, 2008 4:35 pm
by JeremyBASS
thanks

$this->cms->variables['username']

is the trick


:)

Re: Welcome Message in Admin? [solved]

Posted: Tue Jun 10, 2008 5:21 pm
by nuno
is implement now in NCleanGrey last svn!

Best regards