![]() |
Paypal Bill Me Later banner generates smarty error?
Copied and pasted Paypals Bill Me Later banner code to my home.tpl file, confirmed the code, however it generates a smarty error at the top of the home page:
"Error: Smarty error: [in customer/home.tpl line 105]: syntax error: unrecognized tag: "use strict"; var s = d.getElementsByTagName(t)[0], n = d.createElement(t); n.src = "//paypal.adtag.where.com/merchant.js"; s.parentNode.insertBefore(n, s); (Smarty_Compiler.class.php, line 436) in /home/icaion5/public_html/Smarty-2.6.12/Smarty.class.php on line 1095" The banner never displays and PayPal's support has been lacking. Any help would be appreciated. Thanks |
Re: Paypal Bill Me Later banner generates smarty error?
Chris at Hands-On provided the answer-just had to enclose paypal's code in {literal} {/literal} tags.
|
All times are GMT -8. The time now is 10:53 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.