Home Page Title
Well I wanted to control my home page title without it affecting anything else.
Here's what I did. Just thought some of you might be interested.
We are using 4.2 and the home page only shows our Company Name in the title of the homepage.
I wanted to be able to add to this so I basically used the same if statement that is used for welcome.tpl
I changed this:
{elseif $main eq "catalog" && $current_category.category eq ""}
{include file="customer/main/welcome.tpl"}
to this:
{if $main eq "catalog" && $current_category.category eq ""}
:: information for title
{/if}
and put it here:
<title>{$html_page_title|escape}{if $main eq "catalog" && $current_category.category eq ""} :: information for title{/if}
</title>
This allows me to put whatever I want in the home page title after the company name.
__________________
Joe Holley
4.2
|