CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • membership data tokens
Pages: [1]

Author Topic: membership data tokens  (Read 1317 times)

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
membership data tokens
June 21, 2010, 07:42:25 am
There's no documentation online listing the available membership-related tokens that can be inserted into emails (such as renewal reminder emails). Are all fields from the membership table already tokenized? If not, where is the best place to look to identify available token-fields?
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: membership data tokens
June 22, 2010, 12:29:30 am
Quote
Are all fields from the membership table already tokenized?
I don't think so.

Quote
If not, where is the best place to look to identify available token-fields?
http://wiki.civicrm.org/confluence/display/CRMDOC/Mail-merge+Tokens+for+Contact+Data

HTh
Kurund
Found this reply helpful? Support CiviCRM

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: membership data tokens
June 22, 2010, 04:53:35 am
All we have detailed in the wiki is contact-object fields. There's no definitive list of membership-object fields, such as what you'd include in the membership receipts.

I guess it's really just smarty vars that are accessed by those emails (whether we call them tokens or not). I was unsure where in the code the tokens were passed to the email, but I can probably just trace through the variable arrays.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

jimmyjam

  • I post occasionally
  • **
  • Posts: 87
  • Karma: 4
Re: membership data tokens
July 26, 2010, 12:39:33 pm
lcdweb,

can you please post what you found?  i would like to included membership data in an email template.

thank you,
james

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: membership data tokens
July 26, 2010, 06:42:38 pm
I've not had opportunity to pull together a list of member-related tokens. But if you look at the existing workflow templates geared toward members, you'll see the tokens in use there and get a general sense of what is available. And from extraction, there are a few more that you can use.

Sorry I can't be more thorough.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

puremetal

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 3.3.6
  • CMS version: Joomla 1.5.23
  • MySQL version: 5.1.36
  • PHP version: 5.2.0
Re: membership data tokens
April 11, 2011, 09:59:04 am
Has this gotten anywhere? I really need to be able to insert membership information (such as expiry date, which membership type the contact is subscribed to, and amount due) into emails and letters. CiviCRM is spot on for pretty much everything else I need to do except this one crucial area!

I might be able to scrape together something to fund some development on this, if anyone is willing. Otherwise I could have a go myself if anyone would be kind enough to point me in the right direction :P

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • membership data tokens

This forum was archived on 2017-11-26.