View Single Post
  #1  
Old 12-06-2005, 04:02 PM
 
minhta minhta is offline
 

Advanced Member
  
Join Date: Aug 2005
Location: Sydney, Australia
Posts: 35
 

Default Changing page tile on home page

Hello.

I would like to change the page title on the home page to say "Discount Perfume : Womens & Men's Fragrances" but to leave it dynamic for the other pages such as the product pages. Can someone help me with the code please?

I know I have to edit customer/home.tpl and have tried the following code:

<TITLE>
{if $config.SEO.page_title_format eq "A"}
{section name=position loop=$location}
{$location[position].0|escape}
{if not %position.last%} - {/if}
{/section}

START OF MY CODE
{if $main eq "index"} Discount Perfume : Womens & Men's Fragrances
{/if}
{else}
END OF MY CODE

{section name=position loop=$location step=-1}
{$location[position].0|escape}

The problem is I don't know what $main should be. I've tried "home" and "index" and they both don't seemed to work.

What am I doing wrong please?
Thanks.
__________________
PHP v4.3.11
MySQL v4.0.22
Apache v1.3.33(Unix)
Reply With Quote