mirror of
https://github.com/a2nt/silverstripe-elemental-basics.git
synced 2024-10-22 17:05:54 +02:00
IMPR: Remove bulk uploader for Slider
This commit is contained in:
parent
a87896186c
commit
394b50670a
@ -132,11 +132,11 @@ class SliderElement extends ElementSlideshow
|
|||||||
$config = $grid->getConfig();
|
$config = $grid->getConfig();
|
||||||
$config->removeComponentsByType(GridField_ActionMenu::class);
|
$config->removeComponentsByType(GridField_ActionMenu::class);
|
||||||
|
|
||||||
$bulk = new BulkUploader('Image', SlideImage::class, false);
|
/*$bulk = new BulkUploader('Image', SlideImage::class, false);
|
||||||
$bulk
|
$bulk
|
||||||
->setUfSetup('setFolderName', 'Uploads/SlideImages');
|
->setUfSetup('setFolderName', 'Uploads/SlideImages');
|
||||||
//->setUfSetup('getValidator.setAllowedExtensions', ['jpg', 'jpeg', 'png', 'gif']);
|
//->setUfSetup('getValidator.setAllowedExtensions', ['jpg', 'jpeg', 'png', 'gif']);
|
||||||
$config->addComponent($bulk);
|
$config->addComponent($bulk);*/
|
||||||
$config->addComponent(new \Colymba\BulkManager\BulkManager());
|
$config->addComponent(new \Colymba\BulkManager\BulkManager());
|
||||||
|
|
||||||
$columns = new GridFieldEditableColumns();
|
$columns = new GridFieldEditableColumns();
|
||||||
|
Loading…
Reference in New Issue
Block a user