Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Available attributes:

Attribute

Type

Mandatory

Description

classStringNSpecify the CSS class name defined in the CSS field of the widget.
nodeIdBig IntegerStringNDefine the portal node ID.
categorySubjectStringY

Specify a table field that contains category titles.

categoryDescriptionStringYSpecify a table field that contains category descriptions. 
itemSubjectStringYSpecify a table field that contains item titles.
itemDescriptionStringYSpecify a table field that contains item descriptions.
categoryIconStringNSpecify a table column that contains category icons.
itemIconStringNSpecify a table column that contains item icons.

Example:

Code Block
languagexml
titlecategory
linenumberstrue
<Category nodeId="158766114011088368" categorySubject="name" categoryDescription="short_description" itemDescription="vendor" itemSubject="city" itemIcon="icons"></Category>