Ability to use javascript to select availability dates?

yrre7 - November 7, 2008 - 00:18
Project:Availability Calendars
Version:5.x-1.2
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi this is a great module! but I am just wondering is it possible to use javascript to select the availability dates? instead of choosing each day by day?

Thanks,

#1

geodaniel - November 7, 2008 - 09:34

I would like to be able to do this, yes, but I've not looked too closely yet at what would be involved. Just out of interest, could you walk me through the workflow you'd like to see?

#2

yrre7 - November 7, 2008 - 21:43

I would probably like to see just one javascript calendar showing up in a node instead of broken down month by month, and maybe can be provided in a block as well. The javascript calendar should maybe have a month and year switch button, so you can browse through each month by just clicking some arrow button to go to the next month or year. User can maybe select on the javascript calendar itself on which days they want to have it available (multiple selects, dragging select, etc).
Hope this clarifies a little bit.
Thanks,

#3

mpp - February 27, 2009 - 12:17

Hi,

I'm working on a website for a Bed & Breakfast in the Belgian Ardennes and wanted to show the visitors an availability calendar.

As you can see on http://verteplace.be/en/guestrooms I added some functionality to the calendar:
- some javascript to show one month at a time (for improved design)
- a "< previous" and "next >" month link
- day of week (using localization)
- some translations (dutch, french, german)
- title tags for better SEO
- always display dates in the past as unavailable

some things that may be usefull:
- option in admin to choose between "one month" display using javascript or full list of all months
- an optional link on the available days to a booking form
- a legend explaining the colors

let me know if you're interested in these features
regards

#4

geodaniel - March 2, 2009 - 16:32

It'd be great if you could provide a patch for some of those bits so they can be included in the module.

#5

inosaur - March 22, 2009 - 17:19

#6

inosaur - March 22, 2009 - 17:18

I would also be interested to adopt the calendar like seen on the bed & breakfast site shown.
Is the coding available somehow? It looks great!

Greetings from Austria

#7

jamesmcd - September 29, 2009 - 16:45

Subscribing!

#8

rorymadden - October 2, 2009 - 00:21

Thanks for this great module and the work that has gone into it.

I think the improvements in #3 would be very useful as well as the "multiple selects, dragging select" outlined in #2. Unfortuantely I am not a programmer so I can't help out but just putting my opinion forward.

Thanks

#9

aacraig - November 14, 2009 - 10:13

I am interested in this same functionality. The best sort of functionality I suppose would be similar to Google Calendars or something like that. I imagine an interface where clicking on a date pops up a form where you can select the state for that day, and it all save through AJAX calls. For browsers with Javascript turned off, the existing interface would be preserved.

My client is willing to pay me to develop this functionality, so I can work up a patch immediately. Before starting, though, I'd like to know if anyone else has been working in this direction already and also have some feedback as to the direction to take in the development.

 
 

Drupal is a registered trademark of Dries Buytaert.