Jump to:

23480 Posts in 18951 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » unwanted filtering of tags when embeding flash

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 856 Views
  • ahooper
    Community Member
    8 Posts

    unwanted filtering of tags when embeding flash Link to this post

    After a clean install, following a number of dead ends i have mnaged to isolate what appears to either be a bug or something hidden somewhere that needs to be turned off or removed.

    I haev set up SilverStripe 2.3.0-rc2 with blog and forum, i was hoping to be able to embed the occasional object such as a flash movie into the blogs and on the main site but it appears that even if you manually edit the HTML via the admin interface an object such as this.

    <object width="550" height="400">
    <param name="movie" value="/assets/flash/evil-icon.swf">
    <embed src="/assets/flash/evil-icon.swf" width="550" height="400">

    seems to get filtered and both the

    <param.....> tag and <embed...>

    get filtered and removed while being saqved to the database.
    I have updated tiny_mce_improvements.js and tinymce.template.js but this did not seem to resolve the problem.

    I then edited the information contained in the mysql database under SiteTree_Live manually adding the relevent tags. this worked and the flash was embeded into the page. However upon going back in to the admin interface and trying to edit the page I received a javascript error and was not able to edit or re-save the page with the information obtained from the database.

    However if i deleted the object from the page i could then sage the page.

    Im not an expert but it seems to me that upon saving the information it is being run past a filter. any pointers would be appreciated as to either how to fix this or where to start looking. I would say from what i have seen that once this is resolved then it should also fix the problem with using the GUI to add/embed flash items.


  • Nivanka
    Community Member
    395 Posts

    Re: unwanted filtering of tags when embeding flash Link to this post

    I came across such a situation once too, and found a solution.

    I blogged it on my blog, check it out


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.