javascript errors

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
nathann

javascript errors

Post 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
hexdj
Power Poster
Power Poster
Posts: 415
Joined: Sat Mar 24, 2007 8:28 am

Re: javascript errors

Post 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}
.
.
.
Locked

Return to “Layout and Design (CSS & HTML)”