Hi I got it to work. The issue seems to be with the name of the theme. It
cannot contain numbers, only alphabets allowed.
For some reason, which I dont understand, theme name with numbers dont get
picked up by the ftl variables.
When I changed the name of the theme to a all alphabets, it works fine as
expected.
Thanks for taking time to look into it.
Cheers,
Subhro.
On Tue, Aug 9, 2016 at 2:36 PM, Subhrajyoti Moitra <subhrajyotim(a)gmail.com>
wrote:
Thanks Bruno, for responding.
Yes. I too thought so, but cant seem to find out what is missing.
I have been able to make the sunrise example from themes example to work.
But that does not define any of the kcXXX ftl variables.
shouldnt copying keycloak theme to a new name, result in the same results?
That too isnt working it seems.
I am using 1.9.2.Final version. Could this be the reason?
Thanks,
Subhro.
On Tue, Aug 9, 2016 at 1:55 PM, Bruno Oliveira <bruno(a)abstractj.org>
wrote:
> Please, try to take a look at the docs[1]. Certainly some configuration
> step is
> missing.
>
> [1] -
https://keycloak.gitbooks.io/server-developer-guide/content/
> topics/themes.html
>
> On 2016-08-09, Subhrajyoti Moitra wrote:
> > Hello,
> >
> > I am trying to create a new theme, similar to the keycloak theme, but
> with
> > my custom logo and some minor changes.
> >
> > so i copied the default keycloak theme to a new theme name directory.
> > >From the admin pages, I point to my new theme.
> >
> > I was expecting the theme to be "exactly" as the keycloak theme, with
> the
> > changes I have done.
> >
> > But its not substituting the kcXXXX values in ftl files, that are
> provided
> > in themes.properties file.
> >
> > For example the themes/base/login/template.ftl has ftl variables like
> > "kcHtmlClass" and "kcContentClass". The values are
mentioned in
> > theme.properties file of the respective themes, but these values are not
> > getting picked up from my new theme.
> >
> > What am i doing wrong?
> >
> > I am not able to make this work. Please help.
> >
> > Thanks,
> > Subhro.
>
> > _______________________________________________
> > keycloak-user mailing list
> > keycloak-user(a)lists.jboss.org
> >
https://lists.jboss.org/mailman/listinfo/keycloak-user
>
>
> --
>
> abstractj
> PGP: 0x84DC9914
>