You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Use the <categoryFlat> tag to display various portal object categories, for example, Knowledge Base categories. It involves two element types: subcategories and category elements. A subcategory is the first item in the hierarchy, and category elements are the second.

Available attributes:

AttributeTypeMandatoryDescription
classStringNSpecify the CSS class name defined in the CSS field of the widget.
nodeIdStringNDefine the portal node ID.
categorySubjectStringY

Specify 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.
userStringNSpecify a column that contains the information about the item originator (for more details, see the example below). 
dateStringNSpecify a column containing the item creation date and time (for more details, see the example below).
previewStringNSpecify a column that contains information for the card preview.

Example:

categoryFlat
<CategoryFlat nodeId="158934872713077631" categorySubject="name" categoryDescription="description"  itemDescription="body" itemSubject="name" date="sys_created_at" user="sys_created_by"></CategoryFlat>


  • No labels