tags:

views:

113

answers:

2

In Liferay, can we apply layout template for each page at runtime?

Regards Vishal G

+2  A: 

Liferay 5.2: Yes, you can. From the user popup menu click Manage Pages, select your desired page from the website tree and click the Look and Feel tab.

Note: There are two sets of tabs with Look and Feel. One for the site (higher tabset) and one for a single page (lower tabset).

AOI Karasu
Hi AOI,Thanks for your quick reply. Will that be possible programatically?RegardsVishal G
Yes, however it requires advanced knowledge of Liferay framework and considerable effort. You need to setup a development environment for *ext*.*ext* is a top-level layer of Liferay that lets you customize the whole framework programatically to suit your needs. You can read more about it at Liferay.com's forums.
AOI Karasu
Thanks AOI.RegardsVishal G
+1  A: 

You don't need an ext. You can deploy a liferay hook plugin that runs your own custom ServicePreAction which grabs the layout template and sets it appropriately.

dtruong