O'Reilly logo

Liferay User Interface Development by Frank Yu, Xinsheng Chen, Jonas X. Yuan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building the theme as WAR file and deploying It

Now the theme has been created and updated with your own files. It is time to build and deploy it in Liferay Portal.

Packaging the theme as WAR File

As explained in Chapter 1, Liferay Portal packages files in _unstyled directory for a basic skeleton theme and files in _styled directory for basic styling for the skeleton theme. When you customize your own theme, you save your changes in your theme's /docroot/_diffs directory. Now you get the files in the following three directories:

${PORTAL_ROOT_HOME}/html/themes/_unstyled
/css
/images
${PORTAL_ROOT_HOME}/html/themes/_styled
/css
/images
/js
/templates
${PORTAL_ROOT_HOME}/themes/{your.theme}/docroot/_diffs
/css
/images
/js
/templates

When a new theme ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required