Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add iCal support for the timetable. #110

Open
anpolimus opened this issue May 13, 2019 · 0 comments
Open

Add iCal support for the timetable. #110

anpolimus opened this issue May 13, 2019 · 0 comments
Assignees

Comments

@anpolimus
Copy link
Contributor

anpolimus commented May 13, 2019

At the Program page (https://drupalcampkyiv.org/en/node/7) we have ability to add reminder to your google calendar.

Our community requested support for Apple devices (iCal).

Information about iCal format: https://apple.stackexchange.com/questions/125338/calendar-ical-ics-format

Plan.

  1. At our field formatter we have to add iCal download link in addition to existed google calendar.
    https://github.com/drupal-ukraine/dcamp-site/blob/master/docroot/modules/custom/dckyiv_core/src/Plugin/Field/FieldFormatter/TimetablePresentationFormatter.php#L73

  2. Add custom controller that will get internal parameters about dates and additional info and sends ics file to user.

  3. Display and style (if needed) link at the timetable block.

Additional info: iCal file generation you could find at this D7 contrib source code:
https://git.drupalcode.org/project/addtocal/blob/7.x-1.x/addtocal.module#L583

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants