2. Component types

A Component type is a template for a single block, that can be displayed by the CMS.

image.png

A component type is composed of 4 attributes:

The name
Just the name shown in the dropdown, when selecting a component type for a page component.

The tags
A list of system names for the fields that are used in the template.
To disable caching of a component type, remove CACHEOUTPUT from the tags, and the field won't be available on those page components.

The preview image
A sample image, that will be shown when selecting the component type for a page component.

The template
Either:
An ID of an HTML template, defined as a template in the designer.
The raw HTML template.


Revision #4
Created 15 October 2026 08:09:59 by Theis Villumsen
Updated 15 October 2026 12:37:46 by Theis Villumsen