(Please tell me if this type of question is okay for this list. Plone-users
is a bit chaotic for me)
What's the best way to get from the results of getFolderListingFolderContent
back to another getFolder* call on the included folder objects? I.e, I'm
trying to read the folder listings in the next folder level, but I have the
catalog listing, not the folder object.
Like so:
<span>
<ul id="topmenu" tal:define="authors
portal/books/authors/getFolderListingFolderContents">
<li class="sub"><a tal:attributes="href
string:$portal_url/books/authors">Authors</a></li>
<ul>
<li class="sub" tal:repeat="author authors"><a tal:define="authorname
author/Title; authid author/getId" tal:content="authorname"
tal:attributes="href
string:$portal_url/books/authors/$authid"></a></li>
//<ul tal:define="books
portal/books/authors/???/getFolderListingFolderContents">
//<li tal:repeat="book books"><a tal:define="bookname book/Title;
bookid
book/getId" tal:content="bookname" tal:attributes="href
string:$portal_url/books/authors/???">Books by author</a>
//</li>
//</ul>
</ul>
</ul>
Alternatively, is there a good *explicit* api reference for Plone? This is
the part that every resource seems to hide from me.
[...]
|