Answers.Body: <p>The answer:</p>
  
  <p>These lines allow CiviCRM tokens to be available to Smarty functions. The headerStyle value is contained within the <code>{capture}</code> item.</p>
  
  <p>Documentation found here: </p>
  
  <ul>
  <li><a href="https://wiki.civicrm.org/confluence/display/CRMDOC/Smarty+in+mail+templates" rel="nofollow">CiviCRM Wiki: Smarty in email templates</a></li>
  <li><a href="http://www.smarty.net/docs/en/language.function.capture.tpl" rel="nofollow">Smarty docs: <code>{capture}</code> tag</a></li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-14T19:38:16.467Z
Answers.LastActivityDate: 2016-03-14T20:20:49.493Z
Answers.LastEditDate: 2016-03-14T20:20:49.493Z
Answers.UserDisplayName: JuliaK
Answers.Body: <p>I wonder if it's worth mentioning that you can use smarty comments like {* this *}. That way when you research you can update the templates with your findings.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-14T23:48:08.163Z
Answers.LastActivityDate: 2016-03-14T23:48:08.163Z
Answers.UserDisplayName: JohnFF
Body: <p>I'd like to customize the event registration email. When looking at the template, I see things like</p>
  
  <pre><code>{capture assign=headerStyle}
  {capture assign=labelStyle }
  </code></pre>
  
  <p>I haven't been able to find information about what these lines do. I'm going to guess its adding generated markup. Could someone provide some guidance? </p>
  
  <p>Or, if anyone could tell me where headerStyle and labelStyle is configured, maybe I could figure it out by looking at that.</p>
  
  <p>Thanks for your help!</p>
  
Tags: <civievent><message-templates>
Title: Documentation on email templates
ThreadText: # Documentation on email templates
  
  (Asked by: username_0 on 2016-03-14)
  
  I'd like to customize the event registration email. When looking at the template, I see things like
  {capture assign=headerStyle}
  {capture assign=labelStyle }
  
  I haven't been able to find information about what these lines do. I'm going to guess its adding generated markup. Could someone provide some guidance? 
  Or, if anyone could tell me where headerStyle and labelStyle is configured, maybe I could figure it out by looking at that.
  Thanks for your help!
  
  **Tags:** civievent, message-templates
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2016-03-14. Score: 2
  
  The answer:
  
  These lines allow CiviCRM tokens to be available to Smarty functions. The headerStyle value is contained within the `{capture}` item.
  
  Documentation found here:
  
  * [CiviCRM Wiki: Smarty in email templates](https://wiki.civicrm.org/confluence/display/CRMDOC/Smarty+in+mail+templates)
  * [Smarty docs: `{capture}` tag](http://www.smarty.net/docs/en/language.function.capture.tpl)
  
  
  ---
  
  ### Answer by username_1 on 2016-03-14. Score: 1
  
  I wonder if it's worth mentioning that you can use smarty comments like {\* this \*}. That way when you research you can update the templates with your findings.
  
  
  ---
  
  