LBell
Forum Replies Created
-
Forum: Plugins
In reply to: [Hydrogen Calendar Embeds] Missing “Add To Google” Button in Event PopupGlad it’s useful!
The issue is that Google does not provide an “add to google link” through ICS, so there is nothing to surface.
It may be possible to rebuild that functionality using a hook.
A user has shared a similar idea here: https://github.com/lbell/hydrogen-calendar-embeds/issues/7 (Note: This hasn’t been tested. Please exercise due diligence before utilizing code you find on the internet and be sure you know what it’s doing.)
Forum: Plugins
In reply to: [Hydrogen Calendar Embeds] Calendar Event DeduplicationThat would be the right track.
For a non-exhaustive (and admitted AI-generated) doc of hooks available, see here: https://github.com/lbell/hydrogen-calendar-embeds/blob/master/docs/hooks.md
Forum: Plugins
In reply to: [Hydrogen Calendar Embeds] Calendar Event DeduplicationHowdy! That’s beyond the scope of this plugin. Sorry.
Forum: Plugins
In reply to: [Hydrogen Calendar Embeds] Migrating from Pretty Google Calendar HelpHowdy!
To answer your first question, there is no settings page for Hydrogen Calendar, as each setting is specific to the calendar being displayed. We recommend using the new block this plugin provides.
As for the second, we cleaned up the logic a bit, so now you need to set the available views, and the initial view. From https://ww.wp.xz.cn/plugins/hydrogen-calendar-embeds/#installation:
views="dayGridMonth, listMonth"Sets the view types available. If only one view is provided, no view switch buttons will be shown. Defaults to “dayGridMonth, listMonth”.
Available views:
dayGridMonth(monthly grid),listDay,listWeek,listMonth,listYear(list views), andlistCustom(custom duration list).Tip:
listCustomallows you to set the number of days you want to display from the current date. Whereas listMonth shows all events from this month (including past events), usingviews="dayGridMonth, listCustom" custom_days="28"will show the next 28 days across months.custom_days="28"Sets the number of days to show when using
listCustomview. Defaults to “28”.custom_list_button="list"Sets the button label for the
listCustomview. Defaults to “list”.initial_view="dayGridMonth"Sets the default view to be displayed when opening the page. Defaults to “dayGridMonth”. Note: If only one view is specified in “views”, “initial_view” will automatically be set to that view and does not need to be specified.
Forum: Plugins
In reply to: [Hydrogen Calendar Embeds] Time Grid Week SettingsThat’s exactly it! Nice work.
Forum: Reviews
In reply to: [Hydrogen Calendar Embeds] Easy, lightweight, all the settings you needHappy to hear it’s working out for you. Thanks for the review!
Forum: Plugins
In reply to: [Hydrogen Calendar Embeds] Calendar not updatingHowdy @drullo! Can you share the site, and the ICAL address you’re having issue with?
Forum: Plugins
In reply to: [Pretty Google Calendar] button custom_list_buttonInteresting. I see the issue on some browsers, but not others.
First, can you try our new plugin: https://ww.wp.xz.cn/plugins/hydrogen-calendar-embeds/
Second, if the issue persists, please try changing themes, then disabling and enable other plugins 1-by-1 and we can try to isolate if the theme or the plugin is causing this unexpected behavior.
Forum: Plugins
In reply to: [Pretty Google Calendar] button custom_list_buttonSorry, I’m not able to reproduce this behavior either locally or at the site you have linked to.
Is this still an issue?
Also, please note that future development will be focused on our new plugin: https://ww.wp.xz.cn/plugins/hydrogen-calendar-embeds/
Forum: Plugins
In reply to: [Hydrogen Calendar Embeds] More info on hover or click?If you want the full info to display on click, use the “show tooltips” option under the “Display” block settings. Or for shortcode:
use_tooltip="true"- This reply was modified 3 months, 4 weeks ago by LBell.
Forum: Plugins
In reply to: [Hydrogen Calendar Embeds] More info on hover or click?I think you’re looking for the
eventMouseEnterfunction: https://fullcalendar.io/docs/eventMouseEnterForum: Plugins
In reply to: [Hydrogen Calendar Embeds] Calendar not updatingTo minimize server hits, the API caches the ICS feeds for 15 minutes.
You can change this by modifying line 37 of
includes/class-hycal-ics-proxy.phpconst CACHE_DURATION = 900;I could see making that user-settable.
Forum: Plugins
In reply to: [Hydrogen Calendar Embeds] “Unable to load calendar data”That explains it! I’ll get a fix out that can handle when permalinks are off. Thanks for sleuthing.
Forum: Plugins
In reply to: [Hydrogen Calendar Embeds] “Unable to load calendar data”Interesting. Looks like we’re getting an additional
?in the API url.Can you add / modify
public\js\helpers.jsline #43 like so:const separator = settings["rest_url"].includes("?") ? "&" : "?";
const proxyUrl =${settings["rest_url"]}${separator}url=${encodeURIComponent(
icsCals[j])};That should switch to using
&instead of another?in the rest URL- This reply was modified 4 months ago by LBell. Reason: WP keeps messing with my code block!