Understanding Pages

Pages render content and applications for users of a site.

Page Sets

If you enable private pages, two page sets are created: 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:

BehaviorPublic PagesPrivate 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.

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 managed easily and have their content edited in-line. Content pages are built primarily using page fragments and widgets.

Content pages can be composed of multiple fragments.

Content pages have additional features and benefits:

See Using Content Pages for more information. 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

Content pages and widget pages differ in the following ways:

FeatureContent PagesWidget 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 other page types, each fulfilling 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. Default templates are Global Templates, but your additional collections appear when you create them.

Global Page TemplateDescription
SearchCreates a widget page containing 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

You can create a page hierarchy using child pages. Child pages are useful if you have multiple pages organized into categories.

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

Tip

You can navigate among pages in 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) and go to Control PanelSystem Settings.

  2. Go to Release Feature Flags.

  3. In the Disabled Features drop-down menu, select Disable Private Pages.

    Select disable private pages.

  4. Click Save.

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

Capabilities

Product

Contact Us

Connect

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