SilverStripe GridField Components set for bulk upload and bulk record edit, unlink & delete 📦💥
Go to file
2018-02-23 11:30:04 +13:00
bulkManager API Install module into vendor folder, remove path constants and update resource references 2018-02-23 11:30:04 +13:00
bulkUpload API Install module into vendor folder, remove path constants and update resource references 2018-02-23 11:30:04 +13:00
images FIX #83 Disable Finish button + add spinner while uploading 2014-09-06 15:51:07 +03:00
lang Updated translations 2016-11-16 10:47:05 +02:00
screenshots Screenshots update 2014-05-11 13:15:15 +03:00
tasks Fix i18n Textcollector Task if phing not installed 2016-02-18 11:19:53 +13:00
_config.php API Install module into vendor folder, remove path constants and update resource references 2018-02-23 11:30:04 +13:00
.editorconfig Added standard .editorconfig file 2015-12-17 10:05:59 +13:00
.gitattributes Added standard .gitattributes file 2016-01-18 18:14:33 +02:00
.gitignore gitignore update 2014-05-11 13:00:28 +03:00
.scrutinizer.yml Added standard Scrutinizer config 2016-02-17 04:23:39 +13:00
.upgrade.yml Enhancement: SilverStripe 4 compatibility (#137) 2017-01-25 14:27:11 +02:00
composer.json API Install module into vendor folder, remove path constants and update resource references 2018-02-23 11:30:04 +13:00
README.md Enhancement: SilverStripe 4 compatibility (#137) 2017-01-25 14:27:11 +02:00

GridField Bulk Editing Tools

Latest Stable Version Latest Unstable Version License

Set of SilverStripe 4 GridField components to facilitate bulk file upload & record editing.

preview

Components:

  • Bulk Upload: Upload multiple images or files at once into DataObjects
  • Bulk Manager: Delete, Unlink, Edit (and more) multiple records at once

More screenshots here.

Requirements

  • SilverStripe 4.0 (version master / 3.+)
  • SilverStripe 3.1 (version 2.+ / 1.+)
  • Silverstripe 3.0 (version 0.5)

Installation

Composer

  • composer require colymba/gridfield-bulk-editing-tools

Manual

  • Download and copy module in SilverStripe root directory

3.0.0 deprecations

The 3.x versions of this module require SilverStripe 4.x+, and PHP 5.5 or above:

  • Namespaces are implemented, and some class names have changed (see .upgrade.yml for mapping)

2.0.0 deprecations

Major deprections in latest 2.0.0 release:

  • The GridFieldBulkImageUpload has been renamed to GridFieldBulkUpload.
  • onBulkImageUpload callback has been renamed to onBulkUpload

Bulk Upload

Upload multiple images or files at once into DataObjects. Perfect for galleries and the like.

$config->addComponent(new \Colymba\BulkUpload\BulkUploader());

See BULK_UPLOAD.md for detailed configuration.

Bulk Manager

Perform actions on multiple records straight from the GridField

$config->addComponent(new \Colymba\BulkManager\BulkManager());

See BULK_MANAGER.md for detailed configuration.

Interdependencies

The BulkUploader component makes use of BulkManager to allow quick editing of the newly uploaded files. Although not nescessary for the component to work, adding Colymba\BulkManager\BulkManager too to your GridFieldConfig will give you this advantage.

@TODO

  • Add individual actions for each upload (update + cancel)
  • Handle and display errors better for: creation, update, cancel

Translations

Translations of the natural language strings are managed through a third party translation interface, transifex.com.

Please use https://www.transifex.com/projects/p/gridfieldbulkeditingtools/ to contribute translations, rather than sending pull requests with YAML/JS files.

License (BSD Simplified)

Copyright (c) 2013, Thierry Francois (colymba)

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of Thierry Francois, colymba nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.