Hi all I am trying to use the STK together with Magnolia 5.4 and Multisite support. Valid license is configured.
Now I am trying to call [code]stkfn.theme(pageModel.site)[/code] This leads to: [code]The following has evaluated to null or missing: ==> stkfn.theme(pageModel.site) [in template "templating-kit/pages/global/htmlHeader.ftl" at line 26, column 8][/code] This is understandable since [code]info.magnolia.module.templatingkit.functions.STKTemplatingFunctions#theme(info.magnolia.module.templatingkit.sites.Site)[/code] tries to call [code]moduleProvider.get().getTheme(theme)[/code] moduleProvider itself is defined like this: [code]private final Provider<info.magnolia.module.site.SiteModule>moduleProvider;[/code] ==> how is this supposoed to work with MultiSite?[code] info.magnolia.module.site.SiteModule[/code] is a Standard Edition class, how could the [code]info.magnolia.multisite.MultiSiteModule[/code] be injected? I tried to workaround, and exported config.modules.standard-templating-kit.config.themes.xml, reimported to config/modules/site/themes. This did work out for the above url, but now I get [code] java.lang.ClassCastException: info.magnolia.module.site.theme.ConfiguredTheme cannot be cast to info.magnolia.module.templatingkit.style.Theme at info.magnolia.module.templatingkit.functions.STKTemplatingFunctions.theme(STKTemplatingFunctions.java:253)[/code] which again is logical correct, since [code]info.magnolia.module.site.theme.ConfiguredTheme[/code] implements [code]info.magnolia.module.site.theme.Theme[/code] and not [code]info.magnolia.module.templatingkit.style.Theme[/code]. So short question: how can I use the STK together with Multisite for Mgnl 5.4? Thanks for a feedback Chris -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=a2195905-068f-4986-91a6-9c25b02613d2 ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com> ----------------------------------------------------------------