Deprixa Pro — Integrated Courier & Logistics System · Adding a New Module
- Create the entry PHP file in the root (e.g. mymodule_list.php). Follow the pattern of existing entry files: load config, check permissions, include the view.
- Create the view file in views/mymodule/. Follow the HTML structure and class conventions of existing views.
- If needed, create an AJAX endpoint in ajax/mymodule/ following the existing AJAX file patterns.
- Add to the permissions table in the database so it can be assigned to roles. Update helpers/left_sidebar.php (or the equivalent sidebar include) to add the menu item, protected by a permission check.
- Add any new database tables following existing naming conventions.