Page 1 of 1

multiple entries from the same day in different entry boxes

Posted: Wed Dec 12, 2007 7:27 am
by Ripper^^
Hi,

I was wondering what I would have to edit to change the way entries are displayed on my site. Currently if I make multiple entries on the same day they are displayed like this:

_______
|date2 |
|--------|
|entry2 |
|--------|
|entry1 |
----------

_______
|date1 |
|--------|
|entry |
----------
I would like them to be displayed like this:

_______
|date2 |
|--------|
|entry2 |
----------
_______
|date2 |
|--------|
|entry1 |
----------
_______
|date1 |
|--------|
|entry |
----------

Thanks in advance for the help :)

Re: multiple entries from the same day in different entry bo

Posted: Wed Dec 12, 2007 10:53 am
by garvinhicking
Hi!

For that, you would need to edit your entries.tpl template file. There are two foreach loops in that file, one for the "date group" and one for the actual "entry group".

You'd simply need to move the <divs> within the first foreach loop into the second foreach loop to get that code to show for each entry, and not only for each entry group.

You seem to be well enough with coding, so I suppose you get what I mean? :)

Regards,
Garvin

Posted: Wed Dec 12, 2007 7:46 pm
by Ripper^^
Thanks Garvin! I undersand what you mean and thanks again for all the help you give to everybody on this forum.