Home: Genealogy: Templates:

View Template: Help

This page is used to provide a user-friendly view of a template file. Template files are used to hold the presentation information for a page, separating it from the application logic which organizes information obtained from the server or the network.

The page displays the template in two forms:

  1. The left half of the page displays the template as it implements the presentation. That is each element of the template is displayed as it will appear to the end user, except that substitution points, where information is inserted from the server, appear as either a dollar sign followed by the name of the substitution point, for example $PAGE, or as the name of the substitution point enclosed in double curly braces, for example {{PAGE}}. In addition all of the popup dialogs, which are normally hidden until invoked by user action, are displayed. Note that the TRACE insertion point is displayed according to the CSS class "warning" which defaults to dark yellow text, while the MSG insertion point is displayed according to the CSS class "error" which defaults to red text.
  2. The right half of the page displays the raw HTML, or XML, or JSON, of the template.
James Cobban Logo Contact Author
Home: Genealogy: Templates: