Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / change browser title bar when in admin mode?

change browser title bar when in admin mode?

Locked

Views: 3,935

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
17 Jun 2008, 7:46 PM
#1
rickwalker avatar

rickwalker

New Zenner

Join Date:
Jun 2008
Posts:
4
Plugin Contributions:
0

change browser title bar when in admin mode?

I'd like to change the title bar that shows up when I'm in admin mode. I usually keep two tabs open for each store, one in user mode and another in admin mode.

It would be nice if the two tabs were somehow different. It would also be fine to change the little icon that gets displayed next to the page name.

I looked through some of the PHP and it seems that all the pages use the TITLE variable and there isn't any distinction made between admin mode and user mode.

I guess I could change every instance of TITLE to ADMIN_TITLE in the /admin area and then create a new variable in the store configuration file...

Just asking if anyone has a better way to do this.

Thanks!

Rick

17 Jun 2008, 8:24 PM
#2
rickwalker avatar

rickwalker

New Zenner

Join Date:
Jun 2008
Posts:
4
Plugin Contributions:
0

Re: change browser title bar when in admin mode?

OK, I found out by doing a better search of the website.

In your /admin/includes/languages/english.php file you can set your page title by changing this line: Code:
//define('TITLE', 'Zen Cart');

  1. Remove the // from the beginning of the line.
  2. change 'Zen Cart' to whatever you desire.

Thanks and sorry for the unnecessary post.

Rick

18 Jun 2008, 4:44 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: change browser title bar when in admin mode?

Thanks for the update on what you found as a solution to this ... :smile: