|Hexamail - Templates - Tags|
Hexamail templates are comprised of HTML and data tags. The tags all start with <?HXM_ and end ?> such as
The output of the web interface is highly dependant on these tags being correct. DO NOT make changes to the tags or pages unless you understand how they work and what changes are acceptable - output information can easily be lost if the tags are wrongly place or incorrect.
The vast majority of the tags only apply within specific contexts, although some can be used more generally, such as the product name tag above. It is usually not applicable to move tags between templates, for example tags from the settings templates will generally be ignored in other pages so will not be filled in when reached.
Note: you should not make changes to the templates in the webui directory directly. See here for more details on editing templates.
Types of tag
There are several types of tags used by Hexamail. Some are direct replacement tags, such as the product name one, where a piece of text is substituted for the tag when found.
More complex forms of tag also exist, however, such as
Another more complex form of tag is the 'option chooser' type such as:
NOTE: this format is also used in the formatting of some very specific control types, such as HXM_MENU_TAB.
Yet another tag type is the start/end block tag. An example of this type is the pair of tags
This start/end style of tag is also used in another way - HTML/text/tags blocks that are to be repeated. For example, within the Advanced Blog Server, HXM_EVENT_COMMENT_ENTRY_START and HXM_EVENT_COMMENT_ENTRY_END tags mark the start and end the HTML output that is to be repeated for each comment posted for a given entry. Within these tags, tags specific to the comment, eg. who left it, are substituted for each comment to build up the list presented in the page.