| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Passing variables to the included .tpl | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
can someone tell me where's my error..
i'm passing a variable to the included file; I understand that if var is defined in .tpl file only, it is local - and included file should read that variable just fine... Code:
then I have Code:
|
|||||||
|
#2
|
|||||||||
|
|||||||||
|
try it with your image stored in skin1/images then reference it as
b_image=".$ImagesDir/couple_bg1.jpg."
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. |
|||||||||
|
#3
|
|||||||
|
|||||||
|
It is not the image... the a var cannot be read... even if I do it as a text b_image="test"... {b_image} is empty
|
|||||||
|
#4
|
|||||||||
|
|||||||||
|
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. |
|||||||||
![]() |
|
| Thread Tools | Search this Thread |
|
|
|
|
|||
|
X-Cart forums © 2001-2020
|
|||