CMS help pages

Print this page
You are here: Home > [Developers] > Templates > Templates - overview

Templates - overview

Page templates

Each page template should be a fully formed HTML page. The best method is to design the page in your preferred design tool, such as Dreamweaver, then simply cut and paste into the top panel of the template designer.

Include all the normal HTML tags including <html>, <head> and <body>. You can also include your own script within <script> tags. Your script will work in the designer so it may be desirable to "disable" some functions such as mouseover actions which may cause errors (and alarm!) if activated while the user is editing their website. See publish only content for how to do this.

DO NOT include the following tags, these will be generated automatically when the site is published:

  • title
  • linked stylesheets
  • meta description

meta keywords can be included in the page template. The user-editable keywords will be added as another meta tag. You may wish to include site-related keywords in the page template and page-specific keywords in the user-editable keywords.

Page templates can also include tags to position the navigation and user content. If you want a "hard-wired" page that the user cannot edit then omit the user content tag. Some pages may require custom navigation, in which case, leave out the navigation tag.

You may include a link to a remote script or stylesheet file. Remote files can be uploaded under the "files" tab (see referencing files), or they could reside on some other internet server.

Caution:
By default a "website designed by" link will be positioned just before the closing </body> tag. If you include this string elsewhere, for example within a script, be sure to break the string to avoid this link appearing at an inappropriate place.

Example:
newWin.document.write("some html </"+"body>")

Section templates

Section templates are snippets of HTML, and should not include any page related tags such as <head> or <body>