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

Include static HTML using Server Side Includes?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-10-2003, 11:21 AM
  kpriest's Avatar 
kpriest kpriest is offline
 

eXpert
  
Join Date: Apr 2003
Location: Seattle, WA
Posts: 263
 

Default Include static HTML using Server Side Includes?

I am trying to pul in some static html page from the root of the site into a template. What do I put in the template or how would I accomplish this? I tried using

The reason I can't just put the HTML in the template file itself is that the HTML pages are being maintained by someone outside the use of the X-Cart system - she needs to just be able to edit and post these files.

Any help?
Reply With Quote
  #2  
Old 04-10-2003, 04:48 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Smarty has includes built-in.

{include file="blah.html"}

hth.

http://smarty.php.net
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #3  
Old 04-10-2003, 05:59 PM
  kpriest's Avatar 
kpriest kpriest is offline
 

eXpert
  
Join Date: Apr 2003
Location: Seattle, WA
Posts: 263
 

Default

Thanks for the help! I guess I'm going to have to dig deeper than I was hoping I would have to in order to customize x-cart. What I was hoping to find is a "Step by step guide to x-cart customization" - does anything like this exist?
Reply With Quote
  #4  
Old 04-10-2003, 06:01 PM
  kpriest's Avatar 
kpriest kpriest is offline
 

eXpert
  
Join Date: Apr 2003
Location: Seattle, WA
Posts: 263
 

Default

...also - how do I graduate from the baby carriage to at least the bicycle??
Reply With Quote
  #5  
Old 04-10-2003, 07:04 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

No real Walk-thru exists as theres alot that gets created/edited/removed as the cart progresses in versions. Best thing to do is just start tearing an install up. Diving in so to speak.

50+ posts I think is when you won't have a baby carriage anymore
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #6  
Old 04-10-2003, 10:46 PM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

You get rid of the pram after 10 posts and borrow the bike for the next 20 (I think!)
__________________
ex x-cart guru
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


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 09:07 PM.

   

 
X-Cart forums © 2001-2020