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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   4591 Views

Avatar
alirobe

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

http://alirobe.com/personal-projects/

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?

Avatar
Willr

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 open.silverstripe.com for it and we can see if its suitable for globally accepting

Avatar
alirobe

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.