[Zope] dtml-in theentiresite

peter be peter@grenna.net
Tue, 12 Sep 2000 01:25:59 +0200


In the root....
A DTML Method....

Some objects (mostly DTML Documents) have a property (boolean) that tells
whether this is a helppage or not.
What I want to do is to loop though eash and every object in the entire site
(not very big) and check if the object has this property.

<pseudo code>
<dtml-in "objectItems(['*'])">
  <dtml-if ahelppage>
    <a href="<dtml-var id>"><dtml-var document_title></a>
  </dtml-if>
</dtml-in>

Any other good solutions are welcomed!