Welcome Message in Admin? [solved]

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
JeremyBASS

Welcome Message in Admin? [solved]

Post 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
Last edited by JeremyBASS on Tue Jun 10, 2008 4:36 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Welcome Message in Admin?

Post by calguy1000 »

actually, surprisingly enough, there's no functionality for that.

It'd be a modification to the admin theme.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
JeremyBASS

Re: Welcome Message in Admin?

Post 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... :(
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Welcome Message in Admin?

Post 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
JeremyBASS

Re: Welcome Message in Admin?

Post by JeremyBASS »

thanks

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

is the trick


:)
nuno

Re: Welcome Message in Admin? [solved]

Post by nuno »

is implement now in NCleanGrey last svn!

Best regards
Locked

Return to “CMSMS Core”