O'Reilly logo

Liferay Portal Systems Development by 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

Theme plugins

We have discussed the layout template plugins in the previous section. This section is going to address theme plugins.

Theme default template

Liferay Plugins SDK provides theme project's default template. This default template has the following structure. The theme project folder name is represented as @theme.name@-theme. For example, @theme.name@ has value so for social office theme. Under the folder @theme.name@-theme, there is a folder named docroot and an XML file called build.xml. As you can see, build.xml contains the following code:

<project name="@theme.name@-theme" basedir="." default="deploy">
   <import file="../build-common-theme.xml" />
   <property name="theme.parent" value="_styled" />
</project>

This means that when your newly ...

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