Hi,
I'm using views.module (altogether with some other modules) to run an events site for my town. I'm trying to get some views from the events nodes (CCK content type) but I don't have a clue how to filter them properly.

The views I need are:
- events today (it doesn't matter if before or after 'now', see it doesn't seem to be an option to me)
- events tomorrow
- events after tomorrow
- events for all three
- all future events

The date field is mandatory but a 'to date' date is optional, for there are events such as a film shot (one only date) or a painting exhibition (from-to date). For the 'all 3 days' view I was guessing a solution similar to:
(view filter)
- start date (mandatory) : 'less than or equal to' today + 3
- end date (optional): 'greater than' today-1

where 'today' is not 'now' but the whole day for the given zone time.

So, I believe there may be an easy solution I'm missing, because I think it's not a complex scenario but maybe...
Could you please give me a hand or, at least let me know where should I start learning from or re-posting this story?

I've just joined this group and I hope it's the right place to post my previous doubt. (if not you may kick me off :-) )

Thanx in advance,
hip

Comments

hip’s picture

bumping it up

Spanish Drupal - www.4tres.com : Desarrollo de sitios, páginas web y aplicaciones para Internet eficaces y especializadas en Sevilla.

hip’s picture

- display only nodes from 'today'
- Ability to have todays events on the front page?
- Views Date Range Filter

Spanish Drupal - www.4tres.com : Desarrollo de sitios, páginas web y aplicaciones para Internet eficaces y especializadas en Sevilla.