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
-
Labels:
-
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:
- Select name “Transactional Header” to edit header and “Transactional Footer” to edit footer for the emails.
- To add your own customized header and footer select component type as “Transactional Header/Footer” and click on default.
- 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>
</td></tr>
</table>