| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Custom TPL and assigning a smarty variable | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Custom TPL and assigning a smarty variable
I am integrating Docusign into the checkout process of xcart. I have made a docusignrest api php page and have that included in teh one page checkout moudule folder. Ive added a docusign .tpl to the myskin/customer/content.tpl and included a custom smarty varibale for the URL. however the URL is not getting passed. Any ideas? do i have to assign the smarty variable in a particular way in my rest.php file?
__________________
4.6.x no Mods |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Custom TPL and assigning a smarty variable
I'm not sure if I get your question. But if you want to display an HTTP request parameter in a Smarty template, you should "assign" it from your php script first:
http://www.smarty.net/docsv2/en/api.assign.tpl
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#3
|
|||||||
|
|||||||
Re: Custom TPL and assigning a smarty variable
I was ussing $smarty->assign('',); in the wrong location in my script. Ive sorted the issue. Thanks
__________________
4.6.x no Mods |
|||||||
|
|
|||
X-Cart forums © 2001-2020
|