Customising a site
A WebTemplate website is customised by adding PHP code to the code folder of the website.
All of the PHP files within the code folder will be included before WebTemplate outputs a page.
Customisations typically take place through these two methods:
-
Creating classes which extend the WTNode class and will represent functions which can be performed on a node type
-
Registering Handler Functions which will respond to certain events within WebTemplate