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

Site title not working, how do I change it?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-17-2005, 08:25 AM
 
babers babers is offline
 

Member
  
Join Date: Apr 2005
Posts: 22
 

Default Site title not working, how do I change it?

I have edited my site title in the languages section of admin. txt_site_title is saved as "Boardzo.com. New and used surf boards for sale. We have cheap surf boards, soft surfboards, surfing dvds, surfboard fins and much more!."

This shows at the page title in admin, but when I just visit the site on the customer side it doesn't work.

Any ideas?

Thanks
__________________
www.boardzo.com
X-Cart Pro v4.0.13
Reply With Quote
  #2  
Old 06-18-2005, 09:42 AM
 
balinor balinor is offline
 

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

Default

Hey Brian, that is because only the Admin side uses the language variable for the title. The customer side uses this code in home.tpl:

Code:
<TITLE> {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} </TITLE>
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 06-18-2005, 06:45 PM
 
babers babers is offline
 

Member
  
Join Date: Apr 2005
Posts: 22
 

Default Home Title

Thanks.
So if I want to assign that title to just the homepage (for SEO reasons) is there a way to do that? Experimenting with it, I have only been able to add a title that is applied to all pages.
__________________
www.boardzo.com
X-Cart Pro v4.0.13
Reply With Quote
  #4  
Old 06-18-2005, 07:39 PM
 
balinor balinor is offline
 

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

Default

You would have to use {if} statements, as home.tpl is used by all pages.
__________________
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 05:26 PM.

   

 
X-Cart forums © 2001-2020