Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Generally, a knowledge base page consists of the following elements:
- The <breadcrumbs> widget that allows navigating breadcrumbs widget allowing navigation within the Portal portal pages structure.
- The <sidemenu>sidemenu widget that allows adding adding a sidemenu.
- The <categoryFlat> widget that allows displaying object categoryFlat widget displaying object categories.
These widgets interact with each other.
Image Added
The page references the dedicated portal node
withwith 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 correctly, it is preferable to use the attribute values as in the example below (type these values in the Template field of the <breadcrumbs> breadcrumbs widget form):
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<div class="portal__breadcrumbs customized"> <breadcrumbs> </div> |
After that, you can define the breadcrumbs view in the CSS field of this form:
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
.customized { backgroundfont-family: #FFFFFF; padding: 9px 0px 8px 16px; Tahoma,Verdana,Segoe,sans-serif; } |
Sidemenu widget configuration
To configure a a sidemenu widget, it is preferable to follow the recommendations when filling in the attribute values. You can use the example below as a pattern:
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<SideMenu parentsDepth="1" childrenDepth="1" includeCategories="1" includeItems="1">\ </SideMenu> |
CategoryFlat widget configuration
To configure a a categoryFlat widget, it is preferable to follow the recommendations when filling in the attribute values. You can use the example below as a pattern:
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 | ||
---|---|---|
|