Search

Friday, August 6, 2010

How to use Freemarker Template Language in Liferay 6 theme?

From Liferay 6.* version Liferay is supporting both Velocity Templates and Freemarker Template languages in Themes. Here are the settings to use Freemarker(ftl) Temaplates for our Themes.

Please write ftl instead of vm in template-extension node in Liferay-look-and-feel.xml


Then restart the server. Now do customization in ftl files rather than doing it in vm.

By default Liferay uses vm(Velocity Template Language).






No comments:

Post a Comment