Category "freemarker"

Configuring Asset Publisher via FreeMarker in WebContent Template

I am able to add an asset publisher portlet in the web content template by <@liferay_portlet["runtime"] defaultPreferences="${freeMarkerPortletPreferences}

how to use a variable from another .ftl in freemarker

I'm trying to use a defined variable in a second template to have the same output in the current one. template 1: [#if definition.name=="configMINIMAL_STA

How to create a paginated screen in the Freemarker language

I have a page where the news is displayed and I have below 2 buttons next and previous. The problem is: on click of next button news gets loaded as a continuous

How to split string in chars and get code of each char in freemarker?

I think that I can split using this: <#list str as c> ... </#list> But then I need to convert this char to byte and add it to another number.

migrate template from velocity to freemarker

I need to migrate some templates from velocity in liferay 6.2 to freemarker for liferay 7.4 dxp, I tried to use the USCavalry tool, but the result is not comple