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 file for the Resources Importer so it can run properly in a production environment. Follow these steps to configure your file:

  1. Open the file in the WEB-INF folder of the theme and set the developer mode property to false.


    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.

  2. Uncomment the required-deployment-contexts:

  3. 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.

« Responding to Tablet and Phone ViewsIntroduction to Writing an Android App with Liferay Screens »
Was this article helpful?
0 out of 0 found this helpful