Updating 6.2 Project Metadata

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:

  1. Open your theme’s liferay-plugin-package.properties file and change the liferay-versions property value to 7.1.0+:

    liferay-versions=7.1.0+
    
  2. Open the liferay-look-and-feel.xml file and specify 7.1.0+ as the compatibility version:

    <look-and-feel>
            <compatibility>
                    <version>7.1.0+</version>
            </compatibility>
    
            ...
    
    </look-and-feel>
    
  3. While you’re updating liferay-look-and-feel.xml, enable your theme to use Portlet Decorators.

  4. If your theme uses the Liferay JS Theme Toolkit, the Gulp upgrade task updates the package.json file’s Liferay version references to 7.1, and it updates the liferayTheme’s templateLanguage to ftl (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.

Updating 6.2 CSS Code

Developing Themes

« Running the Gulp Upgrade Task for 6.2 ThemesUpdating 6.2 CSS Code »
Was this article helpful?
0 out of 0 found this helpful