Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
How to switch template language from Velocity to FreeMarker? LifeRay 7.2
The problem is I can't switch template lang inside web content to Freemarker.
Maybe anyone know how to activate it in portal settings? Or it is impossible and I just have to create the new one template with FreeMarker lang by default?
Maybe anyone know how to activate it in portal settings? Or it is impossible and I just have to create the new one template with FreeMarker lang by default?

Attachments:
Go to Control Panel > Configurations > System Setting > Web Content
inside Web content setting find Administration menu and then Template Language Types field
by + button add new field and add ftl as its content and save it,
Now in adding a new web content you can select your template language
But by default in Liferay 7.2 the template language must be Freemarker
inside Web content setting find Administration menu and then Template Language Types field
by + button add new field and add ftl as its content and save it,
Now in adding a new web content you can select your template language
But by default in Liferay 7.2 the template language must be Freemarker
thank you!
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™