Jump to:

10848 Posts in 2516 Topics by 1792 members

All other Modules

SilverStripe Forums » All other Modules » Help needed for SWFUpload module

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 804 Views
  • quiet_islander
    Avatar
    Community Member
    17 Posts

    Help needed for SWFUpload module Link to this post

    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

  • UncleCheese
    Avatar
    4085 Posts

    Re: Help needed for SWFUpload module Link to this post

    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.

  • quiet_islander
    Avatar
    Community Member
    17 Posts

    Re: Help needed for SWFUpload module Link to this post

    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?

  • quiet_islander
    Avatar
    Community Member
    17 Posts

    Re: Help needed for SWFUpload module Link to this post

    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?

  • UncleCheese
    Avatar
    4085 Posts

    Re: Help needed for SWFUpload module Link to this post

    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.

  • quiet_islander
    Avatar
    Community Member
    17 Posts

    Re: Help needed for SWFUpload module Link to this post

    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?

  • UncleCheese
    Avatar
    4085 Posts

    Re: Help needed for SWFUpload module Link to this post

    Yup.

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