absurd! smarty changes my javascript tag

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
akronim

absurd! smarty changes my javascript tag

Post 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
cyberman

Re: absurd! smarty changes my javascript tag

Post by cyberman »

Please try this script for inserting js

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

Re: absurd! smarty changes my javascript tag

Post by akronim »

after several tries i've found that it happens when you have the string

loadimg

in your tag

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

Re: absurd! smarty changes my javascript tag

Post 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 !
cyberman

Re: absurd! smarty changes my javascript tag

Post by cyberman »

Yeah, {literal} is never needed in future ;D ...
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm

Re: absurd! smarty changes my javascript tag

Post by Greg »

It may not be smarty. I found certain phrases caused problems depending on how the apache security module is configured.
Greg
Locked

Return to “CMSMS Core”