cancel
Showing results for 
Search instead for 
Did you mean: 

Including templates

tonizz
Champ in-the-making
Champ in-the-making
Hi,

If i have a web form that is rendered by a FTL file, that has an include pointing to another FTL file. Is there some way to this FTL file be in a subfolder of the web form???

If I do this way:

<#include "/subfolder/submenu.ftl" parse="true" >

I get an error telling me that the file has not been found.

It only works if I do this way, with the file in the same web form folder everything is ok:

<#include "submenu.ftl" parse="true" >

But I would like to have a folder with differents submenus and depending on a value from the form take the appropiate submenu.

Thanks in advance!
1 REPLY 1

kvc
Champ in-the-making
Champ in-the-making
Tonizz:

May be a bug … please file a JIRA issue.

Kevin