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?
|
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 |
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
|
All times are GMT -8. The time now is 04:56 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.