[SOLVED]Error with Google Analytics

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Jude
Forum Members
Forum Members
Posts: 31
Joined: Fri Aug 08, 2008 2:01 pm

[SOLVED]Error with Google Analytics

Post by Jude »

Hi everybody,

I have a problem that bothers me: when I add the Google Analytics code in template code (just before ) I will get next error in to my page:

string(115) "Smarty error: [in tpl_body:22 line 174]: syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line 590)" string(111) "Smarty error: [in tpl_body:22 line 175]: syntax error: unrecognized tag: (Smarty_Compiler.class.php, line 446)" string(112) "Smarty error: [in tpl_body:22 line 175]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)"

Can someone tell me what it is all about and how I can work it around. I have installed the CMSMS 1.7

Thanks in advance
Last edited by Jude on Fri Apr 16, 2010 7:33 am, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Error with Google Analytics

Post by Dr.CSS »

Anything with {    }  in it needs to be wrapped in {literal}  code here {/literal}...

Posted about a hundred times already in forum, is in the top of most all default content templates...
Post Reply

Return to “CMSMS Core”