Ah sorry, I should have read your first post a lot more carefully. The problem is that your modelClass extends RenderingModelImpl, but if you only override the main area templateScript, then there are still the issues that other templateScripts (most notably header.ftl) are referencing functions and variables that are only defined in STKPageModel or AbstractSTKTemplateModel. Is there any reason why you are not extending either of these directly? Otherwise you will have to implement a few more functions (like getSite() from info.magnolia.module.templatingkit.templates.STKRenderingModel for example) in order to be able to use the overall layout of stk.
-- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=7609ea5b-2a6a-42cf-bab2-e84581c6033e ---------------------------------------------------------------- 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: <[email protected]> ----------------------------------------------------------------
