Dirty Butter Posted January 10, 2015 Share Posted January 10, 2015 How can I change the browser tab name of Admin Control Panel? With 2 stores AND a test v6 site, it would be nice to have appropriate names for browser tabs. Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 10, 2015 Share Posted January 10, 2015 If each store is connecting to it's own database, then in admin, Languages, edit the language in use, select Dashboard from the drop-down, and change 'title_admin_cp' to something short, such as ACP:. Then, in the admin template file main.php, change: Was: <title>{$LANG.dashboard.title_admin_cp}</title> Now: <title>{$LANG.dashboard.title_admin_cp} {$CONFIG.store_title}</title> Or, if your browser can show the favicon for the site on the tab, that will give an indication of which store is on which tab. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted January 10, 2015 Author Share Posted January 10, 2015 Well, I almost did it by myself. I saw the Admin section of Languages and looked there. Had the right idea, anyway. But it didn't work as expected. The tab did not change (cleared cache and rebooted browser). However, I was able to put v5 Plush in the Languages Dashboard file. Since nothing in Admin is seen by bots, this should be OK, shouldn't it? (I use the same barn favicon for both stores, but that would be enough for most I imagine.) Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 10, 2015 Share Posted January 10, 2015 "The tab did not change." That's odd. I use Firefox and the tab uses the <title> tag. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted January 10, 2015 Author Share Posted January 10, 2015 I tried it in Chrome, too, with same results. I'll try again. No, still doesn't work. Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 10, 2015 Share Posted January 10, 2015 Have you verified that the <title> tag has changed (having the browser show you the HTML source)? Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted January 10, 2015 Author Share Posted January 10, 2015 I found part of the issue - my stupidity - somehow left the </title> off the changed code. BUT, even though v6 Plush IS being saved in the database, it is not showing up in Admin browser tab now. I had tried manually deleting the cache, and I lost the v6 Plush and can't get it back. Fixed - had trouble clearing browser cache! Sorry - brain fog day.g AGGHHH!! Rebooted FF and lost MY v6 Plush again!! Back to Admin Control Panel Store Name Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.