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:
-
Navigate to the site page where a Message Boards widget has been deployed (for example, Liferay DXP’s Forum).
-
Click Options () → Configuration.
-
Click Scope.
-
Select Global from the Scope dropdown menu.
-
Click Save and close the window.
The Message Boards widget is now configured to display and create threads at the Global scope.
Managing a Globally Scoped Message Board
To centrally manage a globally scoped message board:
-
Open the Product Menu (), then click the compass icon () on the Site Administration menu. This opens the Select Site dialog.
-
Select the My Sites tab, then select Global.
-
Select Message Boards from the Content & Data menu.
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:
-
Navigate to the page that which will be scoped (Forum 2).
-
Click the Options icon () in the widget’s title bar and select Configuration.
-
Click the Scope tab.
-
Select the page’s name or [YOUR-PAGE] (Create New) if the page scope doesn’t exist yet.
-
Click Save then close the dialog window.
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:
-
Open the Product Menu (), expand the menu for your Site, then expand Content & Data.
-
The current scope appears just below the Content & Data heading. Default Scope is the current Site. To change this, click the gear icon () 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.
-
Select Message Boards from the Content & Data menu. Any changes you make here apply to the scope that you selected in the previous step.