Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-751

Invoking an external module function for Activity History Details (the Callback property) doesn't work

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: None
    • Labels:
      None

      Description

      The code at issue is CRM/History/Page/Activity.php -> the run() function. This currently only works for internal (civicrm) class::method callbacks. Things we'll need to do conditionally...

      • Remove the existing error trap on the require_once()
      • If callback isn't a static method in a class (class::method) but
        'just' a function, tweak code to call the function
        properly - and use function_exists() for error trapping.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: