Page versioning works only if staging is enabled. This functionality has two main advantages:
Allows users to work in a parallel way on a different version of the page
Keeps a history of the page and gives users a backup point
Enabling page versioning is a simple process. Perform the following steps:
Login as an administrator, go to Admin | Site Administration | Configuration and open the Staging tab.
Select Enabled On Public Pages in the Versioning section.
Confirm by clicking on the Save button.
After enabling versioning, the dockbar should present the following information:
Working with page versioning is similar to working with code repositories such as Git or Subversion. This mechanism is connected with all sites (LayoutSet
) and with specific pages (Layout
). This means that it is possible to version the entire site or a single page. Moreover, Liferay provides a feature to branch changes. This functionality will be useful if a user wants to...