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.
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.
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 have additional features and benefits:
- Personalized and adaptive site experiences
- A/B testing
- Approachable content and site building experience
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.
Content Pages and Widget Pages Compared
Content pages and widget pages differ in the following ways:
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 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 Template | Description |
---|---|
Search | Creates 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 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:
-
Open the Global Menu () and go to Control Panel → System Settings.
-
Go to Release Feature Flags.
-
In the Disabled Features drop-down menu, select Disable Private Pages.
-
Click Save.
If you want to disable private pages again, deselect Disable Private Pages and click Update.