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

Can I add just the Header to static html pages?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-19-2010, 01:18 PM
 
rageon75 rageon75 is offline
 

Senior Member
  
Join Date: Feb 2009
Posts: 108
 

Default Can I add just the Header to static html pages?

Hello everybody. I was wondering if I could add just the header part of the X-Cart shopping cart to other static html pages of my website.

Here is the link where the Header is: http://myfurrybones.com/shop/

Here is the link where I want to install the Header: http://myfurrybones.com/intext.html

Would the php still work? What files do I need to modify?

Any information would be great.

Thank you
__________________
X-Cart Gold 4.2 - 4.3 - 4.4.5 - 4.6 - 4.7
Reply With Quote
  #2  
Old 05-19-2010, 01:24 PM
 
balinor balinor is offline
 

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

Default Re: Can I add just the Header to static html pages?

You can't just include the template file, no, as you need Smarty present. How about adding the content of that page to an embedded static page instead? Otherwise you'd have to hard-code the header.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 05-19-2010, 01:29 PM
 
rageon75 rageon75 is offline
 

Senior Member
  
Join Date: Feb 2009
Posts: 108
 

Default Re: Can I add just the Header to static html pages?

Okay, thank you for your response and time.
__________________
X-Cart Gold 4.2 - 4.3 - 4.4.5 - 4.6 - 4.7
Reply With Quote
  #4  
Old 05-21-2010, 08:47 PM
 
docmartin docmartin is offline
 

Member
  
Join Date: May 2010
Posts: 11
 

Default Re: Can I add just the Header to static html pages?

Not into a .html page. There is a way to create a separate .php page that works within the x-cart framework and with smarty but isn't restricted as one of the x-cart static pages. Just takes a little elbow grease and a mod to the home_main.tpl.

But without .php and smarty it's not happening.

If still interested I can provide more details.
__________________
Tom Martin
Retail Dimensions
503.644.5301
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 12:25 PM.

   

 
X-Cart forums © 2001-2020