![]() |
Title script!!!
Hey guy,
I am looking for the post about a script that generates the product name for the TITLE of the page. I looked for this script for several hours here in the forum and I cant find it. If some one has it or they remember the post would you please point me in the rigth direction. As always thank you in advance. Kind regards, Ricky |
It's in customer/home.tpl.
Code:
<title>{$lng.txt_site_title} {if $main eq "catalog"} |
Quote:
The code above will put the Site Title first follow by the Product name as part of the page Title. This is my ignorance but I do not have a clue how to flip them so It will display the Product name first then the Site title as is done in the to links below. http://worldbodyjewelry.net/xcart/catalog/zodiac-dangle-belly-button-rings-p-933.html http://worldbodyjewelry.net/xcart/catalog/14g-5-8-double-jeweled-straight-barbell-p-317.html http://worldbodyjewelry.net/xcart/customer/home.php?cat=101 Thank you for all your help Kind regards, Ricky |
Put the {$lng.txt_site_title} at the end of that script just before the </title> tag. You will get hypens in the wrong place so you will have to move those about (or remove them completely) but you can see these quite easily in the code.
|
All times are GMT -8. The time now is 03:49 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.