Change By: Roman Kovařík (30/Apr/13 2:20 PM)
Description: In 4.5.9 is possible to render an area. To render an area use selector: {noformat}~mgnlArea=areaName~{noformat}
Examples:
http://demoauthor.magnolia-cms.com/demo-project/about/subsection-articles/article~mgnlArea=content~.html
http://demoauthor.magnolia-cms.com/demo-project~mgnlArea=stage~.html

When the area doesn't exist, whole page is rendered:
http://demoauthor.magnolia-cms.com/demo-project/about/subsection-articles/article~mgnlArea=unexistingArea~.html


Note that when the area is empty, empty page will be rendered. 

areaName is 
You can see all supported areas for Direct Area rendering when you open source code of page on author instance.
For example I can render the area {{stage}} from {{demo-project}} page:
{{<!-- cms:area content="website:/demo-project/stage" name="stage" ... -->}}
but rendering of areas without their own content nodes is not supported:
{{<!-- cms:area content="website:/demo-project" name="logo" ... -->}} (because the node website:/demo-project/logo) doesn't exists.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
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: <dev-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to