Child pages
  • Working with Html Page Templates

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

Mode: Website (SportzVault)

Menu: Content >> HTML Pages >> Templates

Image Added

Frequently used Html content can be saved as a template, for easy reuse later when creating a new HTML page

To create a new HTML Page based on a template

  1. Choose Content...Html Pages...General Pages . The Html Page Manager screen opens.
  2. Next to the Add New Page... label, select select a template from the list and click Go. The new page will contain a copy of the template's contents.
  3. Follow the instructions for creating a new HTML page.

Template Maintenance

To create a template

Creating a template

There are two ways to create a template:

  • From an existing Html page
    1. Open the Html page for editing (via one of the options under the Content...HtmlPages menu
    2. Optionally make changes to the Html
    3. Enter a filename in the Template Filename text box (located beneath the editor). It is recommended to give the template a descriptive Filename, and it must have an extension of .htt.
      An example of a Filename would be Social Event.htt Note: if the file already exists, it will be replaced.
    4. Click the Save as Template button
  • From the Html Template ManagerFrom the Html Template Manager
    1. Choose Content...HtmlPages...Template Manager. The Template Manager screen opens.
    2. Click Add new Template. The Html page Maintenance screen opens
    3. Create the Html content
    4. Enter a filename in the Template Filename text box (located beneath the editor). It is recommended to give the template a descriptive Filename, and it must have an extension of .htt.
    5. An example of a Filename would be Social Event.htt. Note: if the file already exists, it will be replaced. Click the Save as Template button

Editing a template

  1. Choose Content...HtmlPages...Template Manager. The Template Manager screen opens.
  2. Click the Edit link of the template to delete.
  3. Change the content as desired
  4. Change the content as desired
  5. Click the Save as Template button

...

Additionally, there are a number of Global templates available for common pages. These always appear at the top of the templates list, and are prefixed by G_.

Creating a new Html document based on a Template

  1. Choose Content...Html Pages...TemplatesGeneral Pages . The Template Html Page Manager screen opens.Click 
  2. Next to the Add New Template . The Html Page Maintenance screen opens.
  3. The Page Identifier field is not applicable for templates and is greyed out.
  4. Enter the Page Content of the template in the Html Editor
  5. When finished, enter a Template Filename in the field beneath the Editor. The filename must have a _ .htt_extension.
  6. Click Save as Template to save the template. If a template of the same Filename already exists, it will be overwritten.

Editing a Template

  1. Choose Content...Html Pages...Templates . The Template Manager screen opens.
  2. Click the Edit link next to the template you wish to Edit. The Html Page Maintenance screen opens.
  3. The Page Identifier field is not applicable for templates and is greyed out.
  4. Enter the Page Content of the template in the Html Editor
  5. The Template Filename is automatically populated in the field beneath the Editor. This may be kept, or changed (if changed it is the equivalent of a 'Save As')
  6. Click Save as Template toto save the template. If a template of the same Filename already exists, it will be overwritten.

Deleting a Template

  1. Choose Content...Html Pages...Templates . The Template Manager screen opens.
  2. Click the Delete link next to the template you wish to Delete and click OK to the confirmation message box

Creating a new Html document based on a Template

...

  1. Page... label, select select a template from the list and click Go. The new page will contain a copy of the template's contents.
  2. Follow the instructions for creating a new HTML page.