0

I would like to add buttons for weekly view in fullcalendar, as time slots and make them bookable slots. I tried to add in Javascript Content Injection for Fullaclendar but I cant.

here is an example of my thoughts

ADyson
  • 57,178
  • 14
  • 51
  • 63
  • Why not just use the time grid view? https://fullcalendar.io/docs/timegrid-view . You can customise the slot size. – ADyson Mar 21 '23 at 11:45
  • It's ok, but how and where can I add buttons like slots, which are bookable? – Orosz Tamás Mar 21 '23 at 13:44
  • You don't need to. Let the user [select](https://fullcalendar.io/docs/date-clicking-selecting) the timeslot they want. You could possibly use visual cues to show which areas are free, e.g. by using [background events](https://fullcalendar.io/docs/background-events), and then you can also use the constraint mechanisms (see my first link) to ensure the user can only select the available slots, and/or can only select a certain duration of time). – ADyson Mar 21 '23 at 13:50

0 Answers0