| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
php include statement in languages text file, how? | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
putting an include statement to a php script in any .tpl file works perfect, example:
{php} include("http://www.myxcartsite.com/path/to/phpscript.php"); {/php} but i have a script i need to work in one of the language text files and cannot get it to work the same way, i removed the smarty tags, tried the {literal}{/literal} tags, removed teh tags altogether, i just can't seem to get an include statement to work in one of the text files, what is the trick? how can i get this working, Thanks |
|||||||
|
#2
|
|||||||
|
|||||||
|
i just put the include statement in welcome.tpl instead of the actual txt_welcome file and just deleted the contents of the txt_welcome file and it works perfect, ddoooohh
|
|||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||