Jump to content

javascript = blank screen on client templates


neobug103

Recommended Posts

Whenever I try to include javascript or any source of code into the .tpl files I get the following error:

 

Fatal error: Template error: [in default/footer.tpl line 36]: syntax error: unrecognized tag: (Smarty_Compiler.class.php, line 439) in /home/user/public_html/portal/includes/smarty/Smarty.class.php on line 1095

 

I used to have a million lines of javascript in the old templates so I'm not sure why I keep getting this, anybody know if this might be an issue on the whmcs end?

Link to comment
Share on other sites

I can't put it in the header. There are several javascript that needs to go in and around the design itself. Google analytics for example, another is our javascript menu and another is a text rotator script.

 

Doing what you say above does not end in error but instead it doesn't run the file or code inside at all as if it was never there to begin with

Link to comment
Share on other sites

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