Start page / Templates (basics) / Composition of templates / Format templates / Use

Using format templates

To date, format templates could be used in the input components: DOM Editor and DOM Table.

By default, all format templates which exist in the project are available in these input components. If only specific format templates are to be selectable they must be made known in the form area. This can be done by using the <FORMATS> tag. Each format template which may be used by the editor within this input component is given in a separate <TEMPLATE> tag:

<TEMPLATE name="Tag of the format template">

The format template is referenced via the “name” attribute with the unique abbreviation (cf. page Properties).

Example of the DOM editor

<CMS_INPUT_DOM name="st_cmsInputDom" ...>
<TEMPLATE name="p"/>
<TEMPLATE name="pre"/>
<TEMPLATE name="u"/>

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