[Zope] incrementing variables in ZOPE
Lennart Regebro
lennart@torped.se
Wed, 18 Sep 2002 12:30:36 +0200
From: "michael.taņag" <almightymike@yahoo.com>
> I have this DTML problem, I want to display the contents of a
> particular folder in tabular form. say 5 columns by x rows. I once did
> this table display using incrementing counters on PHP, but I can't find
> its equivalent in Zope(I'm new to Zope and dtml). Can you guys help me.
> some ideas would really help. THANKS!!
Try using DTML-IN. It's used for looping stuff like this.
To set and modify variables within a block you use dtml-let. Outside block
you need to use <dtml-call "REQUEST.set('variable', value)">.
Best Regards
Lennart Regebro, Torped
http://www.easypublisher.com/