HEADER AND FOOTER TEMPLATES

WebSite Director (WSD) Header and Footer Templates allow you to customize your HTML documents. When content that includes a header and/or footer template is published to the web site, the final web page is generated from the combination of the header template, the document body or Page Layout template, and the footer template.

To assist in creating or modifying content that includes header and footer template, you can view the content exactly as it will be generated when it is Published to the web site when you select the "View Document" or "Preview" from within WSD.     

Adding and Maintaining Templates

The method that you will use to add and maintain templates for your site depends on the "Modify Templates" setting on the System Policies screen:

  • Submit Request -  Users may add and maintain templates via the Submit New Request function available from the WSD Application Desktop and the Edit Request screen. Templates added or maintained using Submit Request will pass through the approval process and a Version History will be retained.
  • System Admin - Users with System Administration permissions can revise templates immediately via the Maintain Templates screen (accessed from the System Administration screen).Warning:  This method of adding and modifying templates is atomic,  no version history is retained, and changes take effect immediately upon clicking Update on the Editlive! or HTML Text Editor screen. 
  • Both - you may use either method to add and maintain templates, depending on your permissions.


WSD provides two types of on-line editing: WYSIWYG editors, and a browser editor for those who are familiar with HTML code. You also have the option of uploading a template from your local computer, or downloading the template so you can use your third-party application to make your changes. 

When a template is modified via the System Administration screen, or when it is published to the web site, It can be applied to all documents and indexes that use the template via the Apply Template function accessed from the System Administration screen.  See Apply Template .

Any WSD template language tags can be used in header and footer templates.  See the Template Language tutorial.

Sample Document Template Files

Sample Header Template: 

<html><head><title><$prop:title$></title> 
<$if $prop:keywords$><META NAME="keywords" 
CONTENT="<$prop:keywords$>"><$endif> 
<$if $prop:description$><META NAME="description" 
CONTENT="<$prop:description$>"><$endif> 
</head> 
<body bgcolor="#FFFFFF"> 
<!-- file: <$prop:filename$>--> 
<!-- version: <$prop:revision$>--> 
<h2 align=center><$prop:title$></h2> 
<center><p><i><$prop:authorname$></i></p></center>

Sample Footer Template: 

<fontsize= -2>Copyright &#169; 2001 My Company.  All rights reserved. 
Updated<$prop:publishdate$><br> 
Content provided by 
<$if $prop:authorurl$><A HREF="<$prop:authorurl$>"><$endif> 
<$prop:authorname$><$if $prop:authorurl$></A><$endif> 
<$if $prop:authoremail$><A HREF="MAILTO:<$prop:authoremail$>"> 
&lt;<$prop:authoremail$>&gt;</A><$endif><$if $prop:maintainer$>, 
maintained by 
<$if $prop:maintainerurl$><A HREF="<$prop:maintainerurl$>"><$endif> 
<$prop:maintainername$><$if $prop:maintainerurl$></A><$endif> 
<$if $prop:maintaineremail$><A HREF="MAILTO:<$prop:maintaineremail$>"> &lt;
<$prop:maintaineremail$>&gt;</A><$endif><$endif>. 
<br> 
</font></body></html>

Copyright 2000-2005 CyberTeams, Inc., http://www.cyberteams.com All rights reserved.
CyberTeams and WebSite Director are registered trademarks of CyberTeams, Inc. All other marks are the property of their respective owners.