Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

home.tpl and the html title

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-10-2004, 03:22 PM
 
personalplaythings.com personalplaythings.com is offline
 

Member
  
Join Date: Jul 2003
Posts: 22
 

Default home.tpl and the html title

Hello,

The following code is generating titles like "My Store [- Gift Certificates]". I am unable to get rid of the "- ". Any suggestions?

Code:
{* $Id: home.tpl,v 1.54 2003/11/17 08:43:32 svowl Exp $ *} { config_load file="$skin_config" } <html> <head> <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} {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}] {/if} </title> { include file="meta.tpl" } <link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}"> </head> <body LEFTMARGIN=0 TOPMARGIN=0 RIGHTMARGIN=0 BOTTOMMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0> { include file="rectangle_top.tpl" } { include file="head.tpl" } <table border=0 width="100%" cellpadding=0 cellspacing=0 align="center"> <tr> <td width=6></td> <td width=200 valign=top> { include file="customer/categories.tpl" } {if $active_modules.Bestsellers ne "" and $config.Modules.bestsellers_menu eq "Y"} { include file="modules/Bestsellers/menu_bestsellers.tpl" } {/if} {include file="customer/special.tpl"} { include file="help.tpl" } </td> <td width=20></td> <td valign=top> {include file="customer/home_main.tpl"} </td> <td width=20></td> <td width=165 valign=top> { include file="customer/menu_cart.tpl" } {if $login eq "" } { include file="auth.tpl" } {else} { include file="authbox.tpl" } {/if} { include file="news.tpl" } {if $active_modules.Interneka ne ""} { include file="modules/Interneka/menu_interneka.tpl" } {/if} { include file="poweredby.tpl" } </td> <td width=6></td> </tr> </table> { include file="rectangle_bottom.tpl" } </body> </html>

Thank you,

Tracy McClarnon
Reply With Quote
  #2  
Old 03-10-2004, 06:38 PM
 
ATKOgirl ATKOgirl is offline
 

X-Adept
  
Join Date: Sep 2002
Posts: 448
 

Default

If you only want your store name in the title, you should remove this:

Code:
{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} {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}] {/if}

ATKOgirl
Reply With Quote
  #3  
Old 03-10-2004, 06:41 PM
  groovico's Avatar 
groovico groovico is offline
 

X-Man
  
Join Date: Apr 2003
Location: Firetanksoftware.com
Posts: 2,326
 

Default

The "- gift certificates" is actually a lable in langauges.
__________________
Groovico

Used by X-carters the world over:
Marketing Manager Pro Bundle For X-cart
Featured Product Manager for X-cart
Feed manager pro for X-cart

http://www.firetanksoftware.com

Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X
Reply With Quote
  #4  
Old 03-10-2004, 08:11 PM
 
personalplaythings.com personalplaythings.com is offline
 

Member
  
Join Date: Jul 2003
Posts: 22
 

Default

Yes, "Gift Certificates" is a label in the language settings, but the "- " is not. I don't know where it is coming from.

Any ideas?
Reply With Quote
  #5  
Old 03-11-2004, 10:51 AM
 
personalplaythings.com personalplaythings.com is offline
 

Member
  
Join Date: Jul 2003
Posts: 22
 

Default

*Bump*
Reply With Quote
  #6  
Old 03-14-2004, 10:47 PM
 
personalplaythings.com personalplaythings.com is offline
 

Member
  
Join Date: Jul 2003
Posts: 22
 

Default

Any ideas?
Reply With Quote
  #7  
Old 03-15-2004, 07:24 AM
  domspe's Avatar 
domspe domspe is offline
 

Advanced Member
  
Join Date: Mar 2004
Location: Sarasota, FL
Posts: 79
 

Default

i had looked around for that "-" too

decided that it didn't look bad & didn't want it to eat up too much of my time.... however, i would love it if the - was gone...

it would be nice if someone had a clue where to find the elusive -
__________________
~jaime*
shop.mpartworks.com
~~~~~~~~~~~~~~
xcart pro 3.5.5
heavily modified
freeBSD 4.8
php 4.3.3
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:13 AM.

   

 
X-Cart forums © 2001-2020