Hello,
I'm trying to group some items based on their groupID. So far, I managed to do with:
static $default_sort = 'groupID DESC';
Now I'm trying to read data into my template using the control-loop which works fine, showing all data sorted as defined. But now what I want, is the groupID to be displayed only if it differs from the previous value. Is there some way of saying:
// Pseudo code
if thisGroupID equals previousGroupID then
.
.
.
Thanks in advance,
Maurice