Ruberl Michele wrote:
Hi everybody,
is there a way of making <dtml-in> loops conditionally?
I would need something like <dtml-in expr="objectValues('MyZClass')" where="my_attribute == 1"> Does anybody have a method doing this or a way to help me?
Hi, you can use a modified version of the python script they used in the zope book ( tree-tag ) to get all documents in a folder that have the property visible = true. http://www.zope.org/Members/michel/ZB/AdvDTML.dtml MfG Steffen -- become who you are
Hi, --On Thursday, November 08, 2001 17:06:29 +0100 Steffen Hausmann <Steffen@Hausmann-family.de> wrote:
Ruberl Michele wrote:
Hi everybody,
is there a way of making <dtml-in> loops conditionally?
I would need something like <dtml-in expr="objectValues('MyZClass')" where="my_attribute == 1"> Does anybody have a method doing this or a way to help me?
You can either use Zopefind (see Dieter Maurers posts on this matter in the list or archive) or if you are interested in speed - use ZCatalog. HTH Tino Wildenhain
participants (2)
-
Steffen Hausmann -
Tino Wildenhain