[keycloak-user] Sharing FTLs between login and account themes

Libor Krzyžanek lkrzyzan at redhat.com
Fri May 29 05:01:06 EDT 2015


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 <http://jboss.org/> Development Team

> On 29 May 2015, at 08:57, Libor Krzyžanek <lkrzyzan at 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 <http://jboss.org/> Development Team
> 
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20150529/89918444/attachment-0001.html 


More information about the keycloak-user mailing list