Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS /

Allowing inline javascript


Reply


3 Posts   1532 Views

Avatar
Phill

Community Member, 77 Posts

24 January 2009 at 1:52am

Hey

I need to use inline javascript to display a service from an external site iv been trying to insert it through the html option but its just getting stripped out, any ideas on how i can change ss/tinyMCE to allow javascript to be inserted through the html input option?

Thanks

Avatar
retrocool

Community Member, 1 Post

31 October 2009 at 2:02am

Edited: 31/10/2009 2:02am

Did the solution turn out to be 'use another CMS'? Or did you get any help?

Struggling with this one myself.

retrocool

Avatar
banal

Community Member, 901 Posts

31 October 2009 at 3:05am

For these kind of things I usually create a separate Page-Type, something like a EmbedPage. This page simply has a regular TextField where you would insert raw HTML code that is then placed in the template...
Inserting scripts or other stuff like flash embeds is usually a bad idea and doesn't work well with a wysiwyg editor.