For example, the 930-pixel header includes a fragment of HTML in
/www/htdocs/modules/blueheader-930px/html/header.html that must be added at the top of the <body> element of a page. The SSI directive is
<!--#include virtual="/modules/blueheader-930px/html/header.html" -->
The directive tells the web server to remove this comment when it sends the document to a web browser and replace it with the contents of the file it finds at the path specified in the
virtual attribute. Note that the
virtual attribute does not take a URL — the value is not
/modules/header-930px/html/header.html.
When looking at the modules available in
/www/htdocs/modules, make note of the items in
html subdirectories; they should be inserted at specific locations in pages using SSI directives. See the
per-module documentation for in-depth descriptions of the
html components of the modules and where they should be inserted in an HTML page.
The HTML templates being made available by OCM/IT make use of UD Web Modules and have been constructed with the appropriate SSI directives to insert the appropriate header, content, and footer html components. Web designers are encouraged to consult these templates for examples of appropriate SSI directives.
It is equally important to note that many of the
html components are made available in a form which will allow them to be easily
internationalized in the future. An internationalized resource is named with suffixes like
.en,
.fr,
.de for specific language codes; a default resource for unmatched languages is named with a double-extension like
.html.html.