RE: init.ftl not resolving in Liferay 7.2 ftl theme

thumbnail
Rajesh Chaurasia, modified 5 Years ago. Regular Member Posts: 183 Join Date: 8/18/11 Recent Posts
Hi All,The init.ftl is resolving in the liferay 7.2 ftl theme.Getting below error:Template inclusion failed (for parameter value "/hello-theme_SERVLET_CONTEXT_/templates/init.ftl"):_Unable to find FreeMarker template with ID hello-theme_SERVLET_CONTEXT_/templates/init.ftl__----_FTL stack trace ("~" means nesting-related):_    - Failed at: #include init  [in template "hello-theme_SERVLET_CONTEXT_/templates/portal_normal.ftl" at line 2, column 1]
thumbnail
Christoph Rabel, modified 5 Years ago. Liferay Legend Posts: 1555 Join Date: 9/24/09 Recent Posts
Could you check if it is in the theme.war? I mean, there should be a templates folder inside containing the init.ftl file. If it isn't there, you have some kind of build problem. If it is there, it has to be some problem in Liferay.
thumbnail
Rajesh Chaurasia, modified 5 Years ago. Regular Member Posts: 183 Join Date: 8/18/11 Recent Posts
We added init.ftl in templates folder to resolve this