Key words to search for:

Advanced Search


New Entries!


Contact Support

User Manual

List Templates

Back to Index
Required Components

Required components of a list template

  1. Start template ID
    The ID is specified in the following tag, where xxxx is the ID:
    <!--template_begin id=xxxxxx-->
    This ID can be the type of list template (see table of list template ID's). If this ID is not the same as the list type, you must supply the next component to identify type.
  2. Template Type code
    The type is specified in the following tag, where xxxxx is the template type:
    <!--list_type=xxxxx-->
  3. Row start specification.
    This tag specifies the beginning of a row, which can consist of any number of record columns. any additional HTML needed to format the row should be included within the row tags. All HTML within the row tags will be repeated until all records that meet the listing criteria have been displayed.
    <!--begin_row-->
  4. Column start specification
    This tag specifies the beginning of a record placement within the row tag. There is only one record per column.
    <!--begin_column-->
  5. Column HTML tags are needed for desired cell layout, text, and data fields.
    Data fields from the appropriate database are enclosed in dynamic markers.
    example: <td>Item: {{field_name}}</td>
  6. Column end specification
    <!--end_column-->
  7. Ending row HTML tags needed for row layout.
    </tr> (Or <br>,<p> when not using table layout.)
  8. Row end specification
    <!--end_row-->
  9. Template end specification
    <!--template_end id=xxxxx--> (where xxxx specifies same template ID)

The HTML is simplified in the examples above. Any HTML tags can be placed within the template to produce images, tables, specify fonts, color, and text size, and formatting options. Just remember, all table HTML tags must be complete, the script will not insert any for you.


Related Topics: