Wow, I've been searching for a simple way to create a Grouped list in Drupal for a long time, and now I've finally found the way.
But first, what is a grouped list? Let's pretend that you want to have... oh I don't know... a schedule of upcoming events that people can register for on your website. One easy and Drupal-friendly way to create this is to just make a View, and have it list the content on your site that represents the Events. Straight forward enough, and anyone who has any Drupal experience can do that quickly.
Now your client wants to be able to customize the display a bit, and they want to show a list of the month like this:
March 2010
- This is my event for March 2010. 3/12/10 - 3/14/10
- This is my second event for March 2010. 3/22/10 - 3/24/10
April 2010
- April Fools Day. 4/1/10
- etc.
Until today, I thought I was going to have to rewrite the output of the View and do this the hard way. Now, I know that Drupal can do the heavy lifting for me... I love me some Drupal!
Without further ado:
Create a Views event list grouped by months