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.x2.1.x2.2.x2.3.x2.4.x2.5.x2.6.x2.7.02.7.12.7.22.7.32.7.42.7.52.7.62.7.72.7.82.7.92.7.10
NoNoNo1.0.0NoNoNoNoNoNoNoNoNoNoNoNoNoNo. 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.