Question : Drupal and displaying event dates

I'm developiing a Drupal site for a gym. I have created a content type called classes. The classes have a to and from date with repeats.

I want to create a block showing what the next class will be. I created a view to do this but would appreciate guidance in configuring how to display forthcoming events for the coming days.

Any guidance would be much appreciated.

Answer : Drupal and displaying event dates

when you've created a block with all events, you can add a filter to display only upcoming events like this:

(field_date) - EndDate >= now  

also make sure to add a filter to only display pubished nodes.

Node: Published Set to YES

Random Solutions  
 
programming4us programming4us