I would like to include the name (textImage, downloadList, html, ...) of a
component definition into the surrounding div.
Something like:
[code][#list components as component ]
<div class="${component.@name}">
[@cms.component content=component /]
</div>
[/#list][/code]
But [code]<div class="${component.@name}">[/code] just gives me the name of the
Node. Everything else I tried results in an undefined error message.
Any ideas how I can get the name of the component definition?
Regards
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=906445c8-812e-439d-82e4-5f1991c8cf77
----------------------------------------------------------------
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]>
----------------------------------------------------------------