| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Include Text from Static Page | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
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 |
|||||||
|
#2
|
|||||||
|
|||||||
|
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 |
|||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||