Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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:
- Set the date display format in the "Upcoming" block display to "default" to match the "upcoming_group" block which was swapped out.
- Added the label "Start" to the date display, again to match the "upcoming_group" block.
- Added "organic groups: groups" as an argument to the "Upcoming" block display
- Edited the "organic groups: groups" argument on both the "iCal" and "Upcoming" displays to set a default argument of "current group context".
- Attached the iCal feed to the Upcoming block display
Comments
Comment #1
stella CreditAttribution: stella commentedOh 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.
Comment #2
gregglesAwesome - thanks stella!
Comment #3
josephdpurcell CreditAttribution: josephdpurcell at Digital Bridge Solutions commented@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.
Comment #4
apadernoThe 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.