Migrating Off of Velocity Templates

Upgrading Frameworks and Features

Step 4 of 4

Velocity templates were deprecated in Liferay Portal 7.0 and are now removed in favor of FreeMarker templates in the new DXP version. Below are the key reasons for this move:

Although Velocity templates still work in the new DXP version, we highly recommend migrating to FreeMarker templates. For more information on this topic, see the Upgrading Layout Templates section.