Hey Guys! Great work on getting FullCalendar implemented in Wappler! I already have FullCalendar fully functioning on my site, but am looking forward to integrating it the Wappler way.
My events all have categories, and each category has a color. I’ve tried to implement a dynamic color for the events but it doesn’t seem to be working…
Hey George. Maybe you’re not understanding what I want to achieve. I don’t want every event from one data source to be the same color. I want each event to have the background color of it’s category which is sourced from the Server Connect field backgroundColor.
Here’s side by side what Wappler (left) and FullCalendar (right) look like…
thanks. I see how date click and select work . Trying to understand drag/move works. How do you save the new values of the data after you do a drag/move? do you need to feed the event data into a model with an add form having a server connect action for the add record to the database? Sorry I’m not understanding quickly, but I see there is a lot there so this will be very useful.
yes i see how to add an event in the development code but what about the end user wanting to add an event while viewing the calendar. That is what I’m trying to do; set up the calendar page so that the end user can add/edit events directly. This is not clear from the docs. I can certainly see how a read only calendar can work.
Rick, have you checked BOTH the docs links i sent you?
They explain how to access the specific data per dynamic event (drag, click, move, select date etc…)
Use them to allow your users edit the events.
thanks I didn’t see that section. I got it to work with dates but when I try to use date picker with time picker, it gets confused. The date picker defaults to a text input box with the picker, but when I try to select a date through the picker, nothing gets put in the text input box. When I enter a format, it doesn’t work either. I’m trying to use format YYYY-MM-dd HH:mm Silly, but its the date/time formatting I’m stuck with.
I’m adding a new event to the calendar. What I have is a modal which appears when you select a date. The modal has a form to add a new event.
There is a timein and timeout text input which has a date picker with both. When I select a date, the value does not appear in the boxes so can’t save the new record. If the date boxes are just plain dates, no times, it works. the link is:
just select a blank date to see the modal. If you select one of the blue events, you’ll see a nicer modal with data about that event using the event click option and my database. The green events are from my external calendar, as another source which has categories in it but haven’t integrated that yet. Making progress, slow but steady. I do like where this is going. Just need some help with date formatting.