Hi,
i try to make a view with the same function from the "upcoming Events" Block of the event module.
i thought i had to use a filter: date, cck date field, an then choosing "Is greater than or equal to".
But this won't work. No nodes are displayed.
Can you tell me what is wrong ? When i choose "Is less than or equal to" all nodes are getting displayed (the ones in the past and in the future)
ThX in advance TSE
Comments
Comment #1
TSE commentedi can tell myself ;)
i always have to use the latest dev version of date. i always have to use the latest dev version of date. i always have to use the latest dev version of date.i always have to use the latest dev version of date.
Comment #2
karens commentedFirst of all, if you want to show Event module dates in Views, this is an Event Views issue. I'm pretty sure there is no Views integration for the Event module yet, so if if you want to see Events in a View, you can't until that is done. I'm pretty sure there is already an issue on the Event Views issue queue about when the Event Views will work with Views 2, so you can find and track that issue. See http://drupal.org/project/event_views.
If you want to show Date module dates in a view, the Date module can do this, but there are still a few bugs in the D6 code that I'm working out. If that's what you're trying to do, take a look at the Date issue queue where there are already a couple threads about getting filters working and you can track them. See http://drupal.org/project/date.
Views also has some built in filters for viewing Drupal core dates in a view. So if you want to see those dates (things like the node created or updated dates), then this is a Views issue. But it doesn't sound to me like that's what you're doing, so I'm assuming this is not a Views issue.
Comment #3
karens commentedoops, cross-posted :)
Comment #4
Forceflow commentedOh, thank god I found this post. I was trying the exact same thing today, and there's me thinking I did something wrong. (I've only been working with drupal for 2 weeks now ...)
I also am using a CCK-created content type with a date field. Adding a filter with Views doesn't give any results, when there clearly are. When I look at the SQL query, I suspect it has something todo with the ADD_UNIX_TIME command.
Sorry to re-open the issue, but could you answer the following questions ?
- What versions of CCK/Date do you recommend to have the least problems ?
- How do I actually properly update a module with new nightlies ?
- Could you link me to some bugs which adress this issue ?
Comment #5
TSE commentedi now use the latest Dev Version of date: http://drupal.org/project/date which is 6.x-2.x-dev 2008-Jul-18
and the latest dev of Calendar 6.x-2.x-dev (2008-Jul-15)
Everything works fine ;)
Greetz TSE
Comment #6
Forceflow commentedOkay, thanks a bunch.