Answers.Body: <p>Welcome to StackExchnage Aida. Activating smarty is usually done in the file civicrm.settings.php.</p>
  <p>However for what you have in mind you may want to take a look at the extension &quot;<a href="https://civicrm.org/extensions/summary-fields" rel="nofollow noreferrer">Summary Fields</a>&quot;. It prvides certain information / data such as the total contribution amount in custom contact fields which allows you to easily use them in emails or letters.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-02-10T13:15:52.637Z
Answers.Text: The setting in civicrm.settings.php is 
   if (!defined('CIVICRM_MAIL_SMARTY')) {
    define( 'CIVICRM_MAIL_SMARTY', 1 );
Answers.UserDisplayName: Mick Kahn
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-02-10T06:04:26.460Z
Answers.LastActivityDate: 2021-02-10T06:04:26.460Z
Answers.UserDisplayName: Fabian
Body: <p>I'm trying to send end of year tax letters to donors. I want to customize the letters/emails with their total donation amount for the whole year. I understand I need to activate &quot;smarty&quot; to be able to do this, however, I can't find where  this needs to be configured or enabled.</p>
  <p>any guidelines would be really appreciated!</p>
  
Tags: <civimail><smarty>
Title: Activating Smarty
ThreadText: # Activating Smarty
  
  (Asked by: username_0 on 2021-02-10)
  
  I'm trying to send end of year tax letters to donors. I want to customize the letters/emails with their total donation amount for the whole year. I understand I need to activate "smarty" to be able to do this, however, I can't find where this needs to be configured or enabled.
  
  any guidelines would be really appreciated!
  
  **Tags:** civimail, smarty
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2021-02-10. Score: 3
  
  Welcome to StackExchnage username_0. Activating smarty is usually done in the file civicrm.settings.php.
  
  However for what you have in mind you may want to take a look at the extension "[Summary Fields](https://civicrm.org/extensions/summary-fields)". It prvides certain information / data such as the total contribution amount in custom contact fields which allows you to easily use them in emails or letters.
  
  > **Comments:**
  > **username_2**: The setting in civicrm.settings.php is   if (!defined('CIVICRM_MAIL_SMARTY')) {   define( 'CIVICRM_MAIL_SMARTY', 1 );  
  
  ---
  
  