- Clone current default-template to your
templates/
folder - Choose your own autoload prefix in
lib/template_autoload.class.php
- Then edit existing classes using your own prefix (default_home and default_mainNavigation)
- Edit the
package.json
file and install dependencies usingnpm install
in your template folder - Go to your RZCMS administration, add your template in Manage templates section, do not forget to activate it after adding it.
- You can check RZCMS API website for detailled PHP reference.
- Or read development documentation on our wiki.
- Use 'page' as assignation name for every controller and use 'page.node' for node associations. Important for having the page name displayed in the id attribute on body tag.