Hi,
I'm struggling with the attempt to define an area inside another area.
(According to
[url=http://documentation.magnolia-cms.com/templates/introduction.html#Templates]this
document[/url], it should be possible:
[quote]Pages consist of areas which can consist of further areas or
components.[/quote]
)
That's my "parent" area script:
[code] <!-- Begin parent components -->
[#list components as component ]
[@cms.component content=component /]
[/#list]
<!-- End parent components -->
<!-- Begin child area -->
[@cms.area name="subArea" /]
<!-- End child area -->[/code]
subArea.ftl:
[code][#list components as component ]
[@cms.component content=component /]
[/#list]
[/code]
When I render a page, the parent area is shown and I can add components for it
as defined in the Config repo. But there's absolutly no box for adding new
components for the subArea. Extract of the source code:
[code]
<!-- Begin parent components -->
<!-- cms:component content="website:/helloworld/parent/0"
dialog="templating:textBlock" label="Text Block" -->
<p>test</p><!-- /cms:component -->
<!-- End parent components -->
<!-- Begin child area -->
<!-- End child area -->[/code]
Why doesn't the subArea gets rendered?
Any ideas anyone?
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=c57f9ab0-1768-4f8d-9737-f706118a5385
----------------------------------------------------------------
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]>
----------------------------------------------------------------