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)
-   -   Static Pages (https://forum.x-cart.com/showthread.php?t=16789)

rossco 09-22-2005 02:34 AM

Static Pages
 
I want to alter the meta tags for my static pages, but only my static pages and not the rest of the site. Which template is used to generate the static pages?

Thanks

Allan

Stephen Hatton 09-22-2005 03:18 AM

Hi Rossco

The catalog generator is:
yourshop/admin/html_catalog.php

The Script calling up which pages to generate is:
yourshop/pages.php

The templates are in:
yourshop/skin1/

It may be a bit difficult to modify these. I would leave it to a php expert.

Regards
Ing. Stephen Hatton
:idea:

rossco 09-22-2005 09:38 AM

Stephen, Hi

It' the actual static pages not the HTML catalogue I want.

Thanks anyway for the answer.

Allan

shan 09-22-2005 09:42 AM

sure this could be modded to allow you to enter some keywords when you create the static page

Stephen Hatton 09-22-2005 07:28 PM

Hi Rossco

The pages.php allows the cart generates your static pages for the dynamic cart and the HTML catalog.

The file that handles/displays the meta tags is home.tpl using meta.tpl (there are a few in the cart - you will have to experiment how they interact).

The home.tpl is included with all the pages that are generated.

I would suggest that you make pages.php somehow point to a different meta.tpl, or maybe set a php or smarty flag so that in the meta.tpl a smarty script could replace the standard meta tag with your alternative.

I hope this helps.

Regards
Ing. Stephen Hatton
:idea:


All times are GMT -8. The time now is 01:24 PM.

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