oo

Understanding Pages

Pages display content and applications to users of a site.

Page Sets

When private pages are enabled, the 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 by default for new installations. See Enabling Private Pages if you want to enable them.

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 currently viewed page’s type 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

With content pages, users can build professional pages that can be easily managed and have their content edited in-line. Content pages are primarily built using page fragments and 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 start building one, see Adding Elements to Content Pages.

Widget Pages

A widget page has a set layout for displaying widgets (applications). Widgets can display content or add interactive and dynamic functionality to the 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 available page types - each satisfies particular use cases. See Other Page Types for more information.

Global Page Templates

When adding a page, you can also 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 also appear as an option.

Global Page Template Description
Search Creates a widget page with the following widgets: Search Bar, Suggestions, Site Facet, Type Facet, Tag Facet, Category Facet, Folder Facet, User Facet, Modified Facet, Search Results and Search Options.

See Creating a Page Template to 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. 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 Save.

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

Capability: