@Göran, Magnolia 5.4 changed the way resource files are loaded. Template 
scripts (.ftl) are now considered resource files. Magnolia loads resource files 
from three locations in this order:

1) resources workspace in the JCR
2) file system
3) classpath

Your template scripts, as seen in the Templates app screenshot, are not in any 
of those three locations. They are bootstrapped from XML into the "templates" 
workspace. That's why Magnolia can't find the scripts.

Aiping's suggestion is on the right track. Indeed you could move your template 
scripts (.ftl) into the "resources" workspace but long term we recommend you 
them in the classpath of your module instead. The path inside your module would 
be like [code]src/main/resources/agora/templates/pages/services.ftl[/code]. See 
option "3. Classpath" in 
https://documentation.magnolia-cms.com/display/DOCS/Resources#Resources-3.Classpath

--Antti

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=faf63ada-ec7b-4597-a186-0dd92869638e


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to