Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Merged branch "DOC0000070" into parent

The Use the <category> portal tag allows displaying portal  tag to display portal categories and items structure. It interacts can interact with some other widgets, for example, 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 of the widget.
nodeIdBig IntegerStringNDefine the portal node ID.
categorySubjectStringY

Specify a table field containing column that contains category titles.

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

Example:

Code Block
languagexml
titlecategory
linenumberstrue
<Category nodeIdcategorySubject="158766114011088368name" categorySubjectcategoryDescription="namedescription" categoryDescriptioncategoryIcon="short_descriptionimage" itemDescription="vendordescription" itemSubject="cityname" itemIcon="iconsimage"></Category>

The template above displays categories on the page:

Image Added