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)
-   -   Only company name show on Internet Explorer (https://forum.x-cart.com/showthread.php?t=18535)

hyratech 12-08-2005 04:16 PM

Only company name show on Internet Explorer
 
Right now when the my site opens. The only thing that show on the I.E. window is my company name..

How do I change that to show "Company name - blah, blah, and blah" ?

balinor 12-08-2005 06:04 PM

I use this bit of code for the title tag in customer/home.tpl:

Code:

<TITLE>
{if $main eq "catalog" and $current_category.category eq ""}Insert title here{else}
{if $config.SEO.page_title_format eq "A"}
{section name=position loop=$location}
{$location[position].0|escape}
{if not %position.last%} - {/if}
{/section}
{else}
{section name=position loop=$location step=-1}
{$location[position].0|escape}
{if not %position.last%} - {/if}
{/section}
{/if}
{/if}
</TITLE>


Replace "insert title here" with whatever you want to appear on the home page. I don't recommend using the extra long title for any other pages, as it just gets too long with the category and product name in there.

hyratech 12-09-2005 06:27 AM

When you say "any other pages"
What do you mean? will this code only effect the home page ... or whe entire site?

balinor 12-09-2005 06:31 AM

The custom title will only appear on the home page. All of the other pages will default to the Company - Category - Product default format.


All times are GMT -8. The time now is 10:32 PM.

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