[Zope] How to count files in a folder?

Andrew Kenneth Milton akm@theinternet.com.au
Tue, 18 Sep 2001 23:39:49 +1000


+-------[ Jan Lentfer ]----------------------
| Hi again everyone,

| I want to count the number of files within a folder (the folder does not 
| have subfolders), so I can say "This folder countains ## pictures". How can 
| that be done?

<dtml-var "_.len(objectIds())">

-- 
Totally Holistic Enterprises Internet|                      | Andrew Milton
The Internet (Aust) Pty Ltd          |                      |
ACN: 082 081 472 ABN: 83 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068    |akm@theinternet.com.au|