BulkActions for ModelAdmin Module
- Jeremy Shipman (Nickname: Jedateach, firstname.lastname@example.org)
- SS 2.4
Add the module folder to your silverstripe installation directory.
Provides improvements to model admin, allowing you to specify actions to perform on entire result set.
To specify available actions for your model, add the following:
Once actions have been specified, an "Action" dropdown, and button will show up on search results. Clicking the button will perform the action slected in the dropdown.
Note about customising: if you want to create a different collection controller class (eg: MyModelAdmin_CollectionController), and also use the bulk actions features, then your collection controller class will need to extend ModelAdminBulkActions_CollectionController.