| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Including a custom PHP? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Im trying to include a custom PHP file from the main.tpl, is that possible?
that file is a global php script that i use in my site where i define a bounch of variables and things that i would need to use to customize the xcart is that such thing possible? i have tryied using the smarty include but it gimme a lot of code errors when it parse the PHP, or something like that... BTW, im using Version 4.0.12 under Linux & PHP4/Apache2
__________________
X-Cart Gold version 4.1.4 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() If the include with {PHP} {/PHP} doesnt work then you can always try using an iframe. Your only other alternative is to recode it or keep it external.
__________________
Groovico Used by X-carters the world over: Marketing Manager Pro Bundle For X-cart Featured Product Manager for X-cart Feed manager pro for X-cart http://www.firetanksoftware.com Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() This isn't exactly the best thing to do, but it is possible:
Code:
|
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|