Highlighted

Add to my calendar, Google, Outlook, iCal, Yahoo

New Here ,
Jun 04, 2015

Copy link to clipboard

Copied

Hi,

I am looking for suggestions on doing this.  Basically, I'd like to add "Add to my calendar" for Google, Outlook, iCal and Yahoo on a confirmation email.  The event name, date/time and location is in database.  I know I will have to store temp file in the server but not sure what else I need.  Any suggestions are appreciated.

Views

741

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Add to my calendar, Google, Outlook, iCal, Yahoo

New Here ,
Jun 04, 2015

Copy link to clipboard

Copied

Hi,

I am looking for suggestions on doing this.  Basically, I'd like to add "Add to my calendar" for Google, Outlook, iCal and Yahoo on a confirmation email.  The event name, date/time and location is in database.  I know I will have to store temp file in the server but not sure what else I need.  Any suggestions are appreciated.

Views

742

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jun 04, 2015 0
New Here ,
Jun 09, 2015

Copy link to clipboard

Copied

Anyone?  Some ideas or where to begin?

Thanks.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 09, 2015 0
Advocate ,
Jun 10, 2015

Copy link to clipboard

Copied

There are a few UDFs over at cflib.org that will do this kind of thing.

CFLib.org – vCal

CFLib.org – iCalUS

Probably be a good place to start.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 10, 2015 0
New Here ,
Jul 10, 2016

Copy link to clipboard

Copied

In a current project I am giving the user the option to Add to Google Calendar and download an iCal file. The iCal file has to be generated manually and then hosted on BC as a download.


The Add to Google feature is a link that you can dynamically build using data in your Events module, or a web app, with Liquid. Use this Liquid filter to URL encode each string: url_param_escape

You will also need to use the date switches to format the date correctly.

Here is an example, taken from a Stack Overflow answer:

https://www.google.com/calendar/render?action=TEMPLATE&text=Your+Event+Name&dates=20140127T224000Z/2...

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 10, 2016 0