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

Reports - make getTemplateFile & compileContent functions over-ridable, default to form.tpl

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.4
    • Fix Version/s: 4.3.0
    • Component/s: None
    • Labels:
      None

      Description

      This fix makes it possible to override parts of the endProcess function without over-riding the whole thing - specifically the steps of choosing the template & compiling the content. Template will also default to Form.tpl if one doesn't match the extension.

      Usage examples include using a different template for a printed report (as civiengage does), or adding / tweaking content in reports that extend this class

        Attachments

          Activity

            People

            • Assignee:
              eileen Eileen McNaughton
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: