Answers.Body: <p>So you need to find out if the campaign id is assigned to a variable available in the message template. </p>
  
  <p>I can't test right now, but if you enable debugging and add a {debug} if you template you <em>should</em> get a long and fugly table with all the variables available from the message.</p>
  
  <p>then it's the same process as for the contribution page:</p>
  
  <pre><code>{if $campaignID == 1}
  {* whatever you need to do on this message *}
  {/if}
  </code></pre>
  
  <p>campaignID to be replaced by the variable available to the template as identified in the debug message.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-02T14:06:15.253Z
Answers.LastActivityDate: 2015-09-02T14:06:15.253Z
Answers.UserDisplayName: Xavier
Body: <p>My colleague wants to include an email footer/signature for the email confirmation sent for event registrations, but only for the events managed by their office. </p>
  
  <p>I know it's something similar to the answer on this question : <a href="https://civicrm.stackexchange.com/questions/715/can-i-create-a-custom-system-workflow-message-for-a-particular-contribution-page">Can I create a custom System Workflow Message for a particular Contribution Page?</a> </p>
  
  <p>But I'm just looking for the text required for campaigns. I've got as far as working out that the campaign ID=1</p>
  
Tags: <civievent><system-workflow-messages>
Title: I want to do something like "if campaign=xxx" {include footer} in System Workflow Messages
ThreadText: # I want to do something like "if campaign=xxx" {include footer} in System Workflow Messages
  
  (Asked by: username_0 on 2015-09-02)
  
  My colleague wants to include an email footer/signature for the email confirmation sent for event registrations, but only for the events managed by their office.
  
  I know it's something similar to the answer on this question : [Can I create a custom System Workflow Message for a particular Contribution Page?](https://civicrm.stackexchange.com/questions/715/can-i-create-a-custom-system-workflow-message-for-a-particular-contribution-page)
  
  But I'm just looking for the text required for campaigns. I've got as far as working out that the campaign ID=1
  
  **Tags:** civievent, system-workflow-messages
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-09-02. Score: 2 | Accepted answer
  
  So you need to find out if the campaign id is assigned to a variable available in the message template. 
  I can't test right now, but if you enable debugging and add a {debug} if you template you should get a long and fugly table with all the variables available from the message.
  then it's the same process as for the contribution page:
  {if $campaignID == 1}
  {* whatever you need to do on this message *}
  {/if}
  
  campaignID to be replaced by the variable available to the template as identified in the debug message.
  
  
  ---
  
  