I am very confused about this module,

How are users supposed to book anything if the date fields are presented in the node creation?

Also for a resource that need to be booked 5 days (a class room for a course) how can I set this configuration?

Maybe I am missing the purpose of the module because the lack of description.

Comments

sukr_s’s picture

The resources and bookings are two different content types. You can create a content type for resources and another content type for booking e.g. event. Users who need to book a resource must have the permissions to create the content type used for booking e.g. event. While creating the event content, the duriation of booking can be specified.
Refer to the README.txt for further information on configuring the module.

ressa’s picture

This module has the potential of becoming The Booking Module for Drupal. However, I followed the README.txt but couldn't find the option under "2.1 Date: Date(node). Under Date Field(s), select Resource Booking: Start..." under Contextual filters, and got stuck.

It would be great if an example module was included, so that when you install Resource Booking you can have a functioning booking system, which the users can then adjust to fit their needs. In most cases it will just be a case of changing the Resource name from "Room", if that will be your example, to "Locale".

What do you think?

westbywest’s picture

I agree on the need for having content types, taxonomy tags, etc set up upon install. This is module is wonderfully effective for a feature I need to implement (booking by hour), which other modules such as Availability Calendars and Simple Reservation can not accomplish.

The README.txt provided, tho quite detailed and specific (for which I'm grateful), was incomplete:

- To actually book any resource, you must create at least one Resource node for each tag, e.g. a "Room" node or "Projector" node. Just creating the "Resource" content type isn't enough.

- For the "Calendar of Resource Booking" view, the contextual filter for Resource Booking start/end dates needs to be overridden for each display, with granularity set appropriate to each display (e.g. Month, Day, Week, Year).

- For the "Calendar of Resource Booking" view, it seems best to specify "Resource Booking: Start date" as the global sort criterion, instead of the content updated date.

Since setting up generic content types out of the box, may not be ideal for all users, why not package the demonstration content types, taxonomy, and fully configured views in a feature provided with the module? That way, users may opt to enable the feature if needed?

I am attaching just such a feature which I created on my site, with a "Resource" content type, "Reservation" content type, "Reservable Resources" taxonomy, and the 2 views as I customized them. You will need to populate the tax vocabulary with the terms you want.

I can not guarantee installing this feature will not irreparably break your site, kill a bunch of kittens, and eat all the pizza out of your refrigerator. In particular, I get a bunch of "Undefined index" warnings when displaying the views, creating reservation nodes, etc.

ressa’s picture

Great thinking, Features is the obvious way to do it. It would be great to also be able to include some terms, just to make it even easier for people to get started, but I don't think you can do that with Features yet.

I tried to activate the Feature, but in the View "Calendar of Resource Booking" -> "Month" under "CONTEXTUAL FILTERS" I am getting a "Broken/missing handler, Resource Booking: Resource NID". I probably have to select "Resource" as a "Relationship", right? And "Provide default value", but which "Type"...? Also, under "FORMAT" I get a "Format: Missing style plugin".

I don't know if it is Features that is leaving this stuff out during creation of the Feature, or whether it is some setting hidden somewhere which was left out when the Feature was created, but thanks for having a go at it. Would you mind checking if there is some obscure Views setting hidden somewhere which might fix the "missing handler" thing?

Nevermind the kittens, this is important Drupal progress :-)

kyriefurro’s picture

How are you booking by hour? On my installation it's only showing dates, not time. Am I missing a setting somewhere?

.....Nevermind. Apparently it uses "short date" as the default and I'd gone an played with the short date format.

cviccaro’s picture

ressa: Install the calendar module to make the 'missing style plugin' error disappear.

Subscribe... I don't know how this topic doesn't have more discussion... Drupal 6 has an entire Booking system module family, but this has not progressed to D7. I second the idea above that this module could become the base for this on D7. I am facing the need to book a Tour content-type (a Tour of a city or cities of a country, possibly including a cruise from city to city), which itself can have 'tour extensions' both before the tour (pre-tour extension) and after the tour (post-tour extension). Both a tour and a tour extension include at the base hotel reservations, the actual 'tour' reservations, and have the option to include additional nights stay and additional rooms. At first pass, we were trying to use webform to accomplish this, but using this module and perhaps form builder module would be better?

Any direction from someone who has faced a similar situation I'd be extremely grateful.

pepperstreet’s picture

Title: Please explain » Please explain - ReadMe ?

Sorry for asking, but where is the READ ME file? Maybe its too late or I am just dumb ;-)

EDIT:
Aaargh, got it!
SOLVED

pitxels’s picture

Ok for what I read on answer #1 users will have to create nodes.
That's is why I think this is confusing, is this module showing a node creation form to the user that wants to make a reservation?.

Can you make a video course explaining the configuration and samples? (just kidding)

sukr_s’s picture

Status: Active » Closed (fixed)

Feature example has been included in 7.x-2.x