I work with CiviCRM 4.6 and Drupal 4.7 When I create an activity in CiviCRM, a iCal file is also created and sent. But in this iCal file, Start time = End time. So when I import the file in my calendar the activity doesn't have the right duration. Any idea ? Maybe I can modify a template, but how ? Regards, Hashkey
-
did you set a duration in the activity?– XavierCommented May 5, 2015 at 13:54
-
As a side-note, are you really using Drupal 4.7? That version has not been supported for a very long time.– JohnCommented May 20, 2015 at 13:25
-
Hello John,Sorry it's Drupal 7.36.– HashKeyCommented Jun 26, 2015 at 16:42
Add a comment
|
1 Answer
Check:
templates/CRM/Activity/Calendar/ICal.tpl
I just took a quick look there and seems like the duration is not taken into account at all, which is a bug :(
Can you take a look and see if you can fix it. If so, please do submit a PR against the CiviCRM github repo. I'm pretty sure the activity object will be sending in the duration field. You should also file an issue for this on the CiviCRM issue tracker
-
For completeness, here's the issue on the tracker: issues.civicrm.org/jira/browse/CRM-15703– JohnCommented May 20, 2015 at 13:19