[Solved] syntax error: var function does not exist


#1

Hello,

I want to add my site Moto Annuaire, le Grand Annuaire des Sites Moto, Annuaire du Motard in my statistics, when I add the code above </ body> there is an error:

(256) TPL: [in includes/footer.tpl line 29]: syntax error: var function does not exist (class.compiler.php, line 501) class.template.php line 703 17-11-11 10:54

if I remove Piwik code, it works well

Thank you for your help, Christian

PS : Piwik work fine whith other sites


(vipsoft) #2

You have to use {literal}…{/literal} tags if you embed the tracking code in a Smarty template.


#3

[quote=vipsoft]
You have to use {literal}…{/literal} tags if you embed the tracking code in a Smarty template.[/quote]

Thank you very much ! it works