Javascript code getting changed when saved

4 posts by 3 authors in: Forums > CMS Builder
Last Post: September 17, 2012   (RSS)

Re: [MercerDesign] Javascript code getting changed when saved

Try setting the field up at a text box rather than a WYSIWYG?
Cheers,

Tim (toledoh.com.au)

Re: [Toledoh] Javascript code getting changed when saved

I tried that but then it means you cannot paste the script code as script, it appears as text.

Re: [MercerDesign] Javascript code getting changed when saved

By Jason - September 17, 2012

Hi,

You can make a change to the wysiwyg editor so that it doesn't strip out your javascript.

See this post:
http://www.interactivetools.com/forum/gforum.cgi?post=77059#77059

Please note that you should make a copy of wysiwyg.php, saving it as wysiwyg_custom.php. Then make the changes in the new wysiwyg_custom.php file.

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/