Return to Administrator's Guide (supplement)Message Templates OverviewMESSAGE TEMPLATES allow you to create and edit re-usable email and letter messages. There are two categories of Message Templates in CiviCRM:
Modifying System Workflow Message TemplatesThe content and layout of these messages are pre-configured and include program logic to display all the data being sent to your constituents (e.g. contribution amount, payment method, event fees, etc.). Navigate to Administer > Configure > Message Templates (shown in the following screenshot) and click the System Workflow Message tab to see the list of messages you can modify. Both HTML and Text formats are provided. Your organization may want to modify or add text to these emails, or add branding such as a logo to the HTML versions. Use caution when editing so as not to modify the program logic. Be sure to test the workflow and review the emails sent after making any changes. In most cases, you can restrict your changes to the the top row in the HTML layout. If you find that your changes have caused problems, errors or missing information, you can always revert to the system default for that workflow. Upgrades and Customized System Workflow TemplatesWhen your site is upgraded to a new version of CiviCRM there may be changes needed in the message template program logic to support new features. You will be notified during the upgrade that changes are required. However, you will need to apply these changes manually for any workflow templates which you have modified previously. Follow these steps:
Working with User-driven MessagesYou can personalize your messages by including "tokens" to represent fields (like a contact's "first name") in your message's subject and body. These "tokens" will be replaced with the actual value of the corresponding field in your message (EXAMPLE: Dear{contact.first_name} = Dear Jose, Dear Vanessa, etc.) If you are using the CiviMember component, you can also use a message template to send Membership Renewal Reminders.
Configure Message TemplatesTo configure message templates, begin at the Administer CiviCRM page. In the Configure section, choose Message Templates. You will see a list of existing templates. If no templates exist, you will see the message:
Click add one to create a new template. You can create NEW message templates or Edit, Preview, Disable or Delete EXISTING message templates using the links to the right of each template. NEWTo create a NEW message template, choose >>New Message Template You will be taken to the New Message Template page. Create a Message Title for the template. This title is used to organize your messages and will not appear in the email. TOKENS: The next three fields can all use "tokens". You insert a "token" into your message to help personalize your messages with things like names, dates and amounts of gifts, etc. When you send the email, CiviCRM will look at each contact record that is set to receive the message and replace the "token" with the actual value from the contact record. Rather than a generic, impersonal message that says "Dear Friend, Thank you for your recent contribution..", you can create personalized messages like "Dear Eleanor and Franklin, Thank you for your $50 gift on June 6th..." Here is a list of the tokens you can use Create the Message Subject for your email. Use tokens if desired, i.e., "We need your help, Alice", where you have used the token {contact.first_name} to put recipients first names into the message subject. Create your Text Message and HTML Message. Include tokens to personalize your messages. Choose *Enabled?" to enable the message template for use. Click Save to save the template or Cancel to cancel. If successful, you will see the message:
EXISTINGFor EXISTING templates you can Edit, Disable or Delete each template using the links to the right of each template. EDITSelect Edit to view the Edit Template page where you can change the values for each option. Here you can also enable/disable the template by checking or unchecking the box labeled Enabled? at the bottom of the page. If successful, you will see the message:
DISABLESelect Disable to temporarily disable an Existing Template. You will see the warning:
Click OK to continue or Cancel to cancel disabling the template. To re-enable the template, simply click on Enable. DELETESelect Delete to delete the template. You will be given this warning:
Click Delete to continue or Cancel to cancel the deletion. |
Labels