Creating a Template

The template merging process uses the same system as the custom view feature to merge data with the HTML.

For comprehensive details on how this works, please refer to Creating Custom Views A few things should be kept in mind that are specific to creating skin templates:

  1. The overall file must be wrapped in a $Root$ and $end$ tag.

  2. The data that is merged with the file depends on the specific template file being replaced. 

There is also one additional command, 'include', that can be used to help componentize a web page into several files. This is used, for example, to split up the record and data list templates into separate files.

The format of this command is:

~#include:filename~

...where 'filename' is the name of the file to include. This will then import that file and insert it into that location in the template, processing it in exactly the same context.


Next Topic:
v4.2.0.956 (beta)
Up Since 2/29/2024 12:02:23 AM