semaj Posted August 24, 2008 Share Posted August 24, 2008 am reciveing this problem "Fatal error: Smarty error: [in new/header.tpl line 16]: syntax error: unbalanced parenthesis in if statement (Smarty_Compiler.class.php, line 1268) in /home/yourhost/public_html/client/libs/Smarty.class.php on line 1095" my site: http://www.complete-hosting.co.uk i also linked a copy of my header.tpl so if anyony can see my issue http://www.complete-hosting.co.uk/header.tpl 0 Quote Link to comment Share on other sites More sharing options...
MikeDVB Posted August 24, 2008 Share Posted August 24, 2008 You need to take all of your javascript and put it in a scripts.js and include it like you do CSS. Smarty doesn't handle JavaScript well. There may be a way to include it in the template in Smarty with a Smarty tag, but separating the JavaScript is a good idea either way. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted August 24, 2008 Share Posted August 24, 2008 or enclose the javaScript in {literal} ..... {/literal} tags 0 Quote Link to comment Share on other sites More sharing options...
MikeDVB Posted August 25, 2008 Share Posted August 25, 2008 Yeah, I was thinking {l} and {/l} but those didn't work, so I guess you have to spell out literal 0 Quote Link to comment Share on other sites More sharing options...
TheHostingHeroes Posted September 18, 2008 Share Posted September 18, 2008 thanks for the {/literal} info i had issues getting live person tracking working, this fixed it for me 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.