2024-05-31 09:31:06 +12:00
2024-05-07 15:12:56 +12:00
2024-04-02 16:58:40 +13:00
2018-02-12 15:32:28 +02:00
2024-05-09 12:35:53 +12:00
2024-05-09 12:35:53 +12:00
Clean up 🚿
2018-02-27 16:48:02 +02:00
2024-05-09 10:44:17 +12:00
2018-02-01 13:41:15 +02:00
2024-05-01 09:39:48 +12:00
2023-04-19 15:45:06 +12:00
2024-05-09 12:55:41 +12:00

GridField Bulk Editing Tools

⚠️ I haven't been able to give as much love as I would like to these repos as they deserve. If you have time and are interested to help maintain them, give me a shout. 🚨

Latest Stable Version Latest Unstable Version License

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

Components:

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

Installation

composer require colymba/gridfield-bulk-editing-tools

Bulk Upload

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

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

Versioned

By default BulkUploader will write to the current stage (most likely Draft). To auto publish your DataObject, use the following param or config:

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

OR

$config->getComponentByType('Colymba\\BulkUpload\\BulkUploader')->setAutoPublishDataObject(true);

Your DataObject should own the Image/File relation so it is published at the same time: See SilverStripe DataObject ownership DOC

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.

Tooling

  • npm run watch for development
  • npm run dist before pushing to the repo

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.

BSD 3-clause license

Description
SilverStripe GridField Components set for bulk upload and bulk record edit, unlink & delete 📦💥
Readme 3.1 MiB
Languages
PHP 73.5%
JavaScript 22.4%
SCSS 3.2%
Scheme 0.9%