0
votes

A Google Calendar event (not the calendar itself) can be set as public or private in their web-interface. In the list of properties recognized by FullCalendar (https://fullcalendar.io/docs/event-parsing) I haven't found a property for private/public events.

Ultimately, I need to display public events from a private calendar using FullCalendar, and I can't seem to find a property to filter by. Does FullCalendar recognize it?

Thanks!

1
No. FullCalendar will just display whatever events you give to it. So if you don't want an event to be displayed on the calendar, then don't include it in the list of events you send to the calendar. Most people have some server-side code which controls the list of events being created, so you can implement your public/private logic there, before the data reaches fullCalendar.ADyson
I might have been unclear, so I edited my question. Please see if it makes sense now.Panic
Ok. So how are you loading the events from Google into fullCalendar?ADyson
I use a Wordpress plugin (Private Google Calendars) which works with FullCalendar. It transparently passes all properties FullCalendar supports and allows to display a calendar on a page, with events filtered by certain properties. I wondered if there's this property to filter events by that the plugin would use, but it has to be supported by FullCalendar.Panic
It's possible to add custom properties to fullCalendar, and you could then write code to filter them. So maybe you can modify the plugin to do that. But honestly without knowing what the plugin is or seeing its source code it's a little difficult to be sure what the best approach is.ADyson

1 Answers

0
votes

According to @ADyson, currently, there's no way to do that, but he kindly suggested an alternative way to achieve the ultimate goal. Thank you!