Asset Publisher Portlet is one of the most important and widely used portlet in Liferay Portal. By Asset Publisher Portlet we can display different assets in the Portal. This portlet is highly configurable and can be customized using Application Display Template (ADT). This article provides some important code snippets for writing Application Display Template (ADT) for […]No Comments.
We can access Liferay Services in velocity templates. We have many liferay services which sometimes required to access in velocity files.We know that a theme contains many velocity template files.So it would be great to know how to access those services in these template files. This article explains how to access liferay services in our […]1 Comment.
Without Velocity Templates we can not think of Liferay Theme development. Though there are FTL (FreeMarker Template Language) also available for theme development, velocity template is more popular. This article is explains the basics of velocity templates and its uses in liferay theme. While developing liferay theme we need to deal with lots of velocity […]2 Comments.
Aim of this article: Add custom velocity by hook. Use of Custom Velocity Variables: We will be able to use custom velocity variable directly in the VM files.It separates java logic from VM file. Code looks better. While developing Liferay theme we have used many velocity variables. Some of the common velocity variables widely […]No Comments.
The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.