Creating Template

For creating template we have to create directories structure of template with its file.

The structures will be like:

  • app
    • view
      • TEMPLATE_NAME
        • page
          • html
            • header.php
            • topbar.php
            • sidebar.php
            • footer.php
          • notfound.php
          • col-1.php
        • theme.json
        • script.json

TEMPLATE_NAME

TEMPLATE_NAME is a directory have no special character except underscore. This directory name will be used as template if we loaded at controller using setTheme.