arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

Exercise 6.9: Modify an event listing for future dates

There are a variety of ways you could list events. For this exercise, we’ll create a simple view that shows all upcoming events.

hashtag
Add sample content

  1. Add in 5-10 new events (either manually or using Devel generate)

  2. Make sure all events are published

  3. Include events with both past dates and future dates in the Event Date field

hashtag
Modify the view

Go to Structure → Views and edit the GovCMS Events Views view.

Customise the display

Filter out old events