10376 Posts in 2191 Topics by 1708 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 832 Views |
-
uploading more than 1 file with SWFUploadFileIFrameField

28 April 2009 at 10:43pm Last edited: 28 April 2009 10:44pm
Hey
Im trying to use the flash uploader module for uploading more than 1 file at a time in the admin area, iv been looking through the documentation but cant get it to upload more than one file at a time, any ideas on what im doing wrong?
static $has_one = array ('BigFile' => 'File');
public function getCMSFields()
{
$fields = parent::getCMSFields();
$fields->addFieldToTab("Root.Content.File", new SWFUploadFileIFrameField('BigFile','Upload a file',array('file_upload_limit' => '2')));
return $fields;
}The code doesnt seem to be triggering an error it just displays a javascript alert.
"You have attempted to queue too many files.
You may select 1"thanks
-
Re: uploading more than 1 file with SWFUploadFileIFrameField

29 April 2009 at 4:09am
Hi, Phill,
Sorry, it doesn't handle a has_many File relation right now.
I would try using the FileDataObjectManager if you have multiple files on your page.
| 832 Views | ||
|
Page:
1
|
Go to Top |

