preloader

J2EE

By J. Toman / on 20 Jan, 2019

Freemarker Include In Liferay

Quick Tip:

In Liferay Web Content Templates using Freemarker, you can include another template using the <#include > directive. The trick is that you have to prepend the templatesPath variable (available in the left sidebar) and then call the templates by it’s template key, which can be found in the Details section when you edit the included template. So to include a template with the key 12345 you would write:

...