LBell
Forum Replies Created
-
Forum: Plugins
In reply to: [Pretty Google Calendar] Time Zone IssueFullCalendar should render the times in the users local timezone, is the timezone in Google Calendar correct?
There may be a lingering issue on our end. Can you delete line 87 in pgcal.js (starts with:
timeZone: pgcalSettings["fixed_tz"],) and see if that changes anything?Forum: Plugins
In reply to: [Pretty Google Calendar] Custom JS – is it possible?This should theoretically be possible, but is outside the scope of this plugin.
In theory, you’d need to define your own custom view, then override line 137 of pgcal.js.
Good luck!
Unfortunately, FullCalendar doesn’t have appear to have a native way to do that.
If this something you would like to see added, please open a request here: https://github.com/lbell/pretty-google-calendar/issues
We can look in to adding this functionality, but it probably won’t be anytime soon unless someone is willing to fund the effort 😉
Glad you got it sorted! By default, the calendar should switch to list view on mobile and small displays.
According to FullCalendar’s docs, initialDate defaults to the current date, so not sure what’s going on: https://fullcalendar.io/docs/initialDate
Can you share a link?
Forum: Plugins
In reply to: [Pretty Google Calendar] Starting day as MondayEasiest way is through setting the locale which will shift the starting day. For instance,
locale="en-GB"should do it.Alternatively, you can use the
fc_argsargument and setfirstDay: "1". I haven’t tested this.Forum: Plugins
In reply to: [Pretty Google Calendar] Doesnt show calenderClosed due to insufficient information.
Forum: Plugins
In reply to: [Pretty Google Calendar] Doesnt show calenderCan you share a link to the page you’re having trouble with?
Be sure to run through the steps found here: https://wordpress.org/support/topic/events-not-showing-try-these-first/
Forum: Plugins
In reply to: [Pretty Google Calendar] Showing specific events or categoriesThis is not possible with this plugin. Your best bet would be to make 3 calendars in Google Calendar and display them separately. Good luck!
Forum: Plugins
In reply to: [Pretty Google Calendar] Hide ALL event detailsYup! You can use the experimental
fc_argsshortcode argument:fc_args='{"displayEventEnd":"true"}'Forum: Plugins
In reply to: [Pretty Google Calendar] calendar list viewThis appears to be an unresolved low-priority issue with FullCalendar itself, which this plugin has no control over: https://github.com/fullcalendar/fullcalendar/issues/6928
Forum: Plugins
In reply to: [Pretty Google Calendar] Hide ALL event detailsNot a way to do that through the plugin, but you could try some CSS magic. This might get you started:
.fc-event-title{
font-size: 0;
}.fc-event-title:before {
content: ‘Busy’;
font-size: 1rem;
}Forum: Plugins
In reply to: [Pretty Google Calendar] calendar list viewUsing the argument
initial_view="listCustom"should default to the list view on load.Note, the custom list view will show the next 28 days events — if there are no events on a day, that day will be hidden.
I do not believe FullCalendar allows you to show empty days in any list.
If you are looking to show the full current month (including past days), you need to use
listMonthClosed due to insufficient information.
Forum: Plugins
In reply to: [Pretty Google Calendar] Always showing LoadingClosed due to insufficient information.