1.0.0releasedMultiple uploads
Multiple file uploads straight in Sections.
Clone URLhttps://github.com/vlad-ghita/multiple_uploads.git
Add as a submodulegit submodule add https://github.com/vlad-ghita/multiple_uploads.git extensions/multiple_uploads --recursive
Compatibility
2.x.x | 2.1.x | 2.2.x | 2.3.x | 2.4.x | 2.5.x | 2.6.x | 2.7.0 | 2.7.1 | 2.7.2 | 2.7.3 | 2.7.4 | 2.7.5 | 2.7.6 | 2.7.7 | 2.7.8 | 2.7.9 | 2.7.10 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
No | No | No | 1.0.0 | No | No | No | No | No | No | No | No | No | No | No | No | No | No. Soon? |
Readme
Multiple Uploads
This extension adds multiple file upload facilities to Symphony backend.
It depends on this fork of SelectBox Link Plus.
Features
- UI for multiple file upload on section index (drag & drop).
- UI for multiple file upload on entry single (drag & drop).
Usage
Take a section called Images
with Title (Input)
and Image (File upload)
.
To enable multiple file upload for this section, create a Mapper
for this section.
A Mapper
is a PHP Class located in /extensions/multiple_uploads/lib/upload/
.
Mapper filename: class.SECTION_HANDLEuploadhandler.php
Mapper class name: SECTION_NAMEUploadHandler
Example for Images
section:
filename: class.imagesuploadhandler.php
class name: ImagesUploadHandler
Example for Personal attachments
section:
filename: class.personal_attachmentsuploadhandler.php
class name: Personal_AttachmentsUploadHandler
There already is a mapper for the Images
section. Modify it to suit your needs.
Section index
For each section that has a mapper, on their index page will be added a button to upload multiple files. Use it.
Entry single
This extension provides a field for multiple uploads.
Create a section Events
with Title (Input)
and Images (SBL+)
. For Images
field, uncheck the Enable Create button
checkbox.
After creating the section, add a field called Upload new images (Multiple uploads)
and under Related View
select Images
. Save section.
NB: SBL+ in conjunction with Multiple Uploads used this way are designed to sit under their own Publish tab.
Visit a new entry in Events
section and use the interface.
Version history
Requires Symphony 2.3
- First release.