There's an ICal button on just about every event view (Month, Week, Day). Is is possible to have one on a single event? Thanks.

Comments

javi-er’s picture

Just add "/ical" to the url, for example if your event is located at /?q=node/7 if you go to /?q=node/7/ical it will download the ical feed.

You need to create a template for your content type, for example node-event.tpl.php and add a link to the node page slash ical.

Your post is one year old, hope this to continue being relevant to you.
Javier

somebodysysop’s picture

Yes, thank you for the response.

lzimon’s picture

I am searching for exactly the same function... but i can't get your explanation :D

When i add "/ical" to my node it opens a download window like if i would download the icalfeed. But instead of downloading the .ics file i'm becoming a message that the file could not be downloaded, because the file / the site could not be found. If i'm downloading the feed in the calender view it works all fine.
Have i forgot something ?

I'm using Drupal 5.15 and the event manager modul 5.x-1.0.

Thanks

lzimon’s picture

Well.... i found a solution ;)

I had to activate "clean-urls" and then i must create a link to the node. So if i want to have an ical-feed to node 23 i have to create the following, clickable link somewhere on my drupalsite: www.mywebsite.com/node/23/ical . When i click on this link it starts a new window that asks me if i want do download the feed and everything works fine ! :D

Greetings

Mark_Watson27’s picture

I'm trying to do the same in D6, but need a bit more help with the steps as doing a /ical doesn't seem to do anything.

Thanks
Mark

hawleyal’s picture

subscribing.

adding /ical does nothing in D6

medenfield’s picture

No luck with /ical in D6

shiraz dindar’s picture

someone has done this successfully using a different method here: http://drupal.org/node/742146

4Elemental’s picture

In Drupal 6, the /ical (the path to you iCal feed) doesn't actually go after the node address, but the path appears to be before it. I accomplished this by adding the below information to the teaser and body content templates.

<p class="ical_teaser"><a href="/calendar-date/ical/node/<?php print $node->nid ?>"><img src="/sites/all/modules/date/images/ical16x16.gif" alt="Download this event" /> Add to your calendar</a></p>