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

Controlling the look and feel of a page with themes and layout template

As explained in Chapter 2, portal_normal.vm file of each theme includes different sections to generate HTML5 elements as well as the theme's components including Dockbar, header with logo, navigation menus, portlet contents, footer, and so on. The CSS, JavaScript, and images in the theme control the general look and feel of a portal page when the theme is applied to all public and/or private pages of the site, or individually on a particular page. This is the first level of abstraction of presentation.

The layout is a fragment that fits inside a page generated by the velocity file portal_normal.vm of a Liferay theme. The content area of each portal page consists of a set of ...

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