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

Adding token support for header and footer in System Workflow emails

    Details

    • Type: New Feature
    • Status: Won't Do
    • Priority: Minor
    • Resolution: Won't Do
    • Affects Version/s: 4.7, 4.7.9
    • Fix Version/s: None
    • Component/s: CiviMail
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      Adding a new header and footer

      You can now add headers and footer for system workflow emails at “Mailing >> Headers, Footers and Automated Messages”. Follow the steps below:

      1. Select name “Transactional Header” to edit header and “Transactional Footer” to edit footer for the emails.
      2. To add your own customized header and footer select component type as “Transactional Header/Footer” and click on default.
      3. To remove the header and footer:
      • You can leave the HTML and Text Part empty for a blank header and footer
      • Disable the default header and footer while editing mailing component.

      Include the same in the email

      We can use customize tokens

      {transaction.header} & {transaction.footer} to include the header and footer respectively, in the emails. Example,
      <table>
      <tr> <td> {transaction.header}

      </td></tr>
      <tr> <td> HTML Body of the Email </td></tr>
      <tr> <td>

      {transaction.footer}

      </td></tr>
      </table>

        Attachments

          Activity

            People

            • Assignee:
              AnjaliUjjainia Anjali Ujjainia
              Reporter:
              AnjaliUjjainia Anjali Ujjainia
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: