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

Include Text from Static Page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-23-2008, 02:31 AM
 
liamb2001 liamb2001 is offline
 

eXpert
  
Join Date: May 2006
Posts: 216
 

Default Include Text from Static Page

Hiya, ive created a new front page and tpl file called frontpage.tpl which works great. But i cannot seem to pull in the text from my static page root level.

I would usually use the command
<?php include 'page_001.html';?>
and that is fine if i create my own page (page.php) that pulls the text in perfeclty

but inside a tpl file it isnt working

i have also tried
{include file="page_001.html" }

but with no luck, could somebody tell me what im doing wrong ?

__________________
X-Cart Version 4.55
Reply With Quote
  #2  
Old 01-23-2008, 04:20 AM
 
balinor balinor is offline
 

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

Default Re: Include Text from Static Page

I don't think you will be able to pull a root html page like that, as the 'include' pulls items from the skin1 directory. Best to create a language variable to pull text from.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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 03:48 PM.

   

 
X-Cart forums © 2001-2020