Jump to:

23450 Posts in 18899 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » Flash Base Parameter?

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: 3415 Views
  • alirobe
    Avatar
    Community Member
    35 Posts

    Flash Base Parameter? Link to this post

    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?

  • Willr
    Avatar
    Forum Moderator
    5497 Posts

    Re: Flash Base Parameter? Link to this post

    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

  • alirobe
    Avatar
    Community Member
    35 Posts

    Re: Flash Base Parameter? Link to this post

    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.

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