Hi Paul, [quote]But how do I create my own Article page that retains that same look and feel as the STK Article, but where I can control or override the main content via a template script?[/quote]
Find the closest match in the STK templates. In your case this would be stkArticle. Create a custom template definition in your own project that extends the STK template. By adding an "extends" property in the definition you inherit everything from the source configuration (stkArticle) except any properties that you specifically define in the custom template definition. http://documentation.magnolia-cms.com/technical-guide/configuration-mechanisms.html#Extendingconfiguration Since you want to inherit the look and feel but want do something different in the main area template script, add the "templateScript" property to your custom definition. Set its value to your custom script. Something like this: [code] + pages + myArticle + areas + main - templateScript=/myModule/pages/myMainArea.ftl - extends=/modules/standard-templating-kit/templates/pages/stkArticle [/code] Look at the stkLargeArticle and stkNews template definitions. They both extend stkArticle but provide something unique as an exception. --Antti -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=4091c39e-1882-4ded-90b8-248a8e50f96a ---------------------------------------------------------------- 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]> ----------------------------------------------------------------
