0

I have a drupal site where reservations are available. We use fullcalendar module to visualize the room reservations. For a reservation the user needs to add a new content. The content uses taxonomy terms as rooms. Now I'd like to achive that once the user creates a new booking content and chooses the room, when it is not available, the user should be warned. I mostly use rules and i am a bit unexperienced with drupal, now I'm trying to learn.

1 Answer 1

0

There are a number of ways to achieve the booking features in Drupal, try comparing here: Comparison of Booking System modules

One way that comes to mind for your specific case is using Flag module because you can set a Flag to be global, once an entity is marked as "occupied" that status is valid across the site. It's well integrated with Views and Rules, so you could probably do a lot there.

Another way might be to use Views Entity reference display for the Field widget when the user is creating a reservation. The Views would make sure to exclude all the terms for the Vocabulary that are already being used, so only "free" terms would show up when creating a new booking.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.