X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   home.tpl and the html title (https://forum.x-cart.com/showthread.php?t=6658)

personalplaythings.com 03-10-2004 03:22 PM

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

ATKOgirl 03-10-2004 06:38 PM

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

groovico 03-10-2004 06:41 PM

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

personalplaythings.com 03-10-2004 08:11 PM

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?

personalplaythings.com 03-11-2004 10:51 AM

*Bump*

personalplaythings.com 03-14-2004 10:47 PM

Any ideas?

domspe 03-15-2004 07:24 AM

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 -


All times are GMT -8. The time now is 12:36 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.