Congratulations! You’ve learned how to build a theme from start to finish. So what’s next? Now that you’ve created a theme, you can publish it to Liferay’s Marketplace for others to download. You can read about Marketplace and the requirements for publishing in our Publishing Your App guide.
Before you publish your theme to Marketplace make sure you update your
liferay-plugin-package.properties file for the Resources Importer so it can
run properly in a production environment. Follow these steps to configure your
liferay-plugin-package.propertiesfile in the
WEB-INFfolder of the theme and set the developer mode property to
The theme resources will overwrite the existing portal resources only on initial deployment now. Now that developer mode is disabled, you’ll need to remove one additional property.
Remove the following code from the file:
This ensures that the resources will be imported into the site template by default.
There you have it! As you can see, theme development is a multi-headed beast, but with careful planning and a thought out process you can tame it and develop a well designed theme.