[DOCU-414] Direct Area Rendering Created: 30/Apr/13  Updated: 22/Jul/13  Resolved: 20/May/13

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Roman Kovařík Assignee: Ruth Stocks
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
documentation
documents MAGNOLIA-4126 Direct area rendering - 4.5 Closed
documents MAGNOLIA-5002 Direct area rendering - port to master Closed
relation
is related to DOCU-441 Direct Area Rendering for JSP is not ... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:

 Description   

In 4.5.9 is possible to render an area. To render an area use selector:

~mgnlArea=areaName~

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 rendering of empty areas will output empty page.

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.



 Comments   
Comment by Ruth Stocks [ 20/May/13 ]

Documented at - http://wiki.magnolia-cms.com/display/DOCS45/Rendering+content. I did the following:

  • updated the original content to 4.5. Notes re Early execution of components section
    • deleted the multistep form example and image.
    • "patched" the early execution diagram by erasing the word "paragraph" and replacing with "component", and erasing the words "step 2" in point 3. You may want to regenerate.
  • added - Direct component rendering section.
  • added - Direct area rendering section.
Generated at Mon Feb 12 01:08:52 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.