Versions Compared

Key

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

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

The following attributes are applicable to the tagAvailable attributes:

Attribute

Type

Mandatory

Description

classStringNSpecify the CSS class name defined in the CSS field.
nodeIdBig IntegerNDefine the portal node ID.
categorySubjectStringY

Specify a table field containing category titles.

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


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