Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Custom TPL and assigning a smarty variable

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 01-29-2014, 05:09 PM
 
NickGiacopuzzi NickGiacopuzzi is offline
 

Newbie
  
Join Date: Jan 2014
Posts: 2
 

Default 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
Reply With Quote
  #2  
Old 01-29-2014, 09:50 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default 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
Reply With Quote
  #3  
Old 01-30-2014, 02:56 PM
 
NickGiacopuzzi NickGiacopuzzi is offline
 

Newbie
  
Join Date: Jan 2014
Posts: 2
 

Default 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
Reply With Quote

The following user thanks NickGiacopuzzi for this useful post:
qualiteam (01-31-2014)
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:01 PM.

   

 
X-Cart forums © 2001-2020