Skip to main content
Version: 1.22.3

category

Use the <category> tag to display portal categories and items structure. It can interact with other widgets, for example, the <breadcrumbs> or <sidemenu> widgets.

Available attributes:

AttributeTypeMandatoryDescription
classStringNSpecify the CSS class name defined in the CSS field of the widget.
nodeIdStringNDefine the portal node ID.
categorySubjectStringYSpecify a column that contains category titles.
categoryDescriptionStringYSpecify a column that contains category descriptions.
itemSubjectStringYSpecify a column that contains item titles.
itemDescriptionStringYSpecify a column that contains item descriptions.
categoryIconStringNSpecify a column that contains category icons.
itemIconStringNSpecify a column that contains item icons.

Example:

category
<Category 
categorySubject="name"
categoryDescription="description"
categoryIcon="image"
itemDescription="description"
itemSubject="name"
itemIcon="image"
></Category>

The template above adds the following element to the page: