I figured this out.

The shared FTL needs to be stored let say within “login” theme.

Then in account theme put into theme.properties
import=login/<your theme name>

and then you shared FTL in e.g. account.ftl
<#include “<relative path to ftl in login theme>" />

Libor Krzyžanek
jboss.org Development Team

On 29 May 2015, at 08:57, Libor Krzyžanek <lkrzyzan@redhat.com> wrote:

Hi,
is it possible to have some “common” FTL that could be imported in login FTLs and account FTLs?

Use case is having list of countries defined in one FTL and share it in login and account themes.

Thanks,

Libor Krzyžanek
jboss.org Development Team

_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user