This tab lists all templates, which are a part of the theme, and allows the administrator to manage them. The button ‘Preview' (template icon with a magnifying glass) opens the front-end in a pop-up window, so that the administrator can preview the changes made. Since not all templates are describing entire pages, and some may even be not visible (a category element template, when there are no categories, for example), it is impossible to direct the preview to the specific template being modified.
The template creation and edit form has the following fields:
- File ID – this field is a read-only, unique and internal system template ID. It is also displayed in the URL as a part of the query string.
- File Name – this field contains the template file name. It is not possible to change the file name online. The name can be entered when creating a new template (it must be unique within the directory of the template), and it can be later changed via FTP or direct access to the web server.
- Description – this field contains the internal description of the template. It is not used on the front-end.
- Item Tags – this dropdown shows all available item attribute tags. An item attribute tag displays the value of the attribute for each given item in an element template. Not all attributes are applicable to all items.
- Global Tags – this dropdown shows all global system tags, for the In-portal platform and for each installed module. The global tags can be generally used in all templates, but in certain places they will not make sense.
- [Template Body] – this field has no label, but it is clear that it contains the actual body of the template.