CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Showing/calculating activity duration
Pages: [1]

Author Topic: Showing/calculating activity duration  (Read 885 times)

mattrick00

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 3.2.3
  • CMS version: Joomla 1.5.15
  • MySQL version: 5.1.58-community-log
  • PHP version: 5.2.17
Showing/calculating activity duration
October 05, 2011, 12:13:34 pm
We use activities to track time for both volunteers and employees. How do I easily show and/or add activity durations for a single contact? Right now, I bring up the contact, click on the Activities tab, click on "view" each activity separately, and write down each activity duration. There must be an easier way. Even if I could just see the duration field when I click on the Activities tab so I wouldn't have to enter each record individually, it would be much better.

Thanks for any assistance!

Matt Martin
Community Bike Project Omaha

matthewboh

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 2
Re: Showing/calculating activity duration
October 05, 2011, 12:34:22 pm
Matt - I'll be posting a fix to the Activities Detail Report very soon - it will  include Duration. Give me a few...

matthewboh

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 2
Re: Showing/calculating activity duration
October 09, 2011, 07:54:11 am
This is based off of CiviCRM 4.0.5 - http://issues.civicrm.org/jira/browse/CRM-8704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Best way to include this is to create a new directory - I use  /<apache directory>/<CiviCRM install directory>/sites/default/files/civicrm/custom_php/CRM/Report/Form

Then go into CiviCRM, Administer | Configure | Global Settings | Directories

Then set the Custom PHP Directory to the directory you created.  Copy the Activity.php file to that directory, make sure the directory and file have the correct ownership, then you should have a report that includes Duration.

« Last Edit: October 09, 2011, 07:57:16 am by matthewboh »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Showing/calculating activity duration

This forum was archived on 2017-11-26.