Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.0
-
Fix Version/s: 3.0
-
Component/s: Core CiviCRM
-
Labels:None
Description
There's some code near the bottom of CRM_Activity_Form_Activity::preprocess() that checks if a file with the same name as the activity type exists under a subfolder called Activity, and if so, it gets inserted into the activity form. I believe this was originally put in for Case but was made general enough to work for all activity types. However, in CRM_Activity_BAO_Activity::getFileForActivityTypeId(), it does a check for the file's existence but only looks under $civicrm_root.
It should also look under the custom php path, if set.
Attachments
Issue Links
- is supplemented by
-
CRM-4936 Creating an activity in standalone mode doesn't trigger activityTypeFile to insert extra content once type is chosen.
- Done/Fixed