Webtemplate Custom PHP Programming
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 the html for a page.
Customisations typically take place through 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