Page 1 of 1

show just one date for multiple entries on same day

Posted: Thu Nov 02, 2006 8:09 am
by jaal
Hi,

is it possible to show multiples entries for the same day under the same date?
I'm currently rewriting the competition theme for my needs and there is a date header for every entry.
In my old blog (nucleus) I had just one date for each day. (i.e. http://blog.salid.de/archive/1/2006-10-12)

Thanks
Jan

Re: show just one date for multiple entries on same day

Posted: Thu Nov 02, 2006 10:21 am
by garvinhicking
Hi!

Yes, you can have/do that. Have a look at the default Serendipity 2.0 or 3.0 themes (entries.tpl) where you can see how they nest the {foreach} loops to get the desired result.

HTH,
Garvin

Posted: Fri Nov 03, 2006 7:47 am
by jaal
The competition theme had placed the dategroup in the inner entries, which resulted in showing the date for every item.
After placing it in front of the entry it does works.

Thanks!