Author: John Keller

For user instructions, see How do I subscribe to a calendar?

To add a google calendar, follow these steps:

  1. create the calendar
    1. in bCal, under "My calendars" on the left-side menu, choose "Create new calendar"
    2. in Calendar Details, for "Calendar Name" enter the research group name followed by "Calendar"
    3. check the "Share this calendar with others" and "Make this calendar public" checkboxes
    4. under "Share with specific people", enter the email address of anyone who should be allowed to add or edit events. Set their permissions to "Make changes to events" or "Make changes AND manage sharing"
      (note: if the email address is not recognized as that of a google account holder, it will prompt you to invite them to join google)
    5. click on "Create Calendar" button
    6. if you see a Warning box about making your calendar public, click "Yes"
  2. get the calendar address ID
    1. in bCal, the new calendar should be listed on the left-side menu. in the dropdown menu for the new calendar, choose "Calendar settings"
    2. in Calendar Details, under "Auto-accept invitations", choose "Do not show invitations"
    3. under "Calendar Address", copy the "Calendar ID" (which should begin with "berkeley.edu" and end with "google.com"); you will need this below
    4. click on "Save"
  3. add the calendar to the application code
    1. php/subpages/calendar.php is the file that renders the calendars. as the www user on the application server, edit this file. in the cal_contents() function, there is a switch on workgroup name. add a case clause under the switch that looks like the others, with the new workgroup name and the "Calendar ID" of the new calendar
    2. save your changes
    3. if necessary, edit the groups table in the database to indicate that this workgroup has a calendar (e.g., update groups set hasCalendar = 1 where groupname = 'terraswarm')
      (also see this FAQ for info about groups)
    4. test that the calendar displays correctly at groupname/cal/