Enabling User Personalization of Widget Pages
Administrators can designate some or all sections (rows and columns of the page layout) of a Widget Page as customizable for site members. Page customizations only appear for the user who made the customizations. The steps below cover these topics:
Enabling Page Customizations
Open the Liferay DXP Menu and go to Site Builder → Pages under your site’s menu.
Open the Actions menu next to the page you want to let site members modify and select Configure.
Select the Advanced tab at the top of the page and expand the Customization Settings panel.
Toggle the Customizable option to Yes.
Toggle the Not Customizable option to Customizable for each section you want to make customizable.
Customizing Pages
With customization activated for a page, site members can add apps to the customizable sections of the page from the Add menu in the top right. Site members can make two kinds of customizations to customizable regions:
- Add or remove apps
- Configure applications
Site members can’t change a non-instanceable app’s configuration inside a customizable region since those apps are tied to the site where they’ve been added.
Site members have access to these contextual options from the page’s Options menu () in the Control Menu:
View Page without my customizations: Displays the default page and hides the Add menu.
Reset My Customizations: Restores the customized page back to the default page, discarding any customizations.
View My Customized Page: Displays the page with the user’s customizations and makes the Add menu available so users can add widgets to the page.
Administrators of customizable pages have the same two views as site members: the default page view and the customized page view. Changes they make to the non-customizable sections of the default page affect all users just like other pages, while changes they make to the customized sections affect only themselves and do not overwrite users’ customizations.
Granting Roles Permission to Customize Pages
By default, site members can make page customizations but non-site members and guests can’t. Administrators can update permissions for an existing role or create a new role and assign it to other users to enable them to customize pages. Follow these steps to grant role permissions to customize pages:
Open the Liferay DXP Menu and go to Control Panel → Users → Roles.
Open the Actions menu for the role and select Edit.
Click the Define Permissions tab for the role and go to Site Administration → Site Builder → Pages under Summary.
Scroll down to the Page section under the Resource Permissions heading and check the Customize permission.
Scroll down and click Save to apply the changes.
The Customize permission also lets users customize the look and feel of apps and import or export app settings.