![]() |
php include statement in languages text file, how?
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 |
ooops got the cart before the horse
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
|
All times are GMT -8. The time now is 07:59 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.