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

Static Pages

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-22-2005, 02:34 AM
 
rossco rossco is offline
 

Advanced Member
  
Join Date: Feb 2005
Posts: 97
 

Default 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
__________________
How loud do you want it?

X-Cart Gold 4.0.12 & 17
Reply With Quote
  #2  
Old 09-22-2005, 03:18 AM
  Stephen Hatton's Avatar 
Stephen Hatton Stephen Hatton is offline
 

Senior Member
  
Join Date: Mar 2004
Location: Melbourne, Australia
Posts: 182
 

Default

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
__________________
Apache Linux V1.3.33
PERL version: 5.8.0
PHP version: 4.3.11
MySQL version: 4.0.22-standard
X-cart V4.0.17: Addons: X-PConfig, X-Giftreg, X-Fancycat, X-AOM
Reply With Quote
  #3  
Old 09-22-2005, 09:38 AM
 
rossco rossco is offline
 

Advanced Member
  
Join Date: Feb 2005
Posts: 97
 

Default

Stephen, Hi

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

Thanks anyway for the answer.

Allan
__________________
How loud do you want it?

X-Cart Gold 4.0.12 & 17
Reply With Quote
  #4  
Old 09-22-2005, 09:42 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

sure this could be modded to allow you to enter some keywords when you create the static page
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #5  
Old 09-22-2005, 07:28 PM
  Stephen Hatton's Avatar 
Stephen Hatton Stephen Hatton is offline
 

Senior Member
  
Join Date: Mar 2004
Location: Melbourne, Australia
Posts: 182
 

Default

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
__________________
Apache Linux V1.3.33
PERL version: 5.8.0
PHP version: 4.3.11
MySQL version: 4.0.22-standard
X-cart V4.0.17: Addons: X-PConfig, X-Giftreg, X-Fancycat, X-AOM
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:59 AM.

   

 
X-Cart forums © 2001-2020