On the http://groups.drupal.org/events page it says You might be interested in our site-wide Ical feed. Also, each group maintains its own feed. Look for the calendar icon in the Group Events block.. However, there is no such calendar icon in that block.

A bit of investigation showed that the footer of the block added the icon using the php filter format which is no longer available.

To fix this, I made the following changes:

  • Modified the "event" view (see below)
  • Swapped out the custom "upcoming_group" views block for the "event" views block display (upcoming) provided by the calendar module (for both "blue beach" and "bluecheese" themes!) - actually both blocks were displayed for "blue beach" theme, so some users will see both blocks until the cache updates

The changes made to the "event" view are as follows:

  1. Set the date display format in the "Upcoming" block display to "default" to match the "upcoming_group" block which was swapped out.
  2. Added the label "Start" to the date display, again to match the "upcoming_group" block.
  3. Added "organic groups: groups" as an argument to the "Upcoming" block display
  4. Edited the "organic groups: groups" argument on both the "iCal" and "Upcoming" displays to set a default argument of "current group context".
  5. Attached the iCal feed to the Upcoming block display

Comments

stella’s picture

Oh I forgot to add, I also added in a RSS feed at event/[gid]/feed though didn't attach it to any display.

The changes were made to both the staging and live sites.

greggles’s picture

Awesome - thanks stella!

josephdpurcell’s picture

@Caffeinated was able to find an ical link for Drupal Chicago events: https://groups.drupal.org/ical/354

This calendar link can be added to a Gmail / Gcal by clicking "Add by URL".

I assume you can get the calendar link for any group by replacing 354 with whatever group id you want.

apaderno’s picture

Status: Needs review » Postponed

The only development done on groups.drupal.org is to replace it. The plan seems to migrate it into drupal.org, as described in #2590497: [meta] Proposal to migrate groups into Drupal.org.