Magnolia 5.4.3 Community Edition
Using MTE and Magnolia Light components.

I am trying to create a freemarker include file for the ftl components under my 
magnolia light module.

rather than using a dodgy relative path of "../../../include/myinclude.ftl"
I am trying to use the magnolia resources style of
"/.resources/mymodule/include/myinclude.ftl"

Problem is that freemarker strips the initial "/" before this gets passed to 
the magnolia resources module. Have tried escaping this, but again freemarker 
doesnt like it.

Is there an alternate way for this

e.g. "${ctx.resourcesdir}/mymodule/include"
or a way of escaping the "/"

Any help appreciated

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=ffd5511e-56a0-4cec-8778-0f040b2da59d


----------------------------------------------------------------
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