bu-ist / responsive-framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding an Event to a Visitors Native OS Calendar w/ Js

rjfoleyiv opened this issue · comments

Request

Including “Add to Calendar” functionality for Calendar Events. Allowing visitors to add an event to their native OS' calendar.

Should be do-able with Js. 👈🏻 Repo suggested by @acketon.

This should be possible according to @acketon - this was done in PrePress in the event details block.

Requirements

  • This should also have an admin screen toggle so that we can choose whether or not to have it enabled on a site.
  • Toggle should be off by default.
  • Admin screen option should be accessible by ID Admins only.

Law is requesting this as an enhancement to their site. Some additional conversation with @alana29s today:

  • Should not be tied exclusively to BU Calendar, could be very useful for other types of dates/events/post types/etc
  • Should this go into BU Responsive Customizations as a new feature that can be used in themes where needed to stick an "add to calendar" button?

This appears to be a more modern JS library for generating these and is more up to date than the OUI Calendar library above: https://github.com/add2cal/add-to-calendar-button

another:
https://felixg.io/products/add-to-calendar

I utilize this type of download to calendar button often. I use it from websites and from email notifications. On the web I often see different implementation from a single download button, to a popup that provides options for multi calendar support. I'll try to remember to look at the various implementations next time I use these features on other sites.

It would be helpful to gather requirements to determine the calendars that require support to use in selecting an existing plugin/package.