colymba/gridfield-bulk-editing-tools
最新稳定版本:5.1.0
Composer 安装命令:
composer require colymba/gridfield-bulk-editing-tools
包简介
Silverstripe CMS GridField component to upload images/files and edit records in bulk
README 文档
README
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());
For full configuration options, see the Bulk Manager documentation.
统计信息
- 总下载量: 658.3k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 89
- 点击次数: 1
- 依赖项目数: 47
- 推荐数: 12
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2013-01-19