ChanMing Posted September 5, 2010 Share Posted September 5, 2010 hello guys,How to change display admin username in backoffice beside logout button. ex. N.EMIL > change to > Norman EmilThanks, Link to comment Share on other sites More sharing options...
jhnstcks Posted September 5, 2010 Share Posted September 5, 2010 You need to edit admin>header.ini.php file.Line 128Change to <?php echo Tools::substr($cookie->firstname, 0, 9).' '.htmlentities($cookie->lastname, ENT_COMPAT, 'UTF-8'); ?> Change the 9 to the desired length. Link to comment Share on other sites More sharing options...
ChanMing Posted September 5, 2010 Author Share Posted September 5, 2010 You need to edit admin>header.ini.php file.Line 128Change to <?php echo Tools::substr($cookie->firstname, 0, 9).' '.htmlentities($cookie->lastname, ENT_COMPAT, 'UTF-8'); ?> Change the 9 to the desired length. Thanks , it works! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now