1

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? – Xavier May 5 '15 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. – John May 20 '15 at 13:25
  • Hello John,Sorry it's Drupal 7.36. – HashKey Jun 26 '15 at 16:42
1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.