JBoss.orgCommunity Documentation

Manage preferences

Preferences enable you to edit content in the Single Content Viewer (SCV) and the Content List Viewer (CLV), reset the display of the content in SCV and CLV and publish content.

Edit the Single Content Viewer

  1. Turn on the Edit mode.

  2. Select of a Single Content Viewer.

    The Content Detail Preferences dialog appears.

    Details:


    Note

    Hover your cursor over question mark to see a quick help for each section.

  3. Click next to the Content Path to select another content. The Select Content dialog appears.

  4. Select a folder in the left pane, and its content in the right pane. The selected content will be displayed in the Content Path field.

  5. Tick the checkboxes, including Show Title, Show Date and Show Option Bar, if you want to display the content title, the publication date and the print button like the illustration below.

    i. In the Print Setting part, click magnifying glass to open the UIPageselector dialog. You will see Printviewer.

    ii. Click the Print button. The content is opened in the print viewer page.

  6. Click Save to save all your changes.

Edit the Content List Viewer

  1. Turn on the Edit mode.

  2. Select the Preferences icon of a Content List Viewer.

    The Content List Preferences dialog appears.

    Details:

    Field Description
    Content Selection

    Mode: This mode is to select web content for the list viewer. There are two modes:

    • By Folder: This mode allows you to select a content folder in the Folder Path field.

    • By Content: This mode allows you to select by the content in a specific folder in Folder Path field.

    Folder Path: The path to a location of a folder that contains the content.

    Order by: Sort content in the List Viewer by Title, Date Created or Date Modified in ascending or descending order.

    Display Settings

    Header: The title of all content that is listed in the List Viewer.

    Template: The template which is used to view the content list.

    Paginator: The template which is used to view each content in the list.

    Items per Page: The number of items which will be displayed per page.

    The following options which can be shown or hidden by ticking or unticking checkboxes respectively.

    • Show Title: Title of each published web content/document.

    • Show Header: Header of each published web content/document.

    • Show Refresh: The Refresh button at the left bottom of the page.

    • Show Image: The illustration of each published web content/document.

    • Show Date: The created date of each published web content/document.

    • Show More Link: The Read more link to read all the content of web content and/or document.

    • Show Summary: The summary of each web content/document.

    • Show Link: The link of web content/document.

    • Show RSS Link: The RSS link of all content of web content/document.

    Advanced link

    Dynamic Navigation

    • Disable: The single content will be opened by an URL containing the Content Path.

    • Enable: This portlet is configured with the provided parameter (content-id by default).

    • By: This parameter is the key in the URL to let CLV know which really is the path in the current URL.

    • Show in Page: The single content in CLV will be shown in a selected page. You can select any page but should take one with a Content Detail Portlet. The "Dynamic Navigation" is enabled in the Content Detail Portlet that interprets the URL and shows a single content.

    • With: This parameter is the key in the URL to let SCV know which really is the path in the current URL.

    Content Visibility: Allow you to use a cache shared between users to get content. If you want to get content, which are displayed in CLV or SCV, from one cache, select Restricted by Authentication. If not, select Restricted by User Roles.


  3. Browse the documents or web content of an available site by clicking blue plus next to the Folder Path field.

  4. If you select the By Folder mode, select an available site on the left, then select a folder that contains content (documents and/or web content) on the right by clicking the folder.

    If you select the By Content mode, select an available folder from the left pane, all content in this folder will be listed in the right pane. Click content on the right that you want to add to the content list. There will be a message, informing that you have successfully added it to the Content List. The selected content will be listed in the Content List.

  5. Enter a header for the content list in the Header field if you want.

  6. Select a template to display the content list in the template list.

  7. Tick/Untick your desired options.

  8. Click Save to accept your changes.