Could someone please point me in the direction of a good Tutorial for this module?

I have it linking to a webform and retrieving the dates correctly, but how do I then (automatically or manually) change the calendar to show its provisionally booked after form is sent?

Also even as admin I cannot edit the calendars.

Any help would be much appreciated

Comments

simonbcfa’s picture

Issue summary: View changes
fietserwin’s picture

Seems more like a js error on your edit page. Debug with a firebug or another developer tool in your browser and see if there any js errors logged to the console that prevent our script from properly executing.

Note: availability won't be changed automatically, though there is a contributed module in issue #1379384: Custom handling of bookings that does so.

simonbcfa’s picture

Thanks for the reply...

I managed to get it working (user error!) and I am currently looking into the contributed module as that would be perfect.

One other question...

Is there an alternative to linking to a webform from the Availability Calendar Booking formlet, through each new content created rather than the content type?

At the moment we would like the user to be able to create multiple events to link to link to different webforms and would prefer not to create a new content type (with the Availability Calendar fields in it) for every new event

fietserwin’s picture

There's a todo in the code about allowing to define the url per field value instead of per field instance (say content type level), but I don't have any actual plans to implement it in the short term. If you need it for your current project, you can:
- add it yourself, post the changes and I will, after reviewing and accepting, add it to the module, so future support and upgrades are then possible. If you would like to do so, please contact me beforehand to discuss the feature.
- contact me and we'll discuss whether I can add it before the release date of your current project.

In both cases, you or your project will be mentioned on the project page.