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

Site name on product pages and HTML catalog

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 01-27-2004, 01:18 PM
 
krishmandal krishmandal is offline
 

Advanced Member
  
Join Date: Oct 2003
Posts: 62
 

Default Site name on product pages and HTML catalog

Does anyone know (can anyone show me) how to include the Meta Title or Company Name field values found in the Company Options into the PHP product pages as well as the HTML catalog that gets generated?

For instance, right now the PHP product page and HTML catalog generates this into the Title:
"Pennsylvania RR Locomotive 7688 - fineartphotogifts.com"

I would like it to generate as:
"Fine Art Photo Gifts -- Pennsylvania RR Locomotive 7688 - fineartphotogifts.com"

Capice?

Help?
Reply With Quote
  #2  
Old 01-27-2004, 06:26 PM
  leon's Avatar 
leon leon is offline
 

X-Wizard
  
Join Date: Mar 2003
Location: Costa Rica
Posts: 1,213
 

Default

It has always been there, at least in version 3.5.3, maybe you took it out. Anyway you can modify the TITLE on the pages the way you want in the /skin1/customer/home.tpl file, there is where all page titles are controlled depending on customer location.

Just add <title>{$lng.txt_site_title} (without duplicating the title tag) right before the IF statements.
__________________
It doesn\'t matter what is done... it is how it is done.
=============================
XCart Version: 3.5.3 -> Dmcigars.com
XCart Version: 4.1.3....
Reply With Quote
  #3  
Old 01-28-2004, 08:39 AM
 
krishmandal krishmandal is offline
 

Advanced Member
  
Join Date: Oct 2003
Posts: 62
 

Default

Leon, thanks, I'll give it a try.

For me, the name of the site (not talking about URL) shows just fine when you are in the x-cart home directory, or viewing a category, but not when viewing a specific product.

I'll try and post back here.
Reply With Quote
  #4  
Old 01-28-2004, 09:26 AM
 
krishmandal krishmandal is offline
 

Advanced Member
  
Join Date: Oct 2003
Posts: 62
 

Default

Leon,

You steered me in the right direction. It happens that I used Funky's META TITLE mod and I needed to Mod the Mod.

Reply With Quote
  #5  
Old 01-28-2004, 07:42 PM
  leon's Avatar 
leon leon is offline
 

X-Wizard
  
Join Date: Mar 2003
Location: Costa Rica
Posts: 1,213
 

Default

Glad I could help, as with any script or mod all you have to do is add on to it in your own way.
__________________
It doesn\'t matter what is done... it is how it is done.
=============================
XCart Version: 3.5.3 -> Dmcigars.com
XCart Version: 4.1.3....
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 01:55 PM.

   

 
X-Cart forums © 2001-2020