Tuesday, September 9, 2008

Introduction of PHP for Page Templates

The current HTML-only pages take a lot of effort to maintain when any kind of change should be applied consistently to all pages in the website.
This has created considerable discouragement for adding any significant number of new pages.
The new web host allows the creation of page templates, so that menus, headings, logos and the like can be defined in one place (one file) and then that file can be included wherever it is needed.
In this way, any changes to the menu file (or to any included file) can be made once, but they will automatically be reflected in every page that includes the menu.

The site is not yet converted to use this feature, but a test page is available to demonstrate its use.

No comments: