Start page / Templates (basics) / Composition of templates / Inline tables / Style templates / Template set tab
Template set tab
A separate tab is displayed for each template set or presentation channel created by the administrator for a project in the ServerManager application. The values that have been entered in the input components can be read back out in the presentation channel (e.g. “HTML”) of a style template.
Line numbering can be shown or hidden using the icon in the top right-hand corner.
Search in templates
The following icons are used to run searches in templates:
Find (Ctrl+F): Opens a window in which the user can search for text.
Replace (Ctrl+R): Opens a window in which the user can search for and replace text.
Next occurrence (F3): Jumps to the next search result.
Previous occurrence (Shift+F3): Jumps to the last search result.
Undo (Ctrl+Z): Undoes the last change.
Redo (Ctrl+Y): Restores changes that have been undone.
Instructions for reading out values
In order for the values entered in the input components to be read back out, the name of the input component must be output using the $CMS_VALUE(...)$ instruction:
$CMS_VALUE(if(bgcolor != null, " bgcolor=" + bgcolor, ""))$
or
$CMS_IF(!bgcolor.isEmpty)$$CMS_VALUE(bgcolor)$$CMS_END_IF$