21287 Posts in 5733 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 3000 Views |
-
Flash Base Parameter?

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?
-
Re: Flash Base Parameter?

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
-
Re: Flash Base Parameter?

15 February 2009 at 11:25pm Last edited: 15 February 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.
| 3000 Views | ||
|
Page:
1
|
Go to Top |


