SilverStripe GridField component to upload images/files and edit records in bulk
â ï¸ 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. ð¨
Set of SilverStripe 4 GridField components to facilitate bulk file upload & record editing.
composer require colymba/gridfield-bulk-editing-tools
The 3.x versions of this module require SilverStripe 4.x+, and PHP 5.5 or above:
.upgrade.yml
for mapping)Major deprections in latest 2.0.0 release:
GridFieldBulkImageUpload
has been renamed to GridFieldBulkUpload
.onBulkImageUpload
callback has been renamed to onBulkUpload
Upload multiple images or files at once into DataObjects. Perfect for galleries and the like.
$config->addComponent(new \Colymba\BulkUpload\BulkUploader());
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.
Perform actions on multiple records straight from the GridField
$config->addComponent(new \Colymba\BulkManager\BulkManager());
See BULK_MANAGER.md for detailed configuration.
npm run watch
for developmentnpm run dist
before pushing to the repoTranslations 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.
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem