Home
Projects

Developing Site Templates

The site template files are located in /site/templates/

Each of the template files in this site profile includes the header template (head.inc), outputs the bodycopy, and then includes the footer template (foot.inc). This is to avoid duplication of the markup that is the same across all pages in the site. This is just one strategy you can use for templates.

You could of course make each template completely self contained with it's own markup, but if you have more than one template with some of the same markup, then it wouldn't be very efficient to do that.

Another strategy would be to use a have a main template that contains all your markup and has placeholder variables for the dynamic parts. Then your other templates would populate the placeholder variables before including the main template. See the skyscrapers site profile for an example of that strategy.

Regardless of what strategy you use in your own site, I hope that you find ProcessWire easy to develop with. See the Developer API, and the section on Templates to get you started.

Events

Sep 20
AFRICAN UNION AND REGIONAL INTEGRATION LAW: AN UPDATE
The training will provide an update on the African Continental Free Trade Agreement, underline the opportunity for lawyers, highlight the challenges of creating the single African Market as well as discuss the proposed dispute settlement arrangement under
Sep 28
DEVELOPMENTS IN TAX LAW - 28TH SEPTEMBER 2018
The training will appraise participants on the recent developments in tax procedures, income tax, value added tax stamp duty based on changes in legislation and evolution of case law over the last 12 months.