[Zope] Advanced DTML Question

Evan Simpson evan@4-am.com
Wed, 1 Mar 2000 16:01:34 -0600


----- Original Message -----
From: James W. Howe <jwh@allencreek.com>
> of my dtml-in loop which gets the first letter from the current entry,
> checks to see if an anchor for that letter has been written, if not, a new
> anchor tag is inserted into the stream.  My problem is I don't really know

Quick, possibly misleading idea:  if you can give your Catalog entries a
brain class with a function "anchorGroup" which returns the first letter of
the entry, then you can use <dtml-if sequence-first-anchorGroup><a
name="&dtml-anchorGroup;"></a></dtml-if>

Cheers,

Evan @ 4-am & digicool