colymba / gridfield-bulk-editing-tools
SilverStripe GridField component to upload images/files and edit records in bulk
Installs: 515 245
Dependents: 47
Suggesters: 12
Security: 0
Stars: 86
Watchers: 16
Forks: 76
Open Issues: 29
Type:silverstripe-vendormodule
Requires
- 5.x-dev
- 4.x-dev
- dev-master / 4.x-dev
- 4.0.x-dev
- 4.0.2
- 4.0.1
- 4.0.0
- 4.0.0-beta1
- 3.x-dev
- 3.1.x-dev
- 3.1.0
- 3.0.x-dev
- 3.0.2
- 3.0.1
- 3.0.0
- 3.0.0-beta5
- 3.0.0-beta4
- 3.0.0-beta3
- 3.0.0-beta2
- 3.0.0-beta1
- 2.1.x-dev
- v2.1.11
- v2.1.10
- v2.1.9
- v2.1.8
- v2.1.7
- v2.1.6
- v2.1.5
- v2.1.4
- v2.1.3
- v2.1.2
- v2.1.1
- v2.1.0
- v2.0.2
- v2.0.1
- v2.0.0
- v1.6.0
- v1.5.0
- v1.0.0
- v0.5.0
- dev-dependabot/npm_and_yarn/es5-ext-0.10.63
- dev-dependabot/npm_and_yarn/ip-2.0.1
This package is auto-updated.
Last update: 2024-03-08 01:13:04 UTC
README
⚠️ 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. 🚨
GridField Bulk Editing Tools
Set of SilverStripe 4 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
Requirements
- SilverStripe 4.0 (master / 3.+)
- SilverStripe 3.1 (version 2.+ / 1.+)
- Silverstripe 3.0 (version 0.5)
Installation
composer require colymba/gridfield-bulk-editing-tools
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 toGridFieldBulkUpload
. onBulkImageUpload
callback has been renamed toonBulkUpload
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 developmentnpm 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/silverstripe/silverstripe-gridfield-bulk-editing-tools to contribute translations, rather than sending pull requests with YAML/JS files.