Answers.Body: <p>As of Civi 4.4, you can configure label formats as shown here: <a href="http://book.civicrm.org/user/current/events/event-badges/" rel="nofollow">http://book.civicrm.org/user/current/events/event-badges/</a></p>
  
  <p>But yes, this means each field needs to be on a separate line.</p>
  
  <p>In terms of having the full name for the state, Name and Mailing labels show the state/province name as the abbreviation rather than the full state/province name. This has been reported on v4.5.2, but may need patching until it is fixed in v4.8:
  <a href="https://issues.civicrm.org/jira/browse/CRM-15505" rel="nofollow">https://issues.civicrm.org/jira/browse/CRM-15505</a> </p>
  
  <p>If you want to patch it yourself for now, here's what I do.
  In CRM/Contact/BAO/Query.php, line 5533 (or thereabouts) is as follows: </p>
  
  <pre><code>    $dao-&gt;$value['pseudoField'] = $dao-&gt;$key = CRM_Core_PseudoConstant::stateProvinceAbbreviation($val); 
  </code></pre>
  
  <p>Change this line to: </p>
  
  <pre><code>    $dao-&gt;$value['pseudoField'] = $dao-&gt;$key = CRM_Core_PseudoConstant::stateProvince($val);
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-30T10:27:55.397Z
Answers.LastActivityDate: 2015-09-30T10:27:55.397Z
Answers.UserDisplayName: Stuart Parker
Body: <p>A client of ours wants to have badges that have 2 fields on one line and would also like to have the state be the full name vs the abbreviation.  I'm pretty certain it would require custom code but posting here to be sure I haven't overlooked anything.</p>
  
  <p>We are using 4.6.4 with this client.  And Drupal latest.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-09-28T13:01:33.760Z
Comments.Text: Hi - you might want to edit your question to include your version of Civi... you're probably not on a very old version of Civi (before the ability to edit name badges in the interface) but it would help folks out to know for sure.
Comments.UserDisplayName: Lesley Carter - BackOffice
Tags: <civievent>
Title: Using the Event Name Badge feature
ThreadText: # Using the Event Name Badge feature
  
  (Asked by: username_0 on 2015-09-25)
  
  A client of ours wants to have badges that have 2 fields on one line and would also like to have the state be the full name vs the abbreviation. I'm pretty certain it would require custom code but posting here to be sure I haven't overlooked anything.
  
  We are using 4.6.4 with this client. And Drupal latest.
  
  **Tags:** civievent
  
  > **Comments:**
  > **username_1**: Hi - you might want to edit your question to include your version of Civi... you're probably not on a very old version of Civi (before the ability to edit name badges in the interface) but it would help folks out to know for sure.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2015-09-30. Score: 2
  
  As of Civi 4.4, you can configure label formats as shown here: http://book.civicrm.org/user/current/events/event-badges/
  But yes, this means each field needs to be on a separate line.
  In terms of having the full name for the state, Name and Mailing labels show the state/province name as the abbreviation rather than the full state/province name. This has been reported on v4.5.2, but may need patching until it is fixed in v4.8:
  https://issues.civicrm.org/jira/browse/CRM-15505 
  If you want to patch it yourself for now, here's what I do.
  In CRM/Contact/BAO/Query.php, line 5533 (or thereabouts) is as follows: 
      $dao->$value['pseudoField'] = $dao->$key = CRM_Core_PseudoConstant::stateProvinceAbbreviation($val); 
  
  Change this line to: 
      $dao->$value['pseudoField'] = $dao->$key = CRM_Core_PseudoConstant::stateProvince($val);
  
  
  ---
  
  