Jump to:

1160 Posts in 2621 Topics by 409 members

Upgrading SilverStripe

SilverStripe Forums » Upgrading SilverStripe » Embedding Javascript objects

Ask questions about upgrading SilverStripe to the latest version.

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

Page: 1
Go to End
Author Topic: 1346 Views
  • Fabie
    Avatar
    Community Member
    28 Posts

    Embedding Javascript objects Link to this post

    Hi,
    It seems that in the latest versions users cannot embed Script (such as a tripadvisor widget) as it is blocked in WYSIWYG editor. I had found a hack for the earlier versions of SS which I had shared and documented but I cannot seem to find one now. Has someone successfully managed to do so?

    I am not interested as adding a template page but I need users to be able to change this whenever they wish so simply like pasting an iframe in the html i would like them to be able to paste script.

    Looking forward to any help I can get!

    Cheers

  • Fabie
    Avatar
    Community Member
    28 Posts

    Re: Embedding Javascript objects Link to this post

    Update: I have tried this; 'extended_valid_elements' => "img[class|src|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name|usemap],iframe[src|name|width|height|align|frameborder|marginwidth|marginheight|scrolling],object[width|height|data|type],param[name|value],map[class|name|id],area[shape|coords|href|target|alt],script[language|type|src]"

    but it hasn't been successful. ?

    1346 Views
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.