Adding a Page to a Site
The steps below describe how to add a new page to your site and configure the general options. To learn how to configure the remaining page settings, see Configuring Individual Pages, or see Configuring Page Sets to configure options for a page set.
For Liferay 7.4 U22+ and GA22+, private pages are disabled for new installations. To enable them, see Enabling Private Pages for more information.
Adding a New Page
You can add a new page from the pages administration screen or from the page tree (Liferay DXP 7.3+ only).
Adding a New Page from Pages Administration
-
Open the Site Menu (), expand Site Builder, and click Pages.
-
Click Add () and select Page.
-
Under Page Template Sets, select a Basic or Global template.
To start with an empty content page, select the Blank master page template.
Alternatively, select from other available templates.
-
In the Add Page dialog, enter a name and click Add.
If you created a content page, you’re redirected to the draft content page where you can begin adding fragments and widgets.
If you created a widget page, you’re redirected to the page’s configuration options.
By default, new pages are included in the navigation menu for the site. To configure this navigation menu, see Using the Navigation Menus Application.
Adding a New Page from the Page Tree Menu
Available: Liferay DXP/Portal 7.3+
-
Open the Site Menu () and click Page Tree ().
-
Click Add () and select Add Page.
-
Follow the standard steps for creating a page, as shown in Adding a New Page.
Pages in the draft status have an asterisk (*) next to their name in the page tree.
Adding a Child Page
You can add child pages from the page administration or the page tree (Liferay DXP 7.3+ only).
Adding a Child Page from Pages Administration
-
Open the Site Menu (), expand Site Builder, and click Pages.
-
Click Add () for an existing page.
-
Follow the standard steps for creating a page, as outlined in Adding a New Page.
Using the Actions menu () next to the page, you can preview a content page draft (Liferay DXP 7.2+). These options are available for pages in draft status and users with page editing permission.
Adding a Child Page from the Pages Tree
Available: Liferay DXP/Portal 7.3+
-
Open the Site Menu () and click Page Tree ().
-
On the desired page, click Actions () and select Add Child Page.
-
Follow the standard steps for creating a page, as outlined in Adding a New Page.
Previewing Pages
You can preview pages you create before making them live or to identify the ones you need to work on:
-
Open the Site Menu () and select Site Builder → Pages.
-
Click Actions () on the page you want to preview and select View.
If users are logged in and have permission to edit the page, and there are multiple experiences in place, they can view/preview the page based on an experience they select.