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

Re-building Classic theme in Plugins SDK

What is the role that a Velocity template places in a Liferay theme? To answer this question, we first create a theme.

We start with Liferay's Classic theme. The Classic theme is written in Liferay's core environment. We will re-generate this theme in the Plugins SDK. It is worthwhile to do this because we can then base our custom themes on this newly-generated theme.

  1. In the ${PLUGINS_SDK_HOME}/themes/ directory, run the following:
    create.bat store Store
    
  2. This will create a store-theme/ directory, which is for the Store theme
  3. Find the css/, images/, js/, and templates/ directories in the ${AS_ROOT_HOME}/html/themes/classic/ folder. The four directories contain the files for the Classic theme. The templates/ ...

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