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.

All other Modules

Discuss all other Modules here.

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

Help needed for SWFUpload module


Reply

7 Posts   897 Views

Avatar
quiet_islander

12 July 2010 at 1:09pm Community Member, 17 Posts

Hi, all:

I am trying to add the SWFUpload module to my CMS forms. However, as long as I added a line "$fields->addFieldToTab("Root.Content.File", new SWFUploadFileIFrameField('BigFile','Upload a file'), 'Photo');" (as stated on the documentation page), I get an empty admin page. By empty, I mean there is nothing on the page at all.

Does anyone has a solution for that?

Thanks

Avatar
UncleCheese

12 July 2010 at 1:57pm 4085 Posts

SWFUploadFileIFrameField hasn't been supported in a long time. It needs to be taken out of the module. It never worked right.

The SWFUpload module is being replaced by a new plugin as we speak, and what you're looking for will be supported. Just writing up some docs and finishing some CSS before releasing it, so stay tuned.

Avatar
quiet_islander

12 July 2010 at 1:58pm Community Member, 17 Posts

I found some more info. When I try to open the page with swfupload on it in CMS, I get stuck with the ajax loading. From Firebugs, I get "500 Internal Server Error". Any ideas?

Avatar
quiet_islander

12 July 2010 at 2:00pm Community Member, 17 Posts

Thanks for the reply.
I really need a project done today. Is there an alternative plugin which can achieve the multiple upload and progress bar feature?

Avatar
UncleCheese

12 July 2010 at 2:03pm 4085 Posts

If you're dealing with multiple uploads, you shouldn't be using SWFUploadIFrameField. That's only for single files. You want AssetManager, which is part of the DOM package.

Avatar
quiet_islander

12 July 2010 at 2:12pm Community Member, 17 Posts

I checked the docs for data object manager but it seems that it still requires the swfupload one to work with bulk file upload.
I am on SS 2.4, is the module compatible?

Avatar
UncleCheese

12 July 2010 at 2:33pm 4085 Posts

Yup.