This is a simple MODX CMP boilerplate which does not require ExtJS. Use it as a starting point for your own projects if you need a custom view in the MODX Manager. It's basic HTML. It uses the MODX CSS classes and the CurlyFramework utility-first CSS framework, as well as Alpine.js AJAX. However, feel free to use whatever you want, such as HTMX and Tailwind, for example.
There are collections with limited custom filtering and MIGX with an old codebase. ExtJS is also quite old. So I tried a different approach, using the same tools for the front end and the back end, like Fenom templating.
- Copy the folder and files to your MODX project.
- Run
gitify buildto add a namespace and create a MODX Manager menu item for the CMP. - Build the CMP database schema and table using the command
php core/components/cmp/_build/database.php.