Answers.Body: <p>As far as I know, that token doesn't exist, in core or in an extension.  It's not a bad idea though; it would be quick to write.  As with most tokens that list multiple fields, the real trick is in formatting.  Some will want them in a particular order; some want them comma-separated vs. each on their own line, etc.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-11T18:08:36.127Z
Answers.LastActivityDate: 2020-04-11T18:08:36.127Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.Body: <p>As said by Jon its not available in core or in an extension. You can either write  extension and implement hook_civicrm_tokens  and hook_civicrm_tokenValues to add and generate token for the contact or you can use smarty with the help of Civi api</p>
  
  <p>eg:</p>
  
  <pre><code>{capture assign=contactId}{contact.contact_id}{/capture}
  {crmAPI var='result' entity='GroupContact' action='get' sequential=0 contact_id=$contactId status="Added"}
  
  {foreach from=$result.values item=groupcontact}
    {$groupcontact.title}&lt;/br&gt;
  {/foreach}
  </code></pre>
  
  <p>HTH</p>
  
  <p>Pradeep</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-12T21:21:37.893Z
Answers.Text: I admit I do not have any idea how to implement what you suggest.  I think I will need to pay a developer to write the extensions and explain to me how to implement them.
Answers.UserDisplayName: David Hyman
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-12T21:29:27.240Z
Answers.Text: While at it, we have other things we might like to include in an email template, re the contact's Membership (the most recent, presumably, if there are someday more than one membership per person) :  Either the "Member since" date -- or ideally that date plus ninety days.  
  Anyone want to offer to help me with that?  And what should I expect to pay?  Is this an appropriate place to recruit for that?  
  Thanks!
Answers.UserDisplayName: David Hyman
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-14T19:38:51.477Z
Answers.Text: Both Jon and Pradeep could do a good job, and I think Jon is an independent contractor these days. You might want to consider https://civicrm.org/extensions/civitoken and have the groups token be added to that extension. You might also be interested in https://civicrm.org/extensions/related-membership-tokens though it's not exactly what you want. Rates and hours vary. Maybe indicate your email as name (at) domain (dot) com or whatever and then ask people to contact you.
Answers.UserDisplayName: Joe Murray
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-05-18T16:19:47.107Z
Answers.Text: @JoeMurray I can't see the CiviToken extension. Did you mean https://civicrm.org/extensions/fuzion-tokens?
Answers.UserDisplayName: William Mortada
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-05-18T16:20:54.030Z
Answers.Text: Yes, Fuzion tokens are also known as Civi tokens extension
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-11T23:24:34.033Z
Answers.LastActivityDate: 2020-04-11T23:24:34.033Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>I'm creating an email template to be used to confirm a contact's membership status, and I would like to include a list of the Groups (representing Committees in our case) that the contact belongs to.</p>
  
  <p>I have tried including the token {contact.Group(s)} (with various capitalizations, inclusion of parentheses, etc.) without success.  </p>
  
  <p>I can include a token that sends the user to the form where they can see and edit those memberships, but I would rather just list them.  I thought this would just be in the drop-down list of tokens, but no, and I can't find any reference to this in the manuals.  Any suggestions?  </p>
  
  <p>Thanks as always.  I'm using CiviCRM for WordPress, current versions.</p>
  
Tags: <groups><tokens><templates>
Title: Listing Groups in a mail template
ThreadText: # Listing Groups in a mail template
  
  (Asked by: username_0 on 2020-04-11)
  
  I'm creating an email template to be used to confirm a contact's membership status, and I would like to include a list of the Groups (representing Committees in our case) that the contact belongs to.
  
  I have tried including the token {contact.Group(s)} (with various capitalizations, inclusion of parentheses, etc.) without success.
  
  I can include a token that sends the user to the form where they can see and edit those memberships, but I would rather just list them. I thought this would just be in the drop-down list of tokens, but no, and I can't find any reference to this in the manuals. Any suggestions?
  
  Thanks as always. I'm using CiviCRM for WordPress, current versions.
  
  **Tags:** groups, tokens, templates
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2020-04-11. Score: 4
  
  As far as I know, that token doesn't exist, in core or in an extension. It's not a bad idea though; it would be quick to write. As with most tokens that list multiple fields, the real trick is in formatting. Some will want them in a particular order; some want them comma-separated vs. each on their own line, etc.
  
  
  ---
  
  ### Answer by username_2 on 2020-04-11. Score: 3
  
  As said by Jon its not available in core or in an extension. You can either write extension and implement hook\_civicrm\_tokens and hook\_civicrm\_tokenValues to add and generate token for the contact or you can use smarty with the help of Civi api
  
  eg:
  
  ```
  {capture assign=contactId}{contact.contact_id}{/capture}
  {crmAPI var='result' entity='GroupContact' action='get' sequential=0 contact_id=$contactId status="Added"}
  
  {foreach from=$result.values item=groupcontact}
    {$groupcontact.title}</br>
  {/foreach}
  
  ```
  
  HTH
  
  username_2
  
  > **Comments:**
  > **username_0**: I admit I do not have any idea how to implement what you suggest.  I think I will need to pay a developer to write the extensions and explain to me how to implement them.  
  > **username_0**: While at it, we have other things we might like to include in an email template, re the contact's Membership (the most recent, presumably, if there are someday more than one membership per person) :  Either the "Member since" date -- or ideally that date plus ninety days.   Anyone want to offer to help me with that?  And what should I expect to pay?  Is this an appropriate place to recruit for that?   Thanks!  
  > **username_3**: Both Jon and username_2 could do a good job, and I think Jon is an independent contractor these days. You might want to consider https://civicrm.org/extensions/civitoken and have the groups token be added to that extension. You might also be interested in https://civicrm.org/extensions/related-membership-tokens though it's not exactly what you want. Rates and hours vary. Maybe indicate your email as name (at) domain (dot) com or whatever and then ask people to contact you.  
  > **username_4**: @username_3 I can't see the CiviToken extension. Did you mean https://civicrm.org/extensions/fuzion-tokens?  
  > **username_2**: Yes, Fuzion tokens are also known as Civi tokens extension  
  
  ---
  
  