...
Code Block |
---|
context.put("cms",getContentFromUrl("main.html")); |
Left to be Done
The above should fetch and render any content available. Of course, this is only a basic step to what you wish to accomplish. If you actually want to further integrate the system, I recommend to create XML files in Magnolia in which the content is moved between numbered boxes (remember to use the <\!\[CDATA\[ Placeholder \ ]\]> brackets if you wish to include html content in the xml file) and have OFBiz handle these xml data files accordingly... Wiki Markup
Though this is a working solution, I am not 100% satisfied with this approach, as Magnolia is left as an independent platform. There is a way to integrate Magnolia even further, but it would require the content to be access through both magnolias' and Ofbiz' filter chains...