Thanks for the module! My problem..
- I have a site which is made up of users with a role 'contractor
' and a node titled 'event
'.
- Events are created by admin, and contractors are listed via the user reference module so they may be invited to attend.
- Currently, with some custom js, db querying and some form_altering I have the following set up (see attached).
- I'm querying the availability_calendar_availability table to bring back each contractors availability between 2 given dates using their cid
- then highlighting the dates/days to show when they cannot work - hence no point to invite them
- This is currently working ok (although a bit hacky) providing admin with an oversight of the users availability.
What I'm trying to achieve:
- A way to link the event title to the availability dates.
- So the admin can not only see if a contractor is unavailable on a particular day but, what event they are actually working on that day..
- From this I'm hoping to be able to link a users availability days to particular nodes.
How can I link the two together? Any ideas on how to approach this? Hopefully this makes sense.
Cheers
Comment | File | Size | Author |
---|---|---|---|
Screenshot from 2014-03-17 13:17:35.png | 19.68 KB | williamsowen |
Comments
Comment #1
williamsowen CreditAttribution: williamsowen commentedComment #2
williamsowen CreditAttribution: williamsowen commentedComment #3
fietserwinThough your request is reasonable, the current version of this module is not up to that task. It only stores (and displays) the resulting availability, not knowing why a resource is not available. for that you need a separate administration of "events" that lead to the resulting availability (event being anything that changes the availability of the object: attending an event; holiday, weekend; illness.
I do sometimes think about how to change this module so that it becomes even more flexible, but that is hard and will be a lot of work, while the use case are perhaps better served by modules like https://drupal.org/project/resource_booking or https://drupal.org/project/booking_timeslots.