Foren
How to define the language of a template in a theme
Klaus Bachmaier, geändert vor 7 Jahren.
How to define the language of a template in a theme
Regular Member Beiträge: 223 Beitrittsdatum: 30.09.13 Neueste Beiträge
I'm building a Liferay 6.2 and want to provide some structures and web content templates with it. Let's say I have a web content type named "News", then my folder structure in my theme project (Maven) looks like this:
When I deploy my theme to my server, the "News" template gets created as a Velocity template and of course produces exceptions when I try to use that template, despite the fact that it as a *.ftl file extension. How and where can I tell Liferay in my Theme what language I use in my templates?
src/main/resources
|
-resources-importer
|
- journal
|
-structures
|
-News.xml
|
-templates
|
-News
|-News.ftl
When I deploy my theme to my server, the "News" template gets created as a Velocity template and of course produces exceptions when I try to use that template, despite the fact that it as a *.ftl file extension. How and where can I tell Liferay in my Theme what language I use in my templates?