upload SWF

4 posts by 3 authors in: Forums > CMS Builder
Last Post: April 13, 2008   (RSS)

By Berkowitz - April 10, 2008

HI again,

Is it possible to upload SWF files in a wysiwyg field, because now it keeps saying you can only upload images in this. eventhough I've added the extention swf in the validation part.

Thanks,
Berkowitz

Re: [Berkowitz] upload SWF

By Dave - April 10, 2008

Having SWF files inserted and play in the wysiwyg isn't currently supported. We can add a button to the wysiwyg for the next version to allow you to do that.

If you're comfortable editing the code here's how you can add a "Insert Media" button now:

Open /lib/menus/default/edit.php and search for "plugins". Add the code in red:

plugins: 'inlinepopups,contextmenu,table,fullscreen,paste,media',


Open /lib/menus/default/edit_functions.php and search for "theme_advanced_buttons2". Add the code in red:

theme_advanced_buttons2 : "forecolor,backcolor,|,link,unlink,anchor,|,hr,image,media,table,|,pastetext,pasteword,|,code",
theme_advanced_buttons3 : "",

// Load Plugins: ***NOTE*** plugins must be added both here and in tinyMCE_GZ.init() in edit.php!
plugins : "inlinepopups,contextmenu,table,fullscreen,paste,media",


Then upload the contents of the attached file to /tinymce3/plugins/media/

Hope that helps. If you're not in a rush you can also just wait for the next version and upgrade.
Dave Edis - Senior Developer

interactivetools.com
Attachments:

media.zip 32K

Re: [Dave] upload SWF

By mheller - April 12, 2008

I know that this is sort of an open ended type questions, on average, how often are version updates done?

Re: [mheller] upload SWF

By Dave - April 13, 2008

Hi mheller, welcome to the CMS Builder forum! :)

Our philosophy with CMS Builder is to release early and often. So if we're working on 10 new features and 2 are ready we've rather release those 2 right away so people can start using them rather than making everyone wait for all 10 to be completed. Community feedback is a big part of the development process and helps us determine what the most important new features to add are.

You can judge based on the changelog (link) but generally that works out to about 1-2 times a month.

If you were wondering about the above feature it's already been added and we're planning to release a new version within the week.

Hope that helps!
Dave Edis - Senior Developer

interactivetools.com