# controller\_admin\_category\_sorter

Source: https://zotonic.com/docs/1841/controller_admin_category_sorter

URI: https://zotonic.com/id/1841

Language: en



Shows the admin category screen where you can edit the [category](/id/doc_glossary#term-category) tree, rearranging the categories, adding new categories, or removing existing ones.

The controller is available through the `admin_category_sorter` dispatch rule and requires permission to use `mod_admin_category`. It renders `admin_category_sorter.tpl` with `page_admin_category_sorter` set, allowing the admin navigation to mark the category screen as active.

Tree mutations are handled by the category admin actions and postbacks used by that template; this controller only authorizes and renders the screen.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1841?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1841?language=en>)
