| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Linking tpl's to php files. | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Linking tpl's to php files.
I am having trouble linking my tpl's to my php files.
Say I have a customer/main/name1.tpl In the customer/home_main.tpl all I need to do is add Code:
and in the php file I want that tpl to use add Code:
Then that tpl should work off that php file right? Thats what I have and it doesnt work. If I put my tpl code in categories.tpl and my php code in categories.php all my codes work though so I am assuming its a linking issue and not a coding issue. Please let me know if I am missing something this has been troubling me for like a week now and I cant seem to find the solution anywhere. I have searched online, on this forum and the smarty manual and I cannot find it anywhere.
__________________
Gibberish [Unix] X-Cart 4.0.12 |
|||||||
#2
|
|||||||||
|
|||||||||
I was working with this issue last week, finally I came up with a Simple Random Quote mod.
Take a look, it might guide you a bit: http://forum.x-cart.com/viewtopic.php?t=8415
__________________
It doesn\'t matter what is done... it is how it is done. ============================= XCart Version: 3.5.3 -> Dmcigars.com XCart Version: 4.1.3.... |
|||||||||
|
|||
X-Cart forums © 2001-2020
|