![]() |
VWcms | Print Template |
• Print Template • Site Map |
The print template is generally a simplified version of the main template. It does not contain the components supporting on-line, interactive access to the site, and provides the essential HTML content in a structure and format suitable for print media. The print template must contain a $$TOC$PRINT$$ immediately before the $$CONTENT$$ substitution directive. This generates a table-of content suitable for a full-site print at the beginning of the document. These elements can be seen in the one used by the Veedub (this) site: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>$$DRAFT$$$$TITLE$$</title>
<link rel="stylesheet" href="/_veedub/_vwcms.css" type="text/css" />
<link rel="stylesheet" href="/_veedub/_stylesheet.css" type="text/css" />
</head>
<body style="padding:1em;" onload="if(window.VWcmsOnLoad)VWcmsOnLoad()">
<table>
<tbody>
<tr>
<td><img src="/_veedub/veedub.png" alt="" /></td>
<td style="vertical-align: middle; padding-left: 0.5em; padding-right: 1em; font-size: 250%;">VWcms</td>
<td style="vertical-align: middle; padding-top: 5px; font-size: 170%; text-decoration: underline;">VMS Web-Content Management System</td>
</tr>
</tbody>
</table>
<table style="border-style: none; width: 100%;">
<tbody>
<tr>
<td>
<p>$$TOC$PRINT$$</p>
<p>$$CONTENT$$</p>
</td>
</tr>
<tr>
<td style="width: 100%; text-align: right; padding-top: 1em;"><b>As at:</b> $$TIME$$     <b>Updated:</b> $$LASTMOD$$ ($$AGO$$)</td>
</tr>
</tbody>
</table>
</body>
</html>
|
||||||||||