logo       

Re: Two problems: msg#00026

php.drupal.support

Subject: Re: Two problems

On Wed, 2004-07-07 at 12:33, Abalieno wrote:
> I'm trying to figure out, with no success, how to display entries without
> repeating each time the date. I want to format the page so that it shows the
> date, then all the entries for that day.
>
> By default drupal just repeats the full date with each post, I just want to
> group them day by day. I've seen it's possible since it works here:
> http://integrationresearch.org/aggregator
>
> More or less I'm trying to have the same result. A date and under it all the
> posts for that day, no date if there's no post and so on...

Yes in the theme_node, use a static of global variable to store the date
of the last node, and then compare the current nodes date to this and
decide if you need to display the date.
--
Gordon Heydon <gordon@xxxxxxxxxxxxx>

--
[ Drupal support list | http://list.drupal.org/ ]



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise