I have the following Code within my Area-Template that works as expected:
<div class="row">
[@cms.area name="content" /]
</div>
What I need now: I just want to "wrap" each Component within the "content"-Area
with an additional "div"-Tag. So I've tried to do the following in the
Area-Script:
[#list components as component]
<div class="myclass">
[@cms.component content=component /]
</div>
[/#list]
But this gives me an Error "components" is null.
Any idea what I do wrong?
Thanks in advance.
Roland
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=5a0e30f4-6ed9-4af7-9ca6-d48ccd9bf300
----------------------------------------------------------------
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]>
----------------------------------------------------------------