2012-08-10 00:52:46 +03:00
GridField Bulk Editing Tools
============================
2014-10-01 12:29:38 +03:00
[![Latest Stable Version ](https://poser.pugx.org/colymba/gridfield-bulk-editing-tools/v/stable.svg )](https://github.com/colymba/GridFieldBulkEditingTools/releases)
[![Latest Unstable Version ](https://poser.pugx.org/colymba/gridfield-bulk-editing-tools/v/unstable.svg )](https://github.com/colymba/GridFieldBulkEditingTools/tree/master)
2018-02-01 13:40:23 +02:00
[![License ](https://poser.pugx.org/colymba/gridfield-bulk-editing-tools/license.svg )](#license -and-copyright)
2014-10-01 12:29:38 +03:00
2017-01-26 01:27:11 +13:00
Set of SilverStripe 4 GridField components to facilitate bulk file upload & record editing.
2014-10-01 12:29:38 +03:00
2013-12-05 19:42:17 +02:00
![preview ](screenshots/preview.png )
2014-10-01 12:29:38 +03:00
## Components:
2014-05-04 18:13:03 +03:00
* [Bulk Upload ](#bulk-upload ): Upload multiple images or files at once into DataObjects
2014-10-01 12:29:38 +03:00
* [Bulk Manager ](#bulk-manager ): Delete, Unlink, Edit (and more) multiple records at once
2013-12-05 19:42:17 +02:00
[More screenshots here. ](screenshots )
2012-09-06 19:05:16 +03:00
2013-04-16 20:06:24 +03:00
## Requirements
2017-01-26 01:27:11 +13:00
* SilverStripe 4.0 (version master / 3.+)
* SilverStripe 3.1 (version 2.+ / 1.+)
2013-04-16 20:06:24 +03:00
* Silverstripe 3.0 (version [0.5 ](https://github.com/colymba/GridFieldBulkEditingTools/tree/0.5 ))
2012-07-18 02:27:28 +03:00
## Installation
2014-10-01 12:29:38 +03:00
### Composer
2017-01-26 01:27:11 +13:00
* `composer require colymba/gridfield-bulk-editing-tools`
2014-10-10 19:05:43 +03:00
2014-10-01 12:29:38 +03:00
### Manual
* Download and copy module in SilverStripe root directory
2012-07-18 02:27:28 +03:00
2017-01-26 01:27:11 +13:00
## 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)
2014-05-11 22:23:03 +03:00
## 2.0.0 deprecations
2017-01-26 01:27:11 +13:00
Major deprections in latest 2.0.0 release:
2014-05-11 22:23:03 +03:00
* The `GridFieldBulkImageUpload` has been renamed to `GridFieldBulkUpload` .
* `onBulkImageUpload` callback has been renamed to `onBulkUpload`
2014-05-04 18:13:03 +03:00
## Bulk Upload
Upload multiple images or files at once into DataObjects. Perfect for galleries and the like.
2013-12-05 19:42:17 +02:00
2017-01-26 01:27:11 +13:00
```php
$config->addComponent(new \Colymba\BulkUpload\BulkUploader());
```
2013-12-05 19:42:17 +02:00
2014-05-04 18:13:03 +03:00
See [BULK_UPLOAD.md ](bulkUpload/BULK_UPLOAD.md ) for detailed configuration.
2012-08-10 00:52:46 +03:00
2012-09-06 19:05:16 +03:00
## Bulk Manager
2013-12-05 19:42:17 +02:00
Perform actions on multiple records straight from the GridField
2017-01-26 01:27:11 +13:00
```php
$config->addComponent(new \Colymba\BulkManager\BulkManager());
```
2013-12-05 19:42:17 +02:00
2014-05-04 18:13:03 +03:00
See [BULK_MANAGER.md ](bulkManager/BULK_MANAGER.md ) for detailed configuration.
2012-09-05 23:40:59 +03:00
2014-05-04 18:13:03 +03:00
## Interdependencies
2017-01-26 01:27:11 +13:00
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.
2012-07-18 02:27:28 +03:00
2013-08-04 16:21:06 +03:00
2014-03-15 15:53:20 +02:00
## 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/ ](https://www.transifex.com/projects/p/gridfieldbulkeditingtools/ ) to contribute translations, rather than sending pull requests with YAML/JS files.
2018-02-01 13:40:23 +02:00
## License and Copyright
2013-08-04 16:21:06 +03:00
2018-02-01 13:40:23 +02:00
[BSD 3-clause license ](LICENSE )