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 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 template set (e.g. “HTML”) of a style template.

Automatic code completion can be used on template set tabs for tags beginning with $.

For information on the icons of the toolbar, please refer to page Composition of templates, paragraph “General functions”.

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$

© 2005 - 2024 Crownpeak Technology GmbH | All rights reserved. | FirstSpirit 2024.13 | Data privacy