28 February 2010

LS Web Site Templates and PHP includes

IRT has mandated that all IRT websites conform to standard templates and that PHP includes be used for all elements that are consistent throughout the site. A document explaining the importance of php includes is listed below and resides in the the Templates 2009 folder on the LS Web Site.

At this point in time, the LS web site has models rather than real templates that cannot be altered. The templates conform to two basic styles of subpages (one-column and two-column).

Two-column model:

It is important to note that the two-column template has a menu bar on the left. As with all css-styled pages of this nature, one is not able to create links to anchors in the right column.
One-column model:
The one column model allows for a hanging right element (has code for) that can contain anything one wants, e.g., an image or a menu with links to anchors. One does not have to use that element and should comment out that code if they choose not to use it. Anchor links can be freely used with this model.
The Templates "subpages" subfolder has documents explaining the use of the templates/models as well as copies of the files called in the php includes. All pertinent files in the templates and subpage folders are listed below.

/Templates 2009/
  • example[redirect].htm
  • ImportanceOfPhpIncludes.doc
  • MetaStyleScript-home.php
  • topmenubar-home-chat.php
  • topmenubar-home-SansChat.php
  • topmenubar-home-white.php
  • topmenubar-home-white2.php

../subpages/
  • 1Col-template-subpage-training.doc
  • 2Cols-template-subpage-training.doc
  • Message-sub.php
  • MetaStyleScript-sub.php
  • PageTracker-sub.php
  • subPageTemplate-1col.php
  • subPageTemplate-LeftRightCols.php
  • topsection4.htm
  • topsection4[nochat].htm

No comments: