Thursday, May 20, 2010

Liferay: Understanding the theme (Part 2)

4. portlet.vm
This velocity file tell us how a standard portlet would be included in portal. It is inserted through $theme.wrapPortlet("portlet.vm", $content_include)
in portal_normal.vm

To decorate theme, we can customise css. Maybe note on css in previous entry can help for further information.

Now we understand yet template. Inside template, there is layout template. By default, bundle Liferay comes out with classic template.
This layout template can be referred in /tomcat-6.0.18/webapss/ROOT/layouttpl/custom