Grouping Views Results by Date

Video loading...

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:06
    In this chapter, I'm going to teach you how to create a page that has you
  • 0:08
    basically group all of your content by year.
  • 0:13
    So, then on that page what you have is all the years of content that you have
  • 0:17
    and all the content underneath that year in a table view
  • 0:21
    that actually shows you the title and the date it was posted.
  • 0:25
    And what it does, is that it groups all of those posts together by year.
  • 0:30
    So, let's go ahead and show you how to do that.
  • 0:32
    In this chapter, we're going to learn how to create a view just like this.
  • 0:36
    What's going on here is we are actually finding all of our content
  • 0:39
    and then grouping it by year.
Loading ...

Grouping Views Results by Date

Loading...

in this chapter Kyle shows you how to create a view of content which shows the content grouped by the year in which it was created. We'll be making a table view that displays the title and post date, but is also grouped such that there will be one table displayed per year.

Additional resources: