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.
I've found the ics exports for the whole calendar or for specific dates on the calendar, but I don't see any export function for a specific event. I'm thinking in particular of someone looking at an event node and wanting to add that event to their desktop calendar via ics download.
Does this module support this use case and I'm missing it? If not, any suggestions on possible solutions for outputting an ics file for a specific event?
Thanks in advance.
Comments
Comment #1
frank005 CreditAttribution: frank005 commentedI assume this module is no longer supported, but I figured I would bump anyways.
Comment #2
killes@www.drop.org CreditAttribution: killes@www.drop.org commentedThis does exist, the path is /node/%/ical
Comment #3
frank005 CreditAttribution: frank005 commentedThis is awesome, it does indeed work.
Could I suggest adding the iCal graphic in the bottom right to the individual event node by default (like it is on the month, week, etc. grids). I imagine it's just an adjustment to one of the themes. I'm exploring it, but I'm not good when it comes to these things, so you might beat me to it.
Comment #4
frank005 CreditAttribution: frank005 commentedOkay, I did two things. I couldn't figure out how to get the iCal graphic at the bottom of the page, but I manage to modify event-nodeapi.tpl.php in order to add it as an extra attribute. To do this I added this at the bottom of the file:
Then, in event theme, I added this on the line after
function template_preprocess_event_nodeapi(&$variables) {
$variables['nid'] = $variables['node']->nid;
So, what do you think, something that we could build into the default Event module?
Comment #5
Michael_Lessard_micles.biz CreditAttribution: Michael_Lessard_micles.biz commentedAwesome, can't wait to try it (ical per node).
Though most will logically use the new date/calendar modules, I hope someone will volunteer to maintain or update this older event.module
Comment #6
japerryEvent for Drupal 8 is unrelated to older versions. If an issue similar to this one exists, please open a new issue with the 8.x branch.