Documentation

Understanding Pages

Pages on Liferay DXP are primarily used to display content and applications to users of a Site.

Page Sets

When Private Pages are enabled, a Site’s Pages are organized into two Page Sets: Public Pages and Private Pages.

Note

For Liferay 7.4 U22+ and GA22+, private pages are disabled for new installations. However, you can enable them if desired. See Enabling Private Pages for more information.

Public and Private Pages differ in the following ways.

Behavior

Public Pages

Private Pages

Visible to unauthenticated users

Viewing requires Login and Site Membership

Distinct URL pattern

Public Pages use the [web-address]/web/[site-name] URL pattern, while Private Pages use [web-address]/group/[site-name].

Page Types

There are several page types available when you add a page. The default page type is a Content Page. You can also create a page based on a Page Template. Page Types and Page Templates are described in more detail below.

You must select a page type when adding pages.

Tip

The Page Type of the currently viewed page appears at the top of the page to help you determine the administration options you have and where you need to go to configure the page.

Content Pages

Content Pages enable users to build professional pages that can be easily managed and have their content edited in-line on the fly. Content Pages are primarily built using Page Fragments, but also allow widgets.

Content Pages can be composed of multiple Fragments.

Using Content Pages allows access to additional powerful features and benefits:

To learn more about Content Pages, see the Using Content Pages. To jump right into building one, see Adding Elements to Content Pages.

Widget Pages

A Widget Page is a page with a set layout that allows widgets (applications) to be displayed. Widgets can display content or add interactive and dynamic functionality to the page. When you first start Liferay Portal, the starting home page is a Widget Page. See Adding Widgets to a Page for more information.

Widget Pages can provide a number of functions, such as a dedicated Wiki Page solution.

Content Pages and Widget Pages Compared

This table compares some of the distinctions between a Content Page and a Widget Page:

Feature

Content Pages

Widget Pages

Ability to Add Widgets

Personalized Site Experiences

Access to A/B Testing

Easy Layout and Content Editing

Advanced Custom Layouts

User-Customizable Columns

Staging Page Variations

Other Page Types

There are several other page types that are available - each can help to satisfy particular use cases. See Other Page Types for more information.

Global Page Templates

When adding a page, you also have the option to choose a Page Template. Page Templates are pre-set pages with applications already deployed to the page. By default, only Global Templates are available, but additional collections you create appear as an option as well.

Global Page Template

Description

Blog

Creates a Widget Page with a Blogs widget, a Tag Cloud widget, and a Recent Bloggers widget.

Search

Creates a Widget Page with a Search Bar widget, a Search Results widget, and a Search Options widget.

Wiki

Creates a Widget Page with a Wiki widget, a Category Filter widget, and a Tag Filter widget.

Learn more about Page Templates:

Child Pages and Page Hierarchy

Pages can also be created in a hierarchical fashion by creating Child Pages. Child Pages can be useful if you have multiple pages that can be organized into categories.

You can add a child Page to a top-level page to organize pages hierarchically.

Tip

You can navigate among pages of a Site hierarchy with the Site Map application. A Site Administrator can configure a root page and a display depth. The display depth of the Site Map application determines how many levels of nested pages to display.

Enabling Private Pages

For Liferay 7.4 U22+ and GA22+

By default, new Liferay installations include a release feature flag that prevents users from creating Private Pages. If desired, follow these steps to enable Private Pages for your Liferay system:

  1. Open the Global Menu (Global Menu), go to the Control Panel tab, and click System Settings.

  2. Go to Release Feature Flags.

  3. In the Disabled Features dropdown menu, select Disable Private Pages.

    Select Disable Private Pages.

  4. Click Update.

Tip

If you ever want to disable Private Pages again, deselect Disable Private Pages and click Update.