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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Allowing inline javascript

Go to End

3 Posts   1832 Views


Community Member, 81 Posts

24 January 2009 at 1:52am


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?



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.



Community Member, 904 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.