Project:Date
Version:7.x-2.x-dev
Component:Views Argument
Category:feature request
Priority:normal
Assigned:Wim Leers
Status:needs work

Issue Summary

I'm using the most excellent Calendar + Date (specifically: Date Views) + Date iCal combo. Overall, it works very well.

I use it for my table tennis club: http://ttkherckenrode.be/club/kalender.

Now I also want to create a birthday calendar for all members. They've entered their exact birth *date*, e.g. Jan 20, 1988. The problem is then: how to display birthdays in calendars? I've traced this down to date_views_argument_handler_simple. The "month" granularity there is really "month in year" (the same applies to all other granularities). So I started adding "month (any year). But I got stuck in several places. Most importantly: the query is returning the correct results, but nothing is being rendered. I suspect this is happening because the results still refer to the year of the actual birth date?

So I figured I'd post the most simple version of what I currently have and ask for feedback. How can I work around this? Does this stand any chance of getting committed to this module? Is it even possible to move this into a module that neatly integrates with what Date Views already provides?

AttachmentSizeStatusTest resultOperations
birthday-views.patch2.74 KBIdlePASSED: [[SimpleTest]]: [MySQL] 5,237 pass(es).View details | Re-test

Comments

#1

#2

Status:closed (duplicate)» needs work

Are you seriously going to close this and point me to an issue that started in *2008*, that was initially for the D5 version of Date and now for the D6 version and thus for CCK? An issue that isn't going anywhere? An issue that hasn't been updated in over 6 months?

Please don't.

#3

I agree that adding in some month-only filters would be nice. Not sure at all yet of the best way to do it.

#4

Okay. Thanks for getting back to me! :)

I'm looking forward to feedback on how to do this. I'm not going to work on this if it's not going to get in anyway.

#5

Are there any others, who would even pay for this feature?

#8

I needed this as well, have a look at http://drupal.org/sandbox/attiks/1787154 it uses a mysql query to load the entity_id's.

nobody click here