[Zope] How to list subfolders of any folder in DTML?

Dylan Reinhardt zope@dylanreinhardt.com
Sun, 09 Mar 2003 22:56:56 -0800


At 06:20 PM 3/9/2003, Michael Fox wrote:
>I want the ability to call this object in any one index_html (DTML 
>Document) within any one folder, to create some sort of navigation of it's 
>subfolders.

If it has to be called from a DTML Document, try:

<dtml-with aq_parent>
         <dtml-var listSubfolders>
</dtml-with>

That should do the trick.

HTH,

Dylan