View Single Post
  #1  
Old 04-26-2006, 10:42 AM
 
bridal-land bridal-land is offline
 

Advanced Member
  
Join Date: Feb 2006
Posts: 38
 

Default Editing Title in home.tpl

I put the below code in and it seems to work great however my static, gift cert, cart, terms, privacy statement, recover password, search & check out pages have no title now. Well it shows the url in the title but thats no good.

I tried to add
{elseif $main eq "help"}
{$lng.txt_subtitle_help}
{elseif $main eq "cart"}
{$lng.txt_subtitle_cart}
{elseif $main eq "checkout"}
{$lng.txt_subtitle_checkout}
{elseif $main eq "order_message"}
{$lng.txt_subtitle_thankyou}
{elseif $main eq "wishlist"}
{$lng.txt_subtitle_wishlist}
{elseif $main eq "giftcert"}
{$lng.txt_subtitle_giftcerts}

With no luck. Not sure if its even the right way to do it. Or maybe im just putting it in the wrong part of the code. Version 3.5

Thanks for any help you can offer.

Quote:
Originally Posted by Jon
Try this:

Code:
<TITLE> {if $main eq "catalog" and $current_category.category eq ""} Home Theatre, Projectors, Plasma TVs at Australia's Audio Visual Online Shop {elseif $config.SEO.page_title_format eq "A"} {section name=position loop=$location step=-1} {math equation="x-1" x=$smarty.section.position.total assign="secondlast"} {if $smarty.section.position.iteration ne $smarty.section.position.total}{$location[position].0|escape}{/if} {if $smarty.section.position.iteration ne $secondlast}{if not %position.last%} - {/if}{/if} {/section} {else} {section name=position loop=$location step=-1}{$location[position].0|escape}{if not %position.last%} :: {/if}{/section}{/if}</TITLE>
__________________
Mike
X-Cart 4.0.18
http://www.bridal-land.com
Reply With Quote