Documentation

Understanding Pages

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

Page Sets

When adding Pages to a site, the pages are created as part of a Site’s Page Set: Public Pages or Private Pages. Public and Private Page Sets are compared below:

Behavior Public Pages Private Pages
Visible to unauthenticated users
Viewing requires Login and Site Membership
Distinct URL pattern

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 Content Page Overview. 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 Categories Navigation widget, and a Tags Navigation 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.