Content Grid for Customer Portal

This new feature enables you to display images from articles in a grid instead of a table of links when browsing specified content types. 

Content Grid

Business Value:

More visual experience for small record-sets such as News or Alerts

Steps to Enable

Prerequisites

  1. Create the desired Content Types in Knowledge Advanced Authoring (if you do not already have them).
  2. Add a root schema attribute (cannot be in a node) of type "File attachment" to these Content Types.

NOTE: Only images uploaded to this special schema attribute will be displayed in the Customer Portal grid.

Enabling Grid UI Design

The okcs/AnswerList widget currently provides two options for displaying content:

  1. List View
  2. Tabular View

A third type of view been added to this widget: Grid View.  Review these options on the widget:

Attribute Default Required Description
view_type table Yes Should be set to "grid" to enable this feature.
grid_contenttype_list   Yes, if using the grid view_type ??? Comma-delimited list of content type reference keys you wish to have display using the grid.
grid_num_of_rows ?   Number of rows in the grid layout.
grid_num_of_columns ?   Number of columns in the grid layout.
grid_schema_attr   Yes, if using the grid view_type The reference key of the attribute containing the image to be displayed in the grid.

Tips And Considerations

  • Note that the grid will be sorted such that the most recently published article will be displayed first.
  • Articles of Content Types added by the user in the list will be displayed in the specified grid layout.
  • Articles of Content Types not included in the list will be displayed in the traditional table layout.