Hi Andrew
You should be able to get close to what you need using the groupby feature. This article I wrote in 2007 about Sub-totalling with List Builder should help - I can't find the original article, but it's archived here https://web.archive.org/web/20130903182023/http://openacs.org/blog/
Yes, this is exactly the kind of thing you can do with displaytemplate. Note also that template::list::element::create supports class and subclass params, see https://openacs.org/api-doc/proc-view?proc=template::list::element::create&source_p=1
Here's an example:
lappend elements_list scheme {
label "[_ aims.PanelScheme]"
display_template {
<ul class="panel_calls">
<li>@panels_list.scheme;noquote@
</li>
</ul>
}
}
Happy to go into further details if you need,
Brian