Hello! When I try to add the code in templates/default/index.tpl, eg., Google Analitics, then the site loads a blank page. Please tell me the solution!
Openupload uses Smarty as it's template engine.
Google analytics uses javascript, which is misinterpreted by smarty.
So you need to put that code inside the special smarty tag {literal} {/literal}
Openupload uses Smarty as it's template engine.
Google analytics uses javascript, which is misinterpreted by smarty.
So you need to put that code inside the special smarty tag {literal} {/literal}
So enclose all google code inside that tags like:
{literal}
put here your google code
{/literal}
for more information see:
http://www.smarty.net/docsv2/en/language.function.literal
Last edit: Alessandro Briosi 2013-08-25
thank you!!!