mod_admin_category
Note
This module requires the presence of module#mod_menu for the required JavaScript files which make
up the menu editor.
Add support for editing Categories in the admin, by presenting
an editable category tree at http://yoursite.com/admin/category.
ACL permissions
The following ACL permissions are required:
- to view the page, the
usepermission on the ‘mod_admin_category’ module; seemodule#mod_acl_user_groups - to view the list of categories,
viewpermission on category ‘category’; seemodule#mod_acl_user_groups - to edit and re-order the categories,
editpermission on category ‘category’; seemodule#mod_acl_user_groups. Admin module for managing category trees and category resources in the backend.
Accepted Events
This module handles the following notifier callbacks:
observe_admin_menu: Contribute module entries to the admin menu tree.observe_category_hierarchy_save: Check edit permissions and persist category hierarchy changes from the admin UI.observe_rsc_delete: Do not allow a category to be removed iff there are resources within that category usingm_category:is_used.
Delegate callbacks:
event/2withpostbackmessages:delete_all.event/2withsubmitmessages:delete_move.