Config 1.4: Templates

You should put all your templates into one directory, which is defined as Template. It will also be generated by the help command, but you can adjust its location by defining here anyway.

Template          example: "/home/user1/views"

Assume that visitor is accessing a webpage at URL:
http://WEBSITE/HANDLER/role/tag/component?action=string&query…

Then the specific webpage template looked for will be Template/role/component/action.tag. For example, if role is public, tag is html, component is cart and action is topics, the template will be /home/user1/views/public/cart/topics.html.

Comments are closed.