VWcms Print Template  
 

[PREV][NEXT]

[PRINT]

The print template is generally a simplified version of the site 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.

Content sections can use $$NOPRINT$$ on the first line to suppress printing.  With the parameter "+" (i.e. $$NOPRINT$+$$) subordinate sections are also not printed.

These elements can be seen in the one used by the Vdub (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"> <head> <title>$$DRAFT$$$$TITLE$$</title> <link rel="stylesheet" href="/_vdub/_vwcms.css" type="text/css" /> <link rel="stylesheet" href="/_vdub/_site.css" type="text/css" /> <style type="text/css"> body { background-image:none; background-color:white; } </style> </head> <body onload="if(window.VWcmsOnLoad)VWcmsOnLoad()"> <div style="vertical-align:text-bottom;"> <span><img src="/_vdub/vdub.gif" alt="" style="vertical-align:bottom;" /></span> <span style="vertical-align: middle; padding-left: 0.5em; padding-right: 1em; font-size: 250%;">VWcms</span> <span style="vertical-align: middle; padding-top: 5px; font-size: 130%; text-decoration: underline;">VMS Web-Content Management System</span> </div> <div> $$TOC$PRINT$$ $$CONTENT$$ </div> <div style="width:100%; text-align:right; padding-top:1em; white-space:nowrap"> <span style="padding-right:1em;"><b>As at:</b> $$TIME$$</span> <b>Updated:</b> $$LASTMOD$$&nbsp; ($$AGO$$) </div> </body> </html>

[PRINT]  [PRINT]