PHP Script in Static Pages
Hey Guys,
I'm still fairly green to x-cart and smarty. Anyway, I have some simple PHP code I need to include in a static page (a calculator actually).
I've tried simply adding it to the code to the page, but its not being picked up "as php". I've also tried changing the page name and the reference in xcart_pages in the database both to .php extensions - but the page isnt bieng picked up at all.
Any suggestions. I really need to run this code - and placing it in a static page seemed attractively simple.
Cheers
__________________
Version 4.0.14
|