![]() |
#1
|
||||
|
||||
![]()
It was bothering me for the longest time how the tab name in your browser was always the name of your site, no matter what page you're on. Imagine members opening multiple tabs for different pages on your site and they can't tell which is which! I went ahead and fixed that.
-Step 1- Go to public_html/templates/(Whatever theme you're using)/header.tpl. See the lines that look like this?: Code:
<title>{$browser_title}</title> Code:
<! --<title>{$browser_title}</title> --> Now you can rename the tabs! For example, let's rename the tab of the inventory page. Go to inventoryview.php, find these lines: PHP Code:
PHP Code:
You're done! The downside is that you'll have to do this for all of your pages, or else the tab name will just be the full URL. This works for pages made in the adminCP too! Just go to edit your custom page and add this before the rest of your content: Code:
<title>Tab Title</title> I found that if you attempt to use the html title tags without editing the header.tpl, then they won't work because they're being overridden. It is also important to note that this doesn't conflict with: Quote:
__________________
Last edited by Dinocanid; 01-20-2017 at 10:01 PM. |
![]() |
Thread Tools | |
Display Modes | |
|
|
What's New? |
What's Hot? |
What's Popular? |