O'Reilly logo

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

Customizing Velocity templates in themes

The hot-deployable themes use Velocity for cleaner code and better maintainability by default. In this section, we will first discuss which default Velocity templates are being used in themes. Then we will address how to add customized Velocity templates in both the drop-down menu and the navigation bar. In addition, we will introduce how to set up default customized themes and layout templates in the portal.

Using default Velocity templates

Themes with the Velocity templates customize the overall look and feel of the portal. As you can see, the dock Welcome Test Test! with a list of drop-down links is specified via Velocity templates. Before logging in, you only see two links in the dock by default: Home ...

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