booking calendar – overview

Recommended Posts

the user can fill a form with two dates. when submitted, data will be saved as a page (unpublished) with these two date-fields.
then admin can publish the page.
is there a way just to output an overview of a year (screenshot) with all days having classes like free or reserved?


Bildschirmfoto 2017-07-14 um 20.34.52.png

Share this post

Link to post
Share on other sites

yes similiar. your site has events at some days. i need the opposite of that.
if there is no reservation you can choose the date.

that would be perfect for the contact-form!

the next thing i need, is just an overview of a complete year. it hasnt to be interactive, no links at all. just a plain overview showing which days are reserved and which free.
my question ist how to output a complete year and how to combine the exsiting reservated days with the output.



Share this post

Link to post
Share on other sites

Have you tried this this? Might be of use?

I've got it working using a repeater for the dates (but only 2 day courses start/end) if you need help.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Mats
      I’m building a simple ticket booking system for our events. I’m considering two different solutions:
      The first approach is creating one page per ticket and a reference to a booking page with the contact info. This should be faster when checking for ticket availability by using $pages->count().
      The other one is a one page per booking with an integer field holding the ticket quantity. Downside is having to use $pages->find() but only having to create one page per booking with the API. 
      My biggest concern is listing the events and the ticket availability for each event, loading all bookings.
      At the most one event has 300 bookings.
      Any ideas are welcome.  
    • By Marco Angeli
      Hi there processwire people,
      this may sound obvious to most of you but not for me : )
      I'm dealing with a booking form for a trip site.
      I want the user to choose destination first (a select: let's say Venice, Rome and Hamburg);
      Based on her choice, there will be days available (23 of august, 27 of september)
      Based on the day, another select will show available times (e.g. 9.30, 15.30 and so on)
      What should I do? Custom php or Form Builder? (I would prefer the latter...), and most of all: how to build a system like that?
    • By Marco Angeli
      Hi there,
      Just planning how to make online reservations for hotel rooms and restaurant.
      Is there an easy way to do it? (I'm thinking about a module...)
      Or a suggestion about a third party plugin that best fits? can it be done using PW?
    • By alan
      Has anyone any experience making a dynamic calendar:
      person visits site and can see a calendar with some days marked as taken and others as free
      person clicks a day and is allowed to fill a form to book the whole day
      next person visiting sees that previously free day is now booked and so can't book that one
      I am actually using the Form Builder to collect bookings but that only gets the data in to PW for me, what I don't know how to do is:
      have recorded entries show as booked days in a calendar
      have logic to stop people booking already booked days
      Any comments most appreciated, cheers!


      PS: there is a thread for this in the Form Builder forum, but as it looks like what I want to do is not specific to Forms and more to do with generic PW code/use, I am posting here.