Hi folks,

I'm running an intranet site on v4.4 which mainly uses Drupal's CMS capability. We've just been assigned a task to extend this site to a near full-blown intranet site. The first thing in order is to create a meeting room booking system. I was thinking of using a calendar's month-view as the main interface where users can see all the booking in a bird's eye view; then zoom in to a day where the actual booking is made.

I've a few questions:
- Having searched the forums, I still haven't found any ability to re-use the calendar interface. The only reference I have seen is to incorporate WebCalendar into Drupal. Is there a way just to display the month view instead?

- Is there a good reference module which does a similar thing which I can refer to or modify?

Thanks!

Comments

Boris Mann’s picture

The event module is being replaced for 4.6 with a more expansive "event API" which you could use as a basis for your booking system. Check CVS and/or crunchywelch sandbox for code.

fulat2k’s picture

Thanks for the info. But I've decided to approach the design a different way by doing w/o the calendar display.

I've started to code on the module itself and I'd like the admin to be able to add/edit/delete multiple rooms; something similar to adding accounts. I'm looking at the hook_settings() function but that doesn't seem to be the correct function to look at.

Can someone be so kind to point me to the correct direction?

Thanks.

Boris Mann’s picture

I would think of it in two different ways. Either each room is a node, and then bookings are attached to that, or a room could be considered a taxonomy term, and bookings would be nodes.

And http://www.drupaldocs.org contains the API reference. Use IRC or the developer mailing list to get more developer-centric info.

binford2k’s picture

How is this module coming along? I've recently acquired a need for such a module myself and was about to start hacking one up.