I know that FullCalendar supports setting the time zone (https://fullcalendar.io/docs/timeZone) but I don’t see anything in this plugin’s docs about how to do that – if it’s even possible.
Or maybe it’s there and I’m just missing it.
I did try adding timeZone to the eventTimeFormat section of the FullCalendar config:
“eventTimeFormat”: {
“timeZone”: “America/New York”,
“hour”: “numeric”,
“minute”: “2-digit”,
“omitZeroMinute”: true,
“meridiem”: “short”
}
but that didn’t change anything.
]]>I have a calendar being displayed on the page shown. It works fine in Google Chrome, but fails with “Unknown error” in the Safari and Firefox browsers.
I have no clue what might be the problem, since no information is given except for “Unknown error”.
Can you help me solve this mystery?
Thanks!
P.S. FWIW, I cleared my Google Chrome browser cache, and it continued to display correctly.
]]>On this website, I have access to all agenda. When I open a private window, I’ve got an “unknown error” instead. A 60mn cache is activated. There are 7 agenda showing.
If I unselect all agenda, save and put them back, it all goes back to normal use for a few days.
It makes no sense.
The error on the console is : “TypeError: right-hand side of ‘in’ should be an object, got number”
From this part of your code :
xhr.onload = function (eLoad) {
try {
var response = JSON.parse(this.response);
if (“error” in response) {
throw response;
It makes no sense to me. Specially the part when it works and doesn’t work at the same time depending on if you saw the site before it broke or not.
]]>Hi,
Awesome plugin, very handy. Wondering if it’s possible for the location field to not automatically rewrite links to Google Maps. I checked the ical itself and I don’t see the maps link so it appears to happen somewhere after Google.
We use the location field to put Zoom links etc and they end up pretty useless when they get rewritten to a maps link.
As an example, if the location is https://zoom.us/798798978 comes out as:
https://www.google.com/maps/search/?api=1&query=https%3A%2F%2Fzoom.us%2Fj%2F798798978
Is this an option I can disable or remove somehow?
]]>Well, I tried to solve the event colors problem, but when I added some replies to the original post, they got ignored. I finally figured out that the post had been marked ‘resolved’, when in fact it had not been.
So, here is my post from the other thread. I hope the issue can indeed be resolved:
—————————-
Still not quite there…
I have specified the colors for the two calendars on this page: https://souheganvalleychorus.org/events/svc-events-calendar/ :
The US Holidays entries show the background color I picked (“Wisteria”), but the actual events for “Friends of SVC Events” show with a dark Turquoise color, and blue text, which is not easy to read in contrast. There is an indication that the color I chose for that calendar (“Mango”) is set, by the small colored dot in the upper left corner. But I cannot seem to change the entire event color or text to make it more readable. The little colored dot isn’t very useful.
Is there some way I can control this?
Another example is this page: https://souheganvalleychorus.org/full-calendar-2/
Is there some way to ‘grey-out’ past events, as opposed to just hiding them?
Thanks!
]]>I have had PGC running with an API key successfully a long time. I now updated and got message that the API key way will be depricated. I initiated the Google Cloud setup as outlined in https://blog.michielvaneerd.nl/wordpress-plugins/private-google-calendars/getting-started-with-private-google-calendars/. After several frustating steps I finally managed to obtain the Client secret JSON file and upload it successfulyy into my site.
However the next step authorisation fails. The instruction page above says just to go on, but there is no such alternative. What should I do?
The screen-shot:
]]>The link above contains a screen shot of the plugin settings onmy site. I cannot select a calendar and there is no reference on the site for me to understand what is supposed to happen here. Select a calendar copies the calendarID to the clipboard but there are no radio buttons or check boxes.
The block does not list calendars to add and the shortcode just adds a blank calendar.
]]>I would like to change the colors (both background and text) of certain classes of events (i.e. sub-calendars of a Google Calendar).
I’ve been foundering around looking at documentation for the Private Google Calendars plugin, and the FullCalendar documentation. I note that in the settings for Private Google Calendars there is a section Public calendar settings > Public calendars where you can specify the Calendar ID, Title, and Color, but when I specify a color, it seems to make no difference to the calendar display.
Please tell me how to accomplish this!
Thanks
]]>While I’m able to display the calendar using the gutenberg block on the page, I can’t seem to echo out the same calender as a shortcode. It is displaying the calendar ui, but there’s no events being displayed. BTW, the shortcode doesn’t seem to work with the 2020 theme either.
Here is my snippet:
<?php echo do_shortcode('[pgc calendarids="[email protected]" initial_view="listWeek" header-right="listWeek,dayGridMonth"]'); ?>
Is there something I’m missing?
]]>This plugin is absolutely amazing and I was able to set it up within minutes.
I have a client who would like a Timeline View – which is a feature of FullCalendar Premium. I’d like to purchase a license and use it with this WordPress Plugin, however, it seems as if the non-premium version is bundled and there’s no path to using the premium version.
Would you consider creating a version of this that supports the premium version? It could be a paid version as this might be a good way for your to monetize your efforts.
]]>How are we suppose to set this up for development if Google won’t accept our local domain? For example, I’m using Local, and my local instance url is https://mysite.local. Google won’t allow a domain with that extension to be used as a redirect url. And therefore, this plugin states: URI is missing in the client secret file. Adjust your Google project and upload the new client secret file.
Hello,
This is my second message regarding another case. The first one was not answered for weeks.
We are using a multisite, and on the second site, I received the following message in your plugin:
“Your refresh token is missing! This can only be solved by manually revoking this plugin’s access in the Google Permissions page and removing all plugin data.”
We have followed the link and deleted the data. Unfortunately, we still have the error message in your plugin on the second site.
Thanks in advance for your support.
]]>
Hello,
We are using this plugin for our internal intranet in two languages managed by WPML. Is it possible to have different settings for both languages, showing different calendar in French in one and in German in the other?
]]>Calendars are not rendering for me in version 20240103 – just an empty placeholder. The data-config html attribute appears to be being assigned “null” and causing the function listed below to fail. This happens even if I replace my custom config with the default in the Gutenberg block.
Here’s one of the pages where the failure is occurring -> Calendar
Here’s the HTML that’s being generated for the calendar:<div data-calendarids="["mywebsite.com_f7tv84tnvqojte8vnv778gc9qo@group.calendar.google.com"]" data-filter="" data-eventpopup="true" data-eventlink="true" data-eventdescription="true" data-eventlocation="true" data-eventattachments="true" data-eventattendees="false" data-eventcreator="false" data-eventcalendarname="false" data-hidefuture="false" data-hidepassed="false" data-config="null" data-locale="en_US" data-theme="pgc-light" class="pgc-calendar"></div>
Here’s the error appearing in the browser console – Function castObjectAttributes(obj) is being fed a null config:
main.js:73 Uncaught TypeError: Cannot convert undefined or null to object
at Function.keys ()
at i (main.js:73:16)
at main.js:166:9
at NodeList.forEach ()
at HTMLDocument. (main.js:103:29)
Please let me know if I can provide you with any other info to help fix it.
Kind regards,
Wyk
Can you please include a full list of all shortcode attributes?? I’m struggling to customize the shortcode because the documentation only includes a few examples.
I really want to show list view of the month only… no month grid view or anything else.
]]>When I use the dayGridMonth, then only the event time is displayed and the full day events are a single not readable line:
see here: Screenshot 2023-12-27 233726.png
I wondered if anyone had any ideas what I might be doing wrong with a page? I’ve got the below configured to only show one of three calendars on a page. If I’m a logged in user it displays exactly as it should. If I visit the site as a non logged in user it displays all 3 calendars. Odd right?
]]>I am using the Private Google Calendars for our HOA. Am struggling to figure out where I can managed the highlighted sections under the list view on the display. You can see when clicking on list view it is showing in blue and green make it unreadable. I was thinking on making a new csss and installing but not sure on the attributes to fix this. Or can I fix this in my wordpress theme?
THanks ahead of time for making such a nice plugin and your help!
]]>Getting back to the Resource Calendar from Hell, which is temporarily restricted to fewer resources – is it possible to have the items in the calendar display the calendar name, instead of the event name?
All I really want to do is with this calendar is to show when resources are busy. It doesn’t matter in this situation why a resource is booked; just that it is booked.
]]>We have a Resource Calendar that displays all our Google Workspace calendar resources. It is a massive cluster. I built it, and even I can’t stand to use it. Because everything is checked by default, it’s tough if you only want to look at the availability within a certain calendar.
Is there any way to set the display to have a bunch of calendars available, but start off with them all not checked? Or even only just one checked?
]]>We’ve been using the Private Google Calendars plugin with great success on our website. But our organization also has a weekly newsletter that’s published in Mailchimp. We list the events for the upcoming week in the newsletter, but it has t be done manually. We would really love to automate it. I’m guessing that the answer is “no”, but I figured I’d ask any way.
Is there a way to create content on the website that lists events like this, and copy/paste that content into something like Mailchimp?
Suggestions?
]]>Hello! I love the plugin! I’m working on styling it, is it possible to have the hours, minutes and am/pm each styled differently. For example I want the minutes am/pm smaller and to be on a separate lines. Thank you!
]]>First: thank you so much. I use your plugin already for years and it worked all the time. How can I give you a Beer? Do you live in Utrecht?
But in December version 4 didn’t work anymore. So I switched to 5 by the simpel choose menu in your plugin. That didn’t solve the problem.
Now I read all the questions here but don’t find the answer.
Everything works fine when I am loged in. Suggestions?
]]>Hi,
After using the plugin for almost 4 months, the message “token has been expired or remote” appeared on the web page where I had the calendar. I wonder how I can do the following:
*Where can I find what is the exact default expiration date of the token? Is it in some database table?
*How can I tell the plugin to extend the expiration date? Is this something I can configure in the wp-config.php?
*How can I refresh the toke WITHOUT HAVING to reinstall the plugin?
Thank you!
]]>New install — not show ANY event details just Title and date/time — can’t seem to get it to show notes or URL — in this case to a Zoom meeting.
]]>I have everything set up correctly for the calendar, and can see events displaying properly while logged in. But when logged out of WordPress, it says “Unknown Error” in the top left corner of the calendar. It occurs whether I’m using the Divi builder or default editor. I’m only using the base shortcode [pgc]. Thank you for your help with this!
]]>Hi, I want to make the calendar accessible via keyboard navigation, so that people can see details of individual events (not whole days). Is there any way of setting a tabindex for the event dots in daygrid or listMonth views?
]]>The calendar I had on that events page not only wasn’t displaying, the page itself keeps redirecting to the home page.
]]>I noticed a while back that my calendars are not showing any more. I have no clue what happened.
I tried the following steps:
– Changed from authentication with API key to proper OAuth authentication
– Changed the calendars from public to private
– Disabled all other plugins
– Clicked the ‘Update calendars’ button and the ‘Verify’ button (“Verify OK!” it says)
– Changed from calendars block to inline script and back
What can I do make it work or at least find out why it doesn’t?
Thank you very much!
]]>Hello!
After the updating to version 20220910 using either guttenberg block or shortcode the section shows up completely blank (not even a blank calendar), except for the calendar filter options when using Full Calendar 5.
If i switch to FC4 it populates correctly.
]]>