Page 1 of 1

javascript errors

Posted: Wed Dec 16, 2009 2:32 pm
by nathann
I have download an full template from the site and now when i am trying to put a widget and it has

Code: Select all

<__script__>
tags and it would not work. On the site it would give error with those code in it. Please help

Re: javascript errors

Posted: Thu Dec 17, 2009 1:49 am
by hexdj
tags need to be wrapped in the smarty {literal} tags

so in your template it would look something like this:

Code: Select all

.
.
.
{literal}
<__script__ src="..." type="text/javascript"></__script>
{/literal}
.
.
.