[Zope] Listing contents....
Rustad, Aaron
ARustad@Online-can.com
Wed, 22 Aug 2001 14:33:32 -0600
I am trying to list all the available 'Portal Folders' in a menu, I am able
to do this by using this code:
<dtml-in expr="objectValues('Portal Folder')">
<A HREF="&dtml-id;"><dtml-var title><BR>
</dtml-in>
However, if the current object happens to be a default "index_html" page,
the page above won't list because objecValues is working on index_html
page....( I hope I am right in my assumptions).
Can anyone suggest a strategy to determine if what I am looking at is a leaf
document, and how to list the parent 'Portal Folders'.
Thanks!
Aaron.