Thread: Title script!!!
View Single Post
  #3  
Old 09-16-2004, 06:52 AM
  rjcbear's Avatar 
rjcbear rjcbear is offline
 

X-Adept
  
Join Date: Jun 2004
Location: Alabama,U.S.A
Posts: 503
 

Default

Quote:
It's in customer/home.tpl.

Code:
<title>{$lng.txt_site_title} {if $main eq "catalog"} {if $location eq ""} {$lng.txt_subtitle_home} {else} {strip} {section name=position loop=$location start=0 } {if %position.last% eq "true"} - {$location[position].0|escape}{/if} {/section} {/strip} {/if} {elseif $main eq "product"} {if $product.product ne ''} - {$product.product}{/if}


This is a slightly customised title script but the bit you need is {$product.product}. Hope this is what you are looking for.

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
__________________
X-CART Gold version 4.0.14 & 4.1.11
Apache Version 1.3.29 (Unix)
EWDHosting-Quality X-cart Hosting
We will always sell you the right shoe and the left one is free.
Reply With Quote