Custom Velocity hook for Liferay