Extra batch actions for silverstripe's sitetree
Extra batch actions for SilverStripe CMS's sitetree
- Move to...
- Remove from Search
- Remove from Menus
- Composer install (https://packagist.org/packages/adrexia/batchactionsplus), or clone into your repo.
- Include the extensions you would like in _config.php and run dev/build (Move to is included by default)
CMSBatchActionHandler::register('hidefrommenus', 'CMSBatchAction_HideFromMenus'); CMSBatchActionHandler::register('hidefromsearch', 'CMSBatchAction_HideFromSearch');