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:

General Questions /

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

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

Flash Base Parameter?

Go to End

3 Posts   4192 Views


Community Member, 35 Posts

15 February 2009 at 4:04am

I'm trying to add a base parameter (which specifies where Flash should load external files with relative paths) to a flash object on my site using custom HTML, but it keeps getting stripped out by SilverStripe.

The page is here

and the flash object is the first assignment (I've left it on the page)

Any ideas?

Also, this is not the first time SS has stripped out my tags. Is there any way to turn off its filtering?


Forum Moderator, 5523 Posts

15 February 2009 at 7:10pm

You need to edit the tinymce.template.js file? (I think its called that) in cms/javascript/). There is an 'allowed_elements' array where you can set the valid html elements for tiny mce. Of course this will get stripped out when you upgrade the cms folder next. If you think it should be listed in that list make a ticket on for it and we can see if its suitable for globally accepting


Community Member, 35 Posts

15 February 2009 at 11:25pm

Edited: 15/02/2009 11:34pm

Thanks for the suggestion, but I can't seem to find the Object or Embed tags in there. I disabled verify_html and cleared all my cache, but it still removed the tag. The tag for the object embed is <param name="base" value="assets/folio/carousel/" />, which is not really fundamentally different to <param name="movie" value="assets/folio/carousel/4-carousel.swf" >, as far as the parser should be concerned.