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

Default configurations for layout template

Liferay Portal set hundreds of default configurations in portal.properties file, which is packaged in ${PORTAL_ROOT_HOME}/WEB-INF/lib/portal-impl.jar file. Some of these configuration settings are related to layout settings and can be overwritten in portal-ext.properties file.

Setting the default layout template ID

By default, Liferay uses 2_columns_ii layout template as the default layout. If you wish, you can change this default setting to your own layout template such as 1_3_columns layout template that we created early in this chapter. This can be done by adding the following line to the portal-ext.properties file of your Liferay installation. Please note that you can find the layout template ID in ...

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