Changes between Version 5 and Version 6 of CiviCRM GENVASC Report customisation
- Timestamp:
- 03/11/13 18:31:09 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CiviCRM GENVASC Report customisation
v5 v6 47 47 What I think we need is the capability in a form to set an 'over-ride' for the 'extends' value of $this->_columns, and a catch at line 2688 that looks up in the extendsMap UNLESS the over-ride is set, in which case, the over-ride value is used instead. But how to do that, when the custom data isn't directly referenced in the recruitmentreport.php - only the $customGroupExtends array is set. After that, everything is done in core code. 48 48 49 Process is addCustomDataToColumns() happens when form is built (triggered by the _ _construct() function call) , but customDataFrom() happens when query is run, triggered by buildQuery(), called by postProcess() - so maybe something could be slotted in to the postProcess() function ahead of the call to buildQuery() which over-rules the 'extends' attribute for certain data?49 Process is addCustomDataToColumns() happens when form is built (triggered by the _ _ construct() function call) , but customDataFrom() happens when query is run, triggered by buildQuery(), called by postProcess() - so maybe something could be slotted in to the postProcess() function ahead of the call to buildQuery() which over-rules the 'extends' attribute for certain data? 50 50 51 51 Let's do a fixed one to test it: