I have a problem that blocks me a lot to finish my web app.
I don’t understand why the availability of “utilisateur”, validated on “Inscriptionpro2_0”, are not displayed in the calendar on their profile. I must have missed something but I can’t see what.
But in your Database you can see that those fields are actually empty, you will need values in there for it to work (or change the Expressions on the booking page)
When the Button get’s clicked, add an Action here:
Add the Action Display Data in a Group, and you will want to display ‘Current Cell’s Date’ in the group called Group Create Booking
Then on the ‘Confirmer votre rendez-vous’ button, under the Create TopCal Booking Action:
Add the field ‘Booked range’ = Parent Group’s Date <-range-> Group End Time of Booking’s Date
(You will also need to change the Data Source of the Group End Time of Booking to reference the current page’s TopCal instead of doing the Search)
Once you start saving the Booked Date Ranges correctly, then you need to feed the Booked Ranges into the TopCal element here to remove the Time Slots from being available:
Sincerely thank you very much you have helped me a lot! I didn’t do well with the second part of your tutorial.
I followed your advice by putting my site in edition mode it’s better !
I take this opportunity to ask you a question. Is it possible to create a calendar that will display only the booked appointments so that the professional can see all his appointments?
No problem, I made some small changes to the Expression on the TopCal plugin to add in the Booked Times, and also made a change to creating the Booking workflow
The data was adjusted and the Time Slot Increment and Booking Length values were empty again (same issue we came across before). Those values must have been changed somewhere so I put some numbers back in
Thank you a lot you really helped me I almost finish it but there is something I don’t understand.
Why when a someone choose his booking lenght and time slot increment the calendar doesn’t work ?
1 - the Time Slot Increment cannot be empty because in order to display time slots there needs to be an interval between them (even 1 second). There would be no Date/Time values if the time slots do not increase by a certain amount
2 - The Booking Length is needed to make sure Bookings cannot overlap with unavailable time (booked times or outside available hours)
Example, if I am available 9am until 10am:
If someone wants to book a 30 minute appointment, the latest time slot that that can be booked is 9:30am.
If the appointment length is 10 minutes, then the last time slot is at 9:50am
So the plugin requires those values and when empty they can cause an endless loop on the page (not work)