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

js in tpl

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #11  
Old 07-08-2015, 11:47 AM
 
cvaughan02 cvaughan02 is offline
 

Member
  
Join Date: Mar 2014
Location: st. louis, mo
Posts: 22
 

Thumbs up Re: js in tpl

thanks for the clarification, bill
__________________
SEEK HAPPINESS. EVERYTHING ELSE IS DETAILS.
Reply With Quote
  #12  
Old 07-08-2015, 11:48 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: js in tpl

Quote:
Originally Posted by wjbrewer
Its the whitespace, for example:

{data} is parsed

{ data } isn't

Code:
window._fbq.push(['track','00000000000000',{ 'value':'0.00','currency':'USD' }]);
should also work.

that makes more sense
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
totaltec (07-09-2015)
  #13  
Old 07-17-2015, 04:45 PM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default Re: js in tpl

Quote:
Originally Posted by wjbrewer
It's the whitespace, for example:

{data} is parsed

{ data } isn't.
I believe Smarty 3 (4.7) works the same way. {literal} not needed when white space is present.
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may 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 10:56 PM.

   

 
X-Cart forums © 2001-2020