Adding a Page to a Site

Adding and customizing pages is a key part of managing your Liferay site. You can add pages using the Pages application or through the Page Tree menu.

Note

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 Using the Pages Application

  1. Open the Site Menu (Site Menu), expand Site Builder, and click Pages (1).

  2. To create a new page, click New and select Page (2).

    Add a page to the site.

  3. To create a child page, click Add (Add Button) next to an existing page and select Add Page.

    Click Add next to an exiting page to create a new child page.

    Tip

    Using the Actions menu (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.

  4. 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.

    Select a Basic or Global template for your page.

  5. In the Add Page dialog, enter a name and click Add.

If you created a content page, the page editor appears for adding fragments and widgets; if you created a widget page, the page’s configuration options appear.

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.

Tip

By default, new pages are added to the navigation menu for the site. To configure this navigation menu, see Using the Navigation Menus Application.

Adding a New Page Using the Page Tree Menu

Liferay DXP/Portal 7.3+

  1. Open the Site Menu (Site Menu) and click Page Tree (Page Tree).

  2. Click Add (Add Button) and select Add Page.

    Adding a new page using the page tree menu.

  3. To create a child page, click Actions (Actions Button) next to an existing page and select Add Child Page.

    Adding a child page using the page tree menu.

  4. Follow the standard steps for adding a new page.

Tip

Pages in draft status have an asterisk (*) next to their names in the page tree.

Previewing Pages

You can preview the created pages before making them live or to identify the ones that need work:

  1. Open the Site Menu (Site Menu), expand Site Builder, and click Pages.

  2. Click Actions (Actions Icon) next to the page you want to preview and select View.

    You can preview pages before working on them.

Tip

When multiple experiences are in place, users with edit page permissions can view/preview the page based on the selected experience.

Capabilities

Product

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy