Jump to content

Zopim Live Chat for WHMCS - Problems


Recommended Posts

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 :twisted:

 

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 :roll:

 

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 by Andrew-FH
Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated