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

The following attributes are applicable to the tag:

Attribute

Type

Mandatory

Description

classStringNSpecify the CSS class name defined in the CSS field.
nodeIdBig IntegerNDefine 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.


category
<Category nodeId="158766114011088368" categorySubject="name" categoryDescription="short_description" itemDescription="vendor" itemSubject="city" itemIcon="icons"></Category>


  • No labels