Archive

Posts Tagged ‘e-mail’

Mozilla Lightning with Google Calendar Default Notifications (SMS, E-mail, Pop-up)

April 8th, 2009

Earlier today, I realized that the Provider for Google Calendar add-on that I use with Mozilla Lightning does not add events in my Google Calendar with the “SMS” notification option. In fact, no matter what settings you have in your Google Calendar, Lightning will always add an event with the “pop-up” notification.

I google’d for a bit, and found this blog post, which described editing a java script file in the Provider for Google Calendar add-on so that events added to Lightning would set up a SMS notification on Google Calendar. However, the problem with this is that it will only set the notifications for SMS. Some people might want E-mail, SMS, and a pop-up notification.

After looking at the Google Calendar API, I realized that there is an “all” reminder setting, which will cause an event to have all of the default notifications you have setup on your “Notification” settings in Google Calendar. This does not mean that you will receive pop-up, e-mail, and SMS notifications, but rather, you will receive all of the notifications you have set under “default notifications” on your google calendar (for example, I have it so it is pop-up and SMS notifications only).

Getting Set Up:

(Note: If you want to manually do this, open the Provider for Google Calendar .xpi using an archive program, go into the folder “js”, and edit the file “calGoogleUtils.js”. Goto line 508 and change “alert” to “all”)

If you currently have Provider for Google Calendar installed, you do not need to uninstall it. Installing my modified version will simply replace the version that is already installed. I have tested this several times, and have not experienced any issues.

My modified version of Provider for Google Calendar: http://jonnale.org/apps/CUSTOM%20-%20provider_for_google_calendar-0.5.1-tb+sb.xpi

To set up which notifications you wish to receive on all events, go to your settings page in Google Calendar, and add all reminders you wish to have.

notifications.png setdefaultnotifications.png

Note: The only downside to my modification is that EVERY event you add in Mozilla Lightning with an alarm will have all of the default notifications set for its reminder (if there is no alarm, no notifications will be set). This should not be an issue if you want every event sent via your default notification methods. I personally want all events sent via SMS + pop-up, so this is not a big deal for me, but I realize this might be a concern for others.

jonnale Tech-stuff , , , ,