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 CiviReport (Moderator: Dave Greenberg) »
  • Need to report full activity details in Contact Activity Report
Pages: [1]

Author Topic: Need to report full activity details in Contact Activity Report  (Read 544 times)

guinchard@gmail.com

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.4.6
  • CMS version: WordPress 3.9.1
  • MySQL version: ?
  • PHP version: PHP 5.4
Need to report full activity details in Contact Activity Report
July 28, 2014, 04:18:18 pm
Hello, and thanks for taking the time to read this.

Under "Contact Reports" I am using the Activities report to display:

Target Contact Name
Activity Type
Subject
Activity Date
Activity Details

Currently in the "Activity Details" there is a (more) hyperlink.

Is there a way to delete the hyperlink and display the full Activity Details or at least be able to export the full activity record to a CSV?

Thank you

-Charles

guinchard@gmail.com

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.4.6
  • CMS version: WordPress 3.9.1
  • MySQL version: ?
  • PHP version: PHP 5.4
Re: Need to report full activity details in Contact Activity Report
July 29, 2014, 01:39:11 pm
I also should say I do have access to my host server files.

My guess is i am looking for the correct file on my server to make a change to.

guinchard@gmail.com

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.4.6
  • CMS version: WordPress 3.9.1
  • MySQL version: ?
  • PHP version: PHP 5.4
Re: Need to report full activity details in Contact Activity Report
July 30, 2014, 03:37:28 pm
FYI- problem solved:

civicrm/CRM/Report/Form/Activity.php

Just change "True" to "False" and it will run a report with the full activity details

 if (array_key_exists('civicrm_activity_details', $row)) {
        if ($value = $row['civicrm_activity_details']) {
          $fullDetails = $rows[$rowNum]['civicrm_activity_details'];
          $rows[$rowNum]['civicrm_activity_details'] = substr($fullDetails, 0, strrpos(substr($fullDetails, 0, 80), ' '));
          if ($actUrl) {
            $rows[$rowNum]['civicrm_activity_details'] .= " <a href='{$actUrl}' title='{$onHoverAct}'>(more)</a>";
          }
          $entryFound = True;

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Need to report full activity details in Contact Activity Report

This forum was archived on 2017-11-26.