[Zope] count of items in group?
julian@zereau.net
julian@zereau.net
Wed, 03 Mar 1999 17:34:16 -0000 (GMT)
On 03-Mar-99 Michael Bernstein wrote:
> julian@zereau.net wrote:
>>
>> Using the "in" tag's grouping capability, is there any way to get the count
>> of
>> items in that group? I need this so I can have a table with one row per item
>> and a cell rowspanned for all the group's items (eg: related products and
>> their
>> picture).
>
> Rather than using rowspan, use nested tables. I haven't done this in
> Zope yet, but it was always my solution of choice in ColdFusion. It also
> makes it easier to debug your layout in a WYSIWYG editor. It does, of
> course, bloat your HTML a bit.
It will work, and I'm going to have to in the short term, but I really would
like the multiple columns for each item to line up down the page, without ugly
fixed-width hacks.
---
Julian Morrison
Programmer (Zereau Ltd)