2009-01-15 : Website Template Updated : v2.0.0
Enhancements
- Optional page stats can be displayed at the bottom of the page body with date modification time and a hit counter. New variables in <setup.php> to control this. A wee cheat on creating the initial stats files though - a random number between 10 and 30 is chosen ... but you'd never know ;-) The stats are recorded regardless if they are displayed, so you have the option at a later date (with the actual numbers), if they are not displayed initially.
- Added the ability to include extra style sheets which can be defined in <setup.php>. They must live in the <./style_sheets/extra> directory.
-
Added the ability to do a complete change of style sheet, not just wide
or narrow. The order of precidence ("i" is highest level) for final style
sheet selected is as follows:
- $my_force_css_width
- $my_force_css
- Cookie style sheet (if allowable)
- $my_default_page_style
- Tidied up the <title> and <meta description> by removing leading numbers in the case of numerically sorted pages.
- Added a Text Viewer page for displaying text files in the standard layout. There is an option to display as code which adds line numbers.
- Managed to get the pages displaying better in IE 6 and below (CSS changes).
- Constructed a more informative demo website to explain the workings of the software.
- Contact form now accepts pre-defined subjects (if defined in <setup.php>) and also has the ability to re-direct e-mails for a particular subject to a different e-mail address (again defined in <setup.php>).
- Changing the name of the "Contact" page now updates any links in the pages, assuming you change the variable in <setup.php>
New Setup Variables (see <setup-sample.php> for details)
- $my_contact_page
- $my_contact_subject[]
- $my_contact_redirect
- $my_stats_active
- $my_stats_date_format
- $my_extra_style_sheet[]
- $my_force_css[]
Bug Fixes
- HTML pages displayed will no longer display empty lines from the file.
-
The "acknowledgement" screens for the <Contact> page were hard
coded to display "Gavin" on the page. A couple of string replacements
that I missed when making the software generic. It will use
$my_company_name if it is defined in <setup.php> like the rest
of the page does.
(Thanks to Bruce Levick for spotting this one too.)
See the downloads page.