Where to add <script> command

liamb2001

Joined: 2006-11-20
Posts: 42
Posted: Thu, 2010-01-21 17:43

can anyone tell me wherabouts i add the <script> command as i need to add some script to it but everytime i add it to the theme.tpl file it makes my page go blank :(

any help would be appreciated

thx

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2010-01-21 20:01

Put it inside {literal} tags:

{literal}
SCRIPT HERE
{/literal}

http://www.smarty.net/manual/en/language.function.literal.php
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here