Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By microsquire on
Any way to do this in Drupal:
(in it's own css div) November 26th 2002
(in their own css div) all posts for this day
(in it's own css div) November 24th 2002
(in their own css div) all posts for this day
and so on ... on the Druapl front page?
I really just need to know if you can group posts by day with a header above it... i have all the css details worked out...
Thanks for any help....
Comments
i see that it can be done - natrak.net
http://www.natrak.net/ (drupal dev, duh) has it...
so now I feel silly.. because I couldn't see how to set this up ... is it a config setting or a in the themes? I figured it would be in how I displayed nodes in the themes...
Custom module?
I think Natrak is using a custom module because (a) he runs a CVS version of Drupal and (b) the main page has no pager whereas the taxonomy-based (sub)pages have. Just get in touch with him; I'm sure he'll shares the code with you.
Ok, thanks
I've sent him an email... thanks for the help, Dries.
figured it out...
in case anyone comes searching for this thread in the future - I have a solution on how to create a module which displays nodes grouped by date with date headers.. pretty simple. Email me off list for the code: (newbies fear not, this is an easy hack that requires you to create one new module, and a yourfunctionname_page() that added about 14 lines of code to the standard node_page function... all in one spot.)
microsquire _AT_ db79 dot com
(i'm slighty spam paranoid, can ya tell? )