Jump to content

Can't add JAVASCRIPT in chat.tpl

1 reply to this topic

#1 centriohost


  • Members
  • Pip
  • 3 posts

Posted 06 November 2017 - 07:53 AM

Dear Developer Team,

We would like to use some custom Javascript (Typed.js) in chatv24/chat.tpl We have called the main .js file and css at templates/chat_v2.tpl

However it seems no javascript is working in chat.tpl - In previous versions customized javascript in TPL file was working. But in latest Livezilla 7 the javascript does not return any output.

Kindly review and let us know how we can use custom javascript in the .tpl file.

#2 lzst3rer

    Advanced Member

  • Members
  • PipPipPip
  • 99 posts

Posted 10 November 2017 - 09:10 PM

Try to wrap your JS code in {literal}{/literal} tags. That helps with some .tpl processors.

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users