Simple, powerful, beautiful websites.

Grouping, Views, and Drupal

January 5, 2010

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

5 Responses to “Grouping, Views, and Drupal”

  1. Test Blast said:

    Test baecd Blasts are Great

  2. Reda Hilfiker said:

    I’ll immediately take hold of your rss feed as I can not find your e-mail subscription hyperlink or e-newsletter service. Do you have any? Please let me realize so that I could subscribe. Thanks.

  3. Alufelgi said:

    You’re right, very good comment, but what of that as anyone reading does not arrive because they fear to act. Yours Felgi Aluminiowe

  4. Filiberto Ponsler said:

    Thanks for your posting. One other thing is when you are advertising your property by yourself, one of the troubles you need to be alert to upfront is when to deal with house inspection accounts. As a FSBO supplier, the key about successfully shifting your property and also saving money in real estate agent commissions is know-how. The more you understand, the smoother your home sales effort are going to be. One area when this is particularly vital is home inspections.

  5. tv amr said:

    Television systems can also be used for surveillance, industrial process control, and guiding of weapons, in places where direct observation is hard or dangerous.

Leave a Reply