Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
A knowledge base page consists of the following elements:
- a <breadcrumbs> widget that allows navigation within the portal pages structure.
- a <sidemenu> widget that adds a sidemenu.
- a <categoryFlat> widget that displays object categories.
These widgets interact with each other.
The page references the dedicated portal node with the following attributes:
Field | Value |
---|---|
Enable Dynamic Nodes | true |
Category Parent Column | Parent KB Category (parent_knowledge_base_category) |
Breadcrumbs widget configuration
To configure breadcrumbs, use the attribute values as in the example below. Type these values in the Template field of the breadcrumbs widget form:
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<div class="portal__breadcrumbs customized"> <breadcrumbs> </div> |
After that, define the breadcrumbs view in the CSS field of this form:
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
.customized { font-family: Tahoma,Verdana,Segoe,sans-serif; } |
Sidemenu widget configuration
To configure a sidemenu widget, use the following template:
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<SideMenu parentsDepth="1" childrenDepth="1" includeCategories="1" includeItems="1">\ </SideMenu> |
CategoryFlat widget configuration
To configure a categoryFlat widget, use the following template in the Knowledge Base List widget instance:
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<CategoryFlat nodeId="158934872713077631" categorySubject="name" categoryDescription="description" itemDescription="body" itemSubject="name" date="sys_created_at" user="sys_created_by"></CategoryFlat> |
Table of Contents | ||
---|---|---|
|