hello
i deside to use uploadify for multiple file upload, because i see it allows to create folders where to upload files.
i take modul from leftandmain.com, put in root , dev/build,..
go to admin files and images, click add files to upload, uploadify show in popup, i write name of directory to create and nothing.
when i upload images it writes No files attached ???
i try with this in page
static $has_one = array(
'Mainimage' => 'File'
);
static $has_many = array (
'AttachedFiles' => 'ArticleFile'
);
function getCMSFields() {
$fields = parent::getCMSFields();
$fields->addFieldToTab('Root.Content.Main', new TextField('Subtitle'), 'Content');
$fields->addFieldToTab('Root.Content.Main', new DatePickerField('Date'), 'Content');
$fields->addFieldToTab('Root.Content.Main', new TextField('Author'), 'Content');
$fields->addFieldToTab("Root.Content.File", new FileUploadField('Mainimage','Upload a file'));
$fields->addFieldToTab("Root.Content.Main", $MFile = new MultipleFileUploadField('AttachedFiles','Upload several files'),'Content');
$MFile ->allowFolderSelection();
return $fields;
}
cant create directory.
when select files from existing and click insert and save page, when come back to edit page, images that i inserted are listed but images are not.
please help