Skip to main content

Post categories

  • Drupal Tips & Tricks
  • Drupal Howtos
  • Drupal Themes
  • X Twitter
  • youtube
Home
Drupal 4U
Drupal Development, Drupal Web Design, Drupal SEO
  • Home
  • Showcases
  • Services
  • Blog
  • Themes
  • About
  • Contact

Breadcrumb

  1. Home
  2. HowTos
  3. How to create a Drupal view with future events / dates of nodes

How to create a Drupal view with future events / dates of nodes

HowTos
May 06, 2016
Profile picture for user drupal
By drupal
  • facebook-f
  • twitter
  • envelope
  • print
145

All you have to do is create a new view that shows content of type 'event'... set that on the first page of creating your view. Make sure you check the 'block' option at the bottom - it's up to you whether you also want to create a page display or not, that's checked by default. Also, before moving onto the second page, make sure that your view is a list of 'fields' rather than 'teasers'.

On the next page, in order to limit to upcoming events, make sure you create a new filter on your view based on the event's date. To limit it to current and future events, you should enter a relative, as opposed to, a hard-coded date (see image below).

Source: http://drupal.stackexchange.com/questions/51812/how-do-i-make-a-list-of-...
Another nice tutorial: http://codekarate.com/blog/automatically-hide-content-views-based-date

Important note: A very common problem occurs in the process, if you only enable the modules date and date API. You also need to enable Date Views. if you don't, you wont see the required filtering options.

How to create a Drupal view with future events / dates of nodes
Modules

Read more articles

Newer
How to display Drupal blocks based on location - Drupal geolocation block
Older
File entity module: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table
  • Log in to post comments
Profile picture for user drupal
drupal
145
1
min read
A- A+
  • facebook-f
  • twitter
  • envelope
  • print

Contact Drupal 4U

Get in touch for questions and our Drupal development, design and SEO services.

Contact Us

We aim to reply the latest within 48h.

About Drupal 4U

We are a group of Drupal designers, developers and webmasters and we launched this website to share our experience and knowledge with you. Drupal is a free software package that allows you to easily organize, manage and publish your content, with an endless variety of customization. Drupal is open source software maintained and developed by a very large community of developers and users.

  • X Twitter
  • youtube

Drupal Services

  • Drupal Web Design
  • Drupal Development
  • Drupal SEO
  • Drupal Migration

Drupal 4U

  • Services
  • Showcases
  • Themes
  • Blog
  • About

Drupal Links

  • Official Drupal Website
  • Drupal Answers
  • More Than Themes
  • Theme Forest
  • DXPR: Drupal for Marketers
2012 - 2025, Drupal 4U

Footer menu

  • Contact
Home
Drupal 4U
Drupal Development, Drupal Web Design, Drupal SEO
  • Home
  • Showcases
  • Services
  • Blog
  • Themes
  • About
  • Contact
Clear keys input element