Jump to:

5554 Posts in 1742 Topics by 1227 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Allowing inline javascript

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

Page: 1
Go to End
Author Topic: 1490 Views
  • Phill
    Community Member
    75 Posts

    Allowing inline javascript Link to this post


    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?


  • retrocool
    Community Member
    1 Post

    Re: Allowing inline javascript Link to this post

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

    Struggling with this one myself.


  • banal
    Community Member
    901 Posts

    Re: Allowing inline javascript Link to this post

    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.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.