Check your version

This video covers a topic in Drupal 7 which may or may not be the version you're using. We're keeping this tutorial online as a courtesy to users of Drupal 7, but we consider it archived.

Hands-On: Upcoming Events View

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:00
    Hands-on-- Upcoming Events View with Addison Berry
  • 0:10
    ADDISON BERRY: One of the main requirements
  • 0:12
    that we have for our site is to have an upcoming events list, somewhere,
  • 0:17
    so that there's a quick and easy place for the members to see.
  • 0:19
    Basically, what are the next events that
  • 0:21
    are happening in the right order?
  • 0:23
    So what we're going to need to do is create a block in the sidebar that
  • 0:27
    lists all of our published events that are only in the future.
  • 0:30
    We don't want to have all of them listed,
  • 0:32
    and then we want to have them sorted so

Hands-On: Upcoming Events View


Now that we’ve created our Event content type and started adding content to the site, we need to tackle the Upcoming Events list requirement. This will allow members to quickly see the meetings happening in the coming days or weeks. To achieve this, we will use the Views module to create a block for the sidebar. Our view will show published events where the event’s time field is in the future, and we'll sort it chronologically so the next event is at the top of the list.  We'll get to learn more about the Date Views filter to accomplish our task.