Op 4 feb. 2014 23:25 schreef "Arje Cahn" <a.c...@onehippo.com> het volgende:
>
> Changing that to jcr:// did seem to help - looks like the template now at least gets resolved.
> But I still get errors.
> Putting this on my wish list.
Ideally you could use a relative location within the repository such that you would not need the jcr:// at all. Indeed i experienced some issues with including templates it the past. Did not look into it how hard it was to solve.
Regards ard
On Fri, Feb 7, 2014 at 1:27 PM, marijan milicevicNice!
<m.mil...@onehippo.com> wrote:
> I just checked this,
> and includes are resolved *relative* to your source file, so, for example,
> if you have myhome.ftl:
>
> /hst:hst/hst:configurations/democommon/hst:templates/myhome.ftl
>
> with following include file
> <#include "myinclude.ftl">
>
> include will be resolved to:
> /hst:hst/hst:configurations/democommon/hst:templates/myinclude.ftl
do you know if relative includes also work? For example ../../common/foo.ftl