Pages

Thursday, March 29, 2012

Vm files in Liferay theme

Default theme velocity files and their purposes.




File
Purpose
init_custom.vm Allows you to add custom Velocity variables.
init.vm In conjunction with VelocityVariables.java in Liferay, sets many Velocity variables that correspond to Liferay Java objects.
navigation.vm Implements the page navigation within the theme.
portal_normal.vm The overall template for all pages the theme implements. This file includes the other files.
portal_pop_up.vm The overall template for any portlets that use the Liferay pop-up custom window state.
portlet.vm The template for portlet windows within the theme.

No comments:

Post a Comment