X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Site name on product pages and HTML catalog (https://forum.x-cart.com/showthread.php?t=6226)

krishmandal 01-27-2004 01:18 PM

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?

leon 01-27-2004 06:26 PM

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.

krishmandal 01-28-2004 08:39 AM

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.

krishmandal 01-28-2004 09:26 AM

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.

:D

leon 01-28-2004 07:42 PM

Glad I could help, as with any script or mod all you have to do is add on to it in your own way. :wink:


All times are GMT -8. The time now is 07:58 PM.

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