[magnolia-dev] Programatically render template area in Magnolia CMS

2015-10-26 Thread Alex Rashkov (via Magnolia Forums)
I am using Magnolia CMS 5.4 and I want to build a module that will render some content of a page and expose it over REST API. The task is simple but not sure how to approach it and/or where to start. I want my module to generate partial template or an area of a template for a given reference, l

[magnolia-dev] Re: Programatically render template area in Magnolia CMS

2015-10-30 Thread Alex Rashkov (via Magnolia Forums)
Hey Roman, thank you for pointing me in the right direction I found how to do it but could say took some digging into the code. Here is an answer I've put on Stackoverflow http://stackoverflow.com/questions/33346351/programatically-render-template-area-in-magnolia-cms/33438450#33438450 -- Cont