Jump to content
rareyush

Hours Booking calender

Recommended Posts

Has anyone any experience making a dynamic hours booking calendar:
  • person visits site and can see a calendar with available hours marked as taken and others as free
  • person clicks number of hour and is allowed to fill a form to book the timing like: 6:17pm - 10:67-pm

Any comments most appreciated, 

Share this post


Link to post
Share on other sites

Try to find a calendar script (php or javascript) there are tons on internet, free and paid. Follow the instructions to set/get the data and use it in your template file.

https://www.google.com/search?q=Hours+Booking+calendar+php

I previously used this http://eonasdan.github.io/bootstrap-datetimepicker/ (javascript), it's for use with bootstrap, you just have to output the plugin config with php and later receive the data using a post.. it's very straightforward

 

 

Share this post


Link to post
Share on other sites

A little search goes a long way... here's two similar threads

https://processwire.com/talk/topic/14888-simple-calendar-module-with-reservation-and-confirmation/

https://processwire.com/talk/topic/16757-booking-calendar-–-overview/

As far as GUI is concerned, there are better alternatives than Bootstrap datepickers. Out of the box, they are not truly accessible. Try something like this instead https://github.com/flatpickr/flatpickr

 

 

Share this post


Link to post
Share on other sites
On 4/27/2018 at 8:08 PM, dragan said:

A little search goes a long way... here's two similar threads

https://processwire.com/talk/topic/14888-simple-calendar-module-with-reservation-and-confirmation/

https://processwire.com/talk/topic/16757-booking-calendar-–-overview/

As far as GUI is concerned, there are better alternatives than Bootstrap datepickers. Out of the box, they are not truly accessible. Try something like this instead https://github.com/flatpickr/flatpickr

 

 

 

On 4/27/2018 at 7:36 PM, Pixrael said:

Try to find a calendar script (php or javascript) there are tons on internet, free and paid. Follow the instructions to set/get the data and use it in your template file.

https://www.google.com/search?q=Hours+Booking+calendar+php

I previously used this http://eonasdan.github.io/bootstrap-datetimepicker/ (javascript), it's for use with bootstrap, you just have to output the plugin config with php and later receive the data using a post.. it's very straightforward

 

 

4

none of them is working in my case 

I am actually looking for something like an appointment booking calendar with multiple time slots during each day, where availability can also be specified. Also the availability can be specified by the service provider, not necessarily the super admin, and can be selected and booked by users with an online payment.

Thanks for your help and support.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By ngrmm
      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?
       

    • 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?
      Thanks!
    • 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.
×
×
  • Create New...