First, I just want to say hello. This is my first post here. The company I work
for is moving from SharePoint to Magnolia, and, for the most part, we are very
happy with it. We are, however, running into some issues trying to understand
some very simple things that are very easy n other platforms.
For instance, we are trying to get a list of entries in a content app we built
to keep track of all of our disclosures. The content app is called
'disclosure', and we have a disclosureAll.yaml file that points to our
disclosureAll.ftl file that we want to use to display all of those entries. We
created a list that we want to iterate over, but cannot grok the
command/function that we need to call on the 'disclosure' content app to make
it work. The code is as follows:
[code][#list cmsfn.children(content, "disclosure") as child]
<p><strong>${child.name!}</strong></p>
<div class="disclosure">
[#if child.header?has_content]
<h3>${child.header!}</h3>
[/#if]
<section>${child.content}</section>
</div>
[/#list][/code]
That doesn't throw an error, but it also doesn't display anything. We've tried
just about everything on the CMSFN page in the docs, but still no joy.
Can any of you help us out with the magic spell to call so that we can list out
these disclosures?
Thanks,
Nate
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=d9865bfd-a447-4491-be0e-54179e7e3ca0
----------------------------------------------------------------
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]>
----------------------------------------------------------------