If your theme uses the
Liferay JS Theme Toolkit,
the
Gulp upgrade
task
automatically updates some of your theme’s metadata as part of the upgrade
process. Follow the steps below to update your theme’s metadata manually:
-
Open your theme’s
liferay-plugin-package.properties
file and change theliferay-versions
property value to7.1.0+
:liferay-versions=7.1.0+
-
Open the
liferay-look-and-feel.xml
file and specify7.1.0+
as the compatibility version:<look-and-feel> <compatibility> <version>7.1.0+</version> </compatibility> ... </look-and-feel>
-
While you’re updating
liferay-look-and-feel.xml
, enable your theme to use Portlet Decorators. -
If your theme uses the Liferay JS Theme Toolkit, the Gulp
upgrade
task updates thepackage.json
file’s Liferay version references to7.1
, and it updates theliferayTheme
’stemplateLanguage
toftl
(since Velocity theme templates are no longer supported):"liferayTheme": { ... "templateLanguage": "ftl", "version": "7.1" },
Your theme’s Liferay version references are updated for Liferay DXP 7.1.