Page 1 of 1

absurd! smarty changes my javascript tag

Posted: Fri Mar 09, 2007 12:00 pm
by akronim
hi i've a very strange problem with smarty
when processing the template it changes my javascript tag




to



even if i put it in {literal} {/literal} tags

i've another js embedded and it is not changed ???

absurd

Re: absurd! smarty changes my javascript tag

Posted: Fri Mar 09, 2007 12:09 pm
by cyberman
Please try this script for inserting js

http://forum.cmsmadesimple.org/index.ph ... l#msg51635

Re: absurd! smarty changes my javascript tag

Posted: Fri Mar 09, 2007 12:09 pm
by akronim
after several tries i've found that it happens when you have the string

loadimg

in your tag

??? ??? dont'know why ??? ???

Re: absurd! smarty changes my javascript tag

Posted: Fri Mar 09, 2007 12:13 pm
by akronim
cyberman wrote: Please try this script for inserting js

http://forum.cmsmadesimple.org/index.ph ... l#msg51635
thats a good plugin tnx cyberman !

Re: absurd! smarty changes my javascript tag

Posted: Fri Mar 09, 2007 12:15 pm
by cyberman
Yeah, {literal} is never needed in future ;D ...

Re: absurd! smarty changes my javascript tag

Posted: Fri Mar 09, 2007 12:27 pm
by Greg
It may not be smarty. I found certain phrases caused problems depending on how the apache security module is configured.