----- Original Message -----
From: "Libor Krzyžanek" <lkrzyzan(a)redhat.com>
To: "keycloak-user" <keycloak-user(a)lists.jboss.org>
Sent: Friday, 29 May, 2015 10:01:06 AM
Subject: Re: [keycloak-user] Sharing FTLs between login and account themes
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>" />
Exactly - I'd recommend you put the shared bits into a common theme so you limit
what's "shared"
Libor Krzyžanek
jboss.org Development Team
On 29 May 2015, at 08:57, Libor Krzyžanek < lkrzyzan(a)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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user