Andrew-FH Posted May 1, 2012 Share Posted May 1, 2012 (edited) Hello everybody, Yes yes, i know the Zopim code is to be added to header.tpl file just above the closure of head tags, but it's not workng it's really not going anywhere, i have done everything, i have even tried to enter it on the footer.tpl but it doesn't work. and yes, i don't have the portal template, i have a different template any guesses ? any pros who could help me with this ? thanks fellas ! On further digging WHMCS system activity log shows this Smarty Error: [in xxxtemplate/footer.tpl line 159]: syntax error: unrecognized tag '' Smarty Error: [in xxxtemplate/footer.tpl line 159]: syntax error: unrecognized tag: z.set. _.push(o) Smarty Error: [in xxxtemplate/footer.tpl line 158]: syntax error: unrecognized tag 'var' Smarty Error: [in xxxtemplate/header.tpl line 19]: syntax error: unrecognized tag '' Smarty Error: [in xxxtemplate/header.tpl line 19]: syntax error: unrecognized tag: z.set. _.push(o) Smarty Error: [in xxxtemplate/header.tpl line 18]: syntax error: unrecognized tag 'var' even tried to add it on homepage.tpl Smarty Error: [in /home/cpanel_name/public_html/templates/xxxtemplate/homepage.tpl line 181]: syntax error: unrecognized tag '' Edited May 1, 2012 by Andrew-FH 0 Quote Link to comment Share on other sites More sharing options...
zomex Posted May 1, 2012 Share Posted May 1, 2012 Hello Andrew, You need to wrap any inline Javascript (Zopim's code) in {literal}{/literal} tags. What these do is stop the code conflicting with WHMCS. So for example: {literal} Zopim's code here {/literal} ^ Add the above in the footer.tpl file just above </body> Jack 0 Quote Link to comment Share on other sites More sharing options...
Andrew-FH Posted May 4, 2012 Author Share Posted May 4, 2012 Thank You So So much bro ^^ 0 Quote Link to comment Share on other sites More sharing options...
Dual Hosts Posted May 15, 2012 Share Posted May 15, 2012 Thanks for the useful info, this saved me tons of time! 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.