paravion Posted August 17, 2010 Share Posted August 17, 2010 Hi all, I'm trying to paste in the Zendesk support/widget code into my WHMCS templates, however, it is making the template engine balk because the javascript code contains {} ... Ie: <script type="text/javascript"> var zenbox_params = {}; </script> Etc ... Is there a way I can escape that so the template engine doesn't pick it up, but it's still valid Javascript? Cheers 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted August 17, 2010 Share Posted August 17, 2010 put {literal} ... {/literal} tags around your code 0 Quote Link to comment Share on other sites More sharing options...
paravion Posted August 17, 2010 Author Share Posted August 17, 2010 put {literal} ... {/literal} tags around your code Ah! That's done the trick, much appreciated. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.