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

Only company name show on Internet Explorer

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-08-2005, 04:16 PM
 
hyratech hyratech is offline
 

Senior Member
  
Join Date: Jul 2005
Posts: 172
 

Default 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" ?
__________________
hyratech
X-CART Gold 4.1.10
Hosted - Unix
Reply With Quote
  #2  
Old 12-08-2005, 06:04 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 12-09-2005, 06:27 AM
 
hyratech hyratech is offline
 

Senior Member
  
Join Date: Jul 2005
Posts: 172
 

Default

When you say "any other pages"
What do you mean? will this code only effect the home page ... or whe entire site?
__________________
hyratech
X-CART Gold 4.1.10
Hosted - Unix
Reply With Quote
  #4  
Old 12-09-2005, 06:31 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

The custom title will only appear on the home page. All of the other pages will default to the Company - Category - Product default format.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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 03:44 AM.

   

 
X-Cart forums © 2001-2020