Documentation

Scoping Your Message Boards

Multiple message boards can be created and managed on the same DXP instance at the same time. This can be accomplished by scoping each message board to a particular scope. The Global, Site, or Page Scopes are available. The following sections show administrators how to setup Message Boards in each of these scopes.

Global

Content created at the global site scope level is available on all other sites but is not automatically visible on every site page.

Creating a Globally Scoped Message Board

To create a message board in the global scope, follow these steps:

  1. Navigate to the site page where a Message Boards widget has been deployed (for example, Liferay DXP’s Forum).

  2. Click Options (widget options) → Configuration.

  3. Click Scope.

  4. Select Global from the Scope dropdown menu.

    Figure 3. Selecting the Global scope

  5. Click Save and close the window.

The Message Boards widget is now configured to display and create threads at the Global scope.

Figure 4. Viewing globally scoped content on another site

Managing a Globally Scoped Message Board

To centrally manage a globally scoped message board:

  1. Open the Product Menu (Product Menu), then click the compass icon (Compass) on the Site Administration menu. This opens the Select Site dialog.

  2. Select the My Sites tab, then select Global.

    Figure 1: Select the Global site from the site selector.

  3. Select Message Boards from the Content & Data menu.

    Figure 2: After changing to the global scope, select Message Boards from the Content & Data menu in Site Administration.

Any changes made here apply to the global scope.

Site

By default, the Message Boards app is scoped to the current selected Site. Message Boards scoped to a particular site are not visible when viewing Messages Boards that may be deployed on another site in the same instance.

Page

Creating page scoped message boards allows forum members to view different message boards on different pages housed on the same site. The example below has the same content on both site pages (Forum 1 and Forum 2.)

Creating a Page Scoped Message Board

To create a page scoped message board, follow these steps:

  1. Navigate to the page that which will be scoped (Forum 2).

  2. Click the Options icon (Options) in the widget’s title bar and select Configuration.

  3. Click the Scope tab.

  4. Select the page’s name or [YOUR-PAGE] (Create New) if the page scope doesn’t exist yet.

    Figure 6. page scoped content

  5. Click Save then close the dialog window.

    Figure 7. Viewing page scoped content

The Message Boards Categories and Threads added on the Forum 2 page will be displayed only on that page.

Managing Page Scoped Message Board

Note that administrators must still use the Site Administration menu to administer a page scoped Message Boards widget by setting the Site Administration menu’s active scope. Follow these steps to do this:

  1. Open the Product Menu (Product Menu), expand the menu for your Site, then expand Content & Data.

  2. The current scope appears just below the Content & Data heading. Default Scope is the current Site. To change this, click the gear icon (Gear) and then select your desired scope. This changes the Site Administration menu to reflect scope you selected. To work in a page’s scope, for example, select that page from the gear icon. That page’s name then becomes the Site Administration menu’s title.

    Figure 8: Select the page's scope under the Content & Data menu in Site Administration.

  3. Select Message Boards from the Content & Data menu. Any changes you make here apply to the scope that you selected in the previous step.