Hi Kate,
You could use the Jquery datepicker to display your calendar.
- print out an array of booked dates
- when calling datepicker, pass in the parameter "beforeShowDay" that
takes in a function ie.
$(this).datepicker({
beforeShow: customRange,
changeMonth: true,
changeYear: true,
beforeShowDay: reservedDays
});
where "reservedDays" will cycle through your array and return true for
false to enable/disable the date.
To see it in action , check out http://vancouver.rlisting.com/
- you'll need to register and then create a listing
- then add bookings.
cheers
On Tue, Jan 18, 2011 at 6:42 PM, Kate Pojeta <[email protected]> wrote:
> We are working on a site where the client wants visitors to be able to
> request an event date (using calendar + date), but only be able to choose
> from dates that haven't been booked already. Ideally, the submitting visitor
> would see available dates on a calendar when filling out the node, or the
> unavailable dates would be grayed out, etc.... Any experience with this or
> recommendations?
>
> Thank you -
>
> Kate Pojeta
> Lansing iT
> [email protected]
--
Golf's three ugliest words: still your shot.
~ Dave Marr