This seems to be the closest thing I've been able to find in drupal so far for what I need. How tough would it be to use Work Calendar in this way: ( Will try to use work related example)

Lets say I have a site that shows different businesses using Nodes and the days they operate using the Date module and repeat functionality The built in popup jquery from the date module is very limited in that you cannot even block out any dates from being selectable.

Would it be possible to use Work Calendar to instead of using the pick the days of the week, take the date from the node and then show clickable or unclick-able dates in the calendar based off of that?

Comments

jonhattan’s picture

So you want to use a date repeat field to control which days are available in the popup for another date field? At a first glance, it sounds like another backend for work_calendar. It implies a major rewrite of the module's basis, and in principle I'm not too keen to incorporate such a functionality.

Another option is to extend work calendar in this way:

* provide a field type in addition to the current entity.
* (from the "future plans" in the project's home page): Define availability exceptions based on inclusion/exclusion of day-month. That is, define concrete days to be an exception to the week pattern.

I think it would cover your use case.

Please explain it in more detail if I misunderstood something.

xbrianx’s picture

An example of the functionality I am trying figure out how to get from drupal can be found here: http://www.viator.com/tours/San-Francisco/Beach-Blanket-Babylon-Show-Tic... if you click on the calendar next to select a travel date, a popup calendar comes into view with previous dates marked off as well as selected dates.

I let users create their own nodes and set up their own date values on the front end so they do not need to access the admin. I am looking for a popup calendar that can display whether or not a node's date field falls on the day or not for use in a submit form as shown in the example above. Maybe it is out of the scope of this project, but I've look through a bunch of modules and none seem to utilize the date repeat functionality...

jonhattan’s picture

Status: Active » Closed (won't fix)

I'm not aware of any module suitable for your needs, although work_calendar has some useful bits that could be reused to fit your use case. Feel free to contact in private if you want to hire me to write such a module for you.