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.
Copy link to clipboard
Copied
Anyone? Some ideas or where to begin?
Thanks.
Copy link to clipboard
Copied
There are a few UDFs over at cflib.org that will do this kind of thing.
Probably be a good place to start.
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: