| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Changing page tile on home page | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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) |
|||||||
#2
|
|||||||
|
|||||||
![]() try this:
Code:
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Thank Balinor
That's exactly what I need ![]()
__________________
PHP v4.3.11 MySQL v4.0.22 Apache v1.3.33(Unix) |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|