Jump to:

22999 Posts in 11854 Topics by 2828 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: 814 Views
  • ahooper
    Avatar
    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">
    </embed>
    </object>


    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.

    Regards
    Andrew

  • Nivanka
    Avatar
    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

    http://nivanka.blogspot.com/2008/09/new-website-with-silverstripe.html

    814 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.