Conn2Flow
Docs navigation

Reference / Modules

Admin categories module

Hierarchical categories associated with modules and files.

Path in the Gestor modulos/admin-categorias/

Organizes categories in a tree, associated with a module and, in the current file manager, physical file paths.

How to use

Open admin-categorias/, create a root category at admin-categorias/adicionar/ by choosing a module, or use admin-categorias/adicionar-filho/?id=<slug> on an existing category. Edit name, module, or plugin at admin-categorias/editar/?id=<slug>. The edit screen shows ancestor breadcrumbs. Routes are identical in both languages; category records have no language column.

Technical reference

The controller handles listar, adicionar, adicionar-filho, and editar; status and deletion use the shared interface. JSON has no active module AJAX case, widget, template, hooks, or hooks.api. adicionar-filho finds a nondeleted parent by slug, inherits its id_modulos, and saves its id_categorias as id_categorias_pai. Ancestors are assembled recursively for the edit breadcrumb. The module JS adds no separate data flow.

categorias has numeric id_categorias, id_usuarios, id_modulos, id_categorias_pai, nome, id, plugin, status, versao, and timestamps. The initial migration declares no FK, unique slug index, or language column. JSON uses PK synchronization. The file manager uses arquivos_disco_categorias.id_categorias to associate categories with physical paths; old arquivos_categorias remains for legacy records.

Confirmed limitations

See also

Tailwind panel controls

Adding a child retains the parent category; fields and selectors follow the Tailwind panel.

Shared conventions: Administrative interface.

The Future is Hybrid: Human + AI.

Conn2Flow is the tool. If you need the Architect to design your company's strategy using this technology...

Hire Specialized Consulting