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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Extend email tokens for membership, event...
Pages: [1]

Author Topic: Extend email tokens for membership, event...  (Read 1667 times)

speleo

  • Ask me questions
  • ****
  • Posts: 396
  • Karma: 28
  • CiviCRM version: 4.3.1
  • CMS version: J! 2.5,9
  • MySQL version: 5.1
  • PHP version: 5.3.24
Extend email tokens for membership, event...
December 03, 2007, 04:05:54 am
Further to the thread about email tokens being enabled in v2.0 for "Send Email to Contact(s)" http://forum.civicrm.org/index.php/topic,1395.0.html, I've been looking at what tokens are available for use.

I'd like to use this function to send out automated membership subs reminders (maybe using UpdateMembershipRecord.php) but need to get access to membership fields.

Is it possible to extend the token functionality for a contacts membership records?

Specific fields of interest are (but not limited to):

   civicrm_membership_type.name
   civicrm_membership_type.description
   civicrm_membership_type.minimum_fee
   civicrm_membership_status.name
   civicrm_membership.join_date
   civicrm_membership.start_date
   civicrm_membership.end_date

Using these tokens it would be possible to send an email to the contact and tell them what there current membership is and how much they need to pay to renew it.
I suspect that extending this to events would be useful too.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Extend email tokens for membership, event...
December 03, 2007, 06:49:16 am

v2.0 is in feature freeze right now as we march towards a code freeze deadline. We'll probably extend the token system in a 2.x release

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

speleo

  • Ask me questions
  • ****
  • Posts: 396
  • Karma: 28
  • CiviCRM version: 4.3.1
  • CMS version: J! 2.5,9
  • MySQL version: 5.1
  • PHP version: 5.3.24
Re: Extend email tokens for membership, event...
December 03, 2007, 06:55:32 am
No problem. Thanks for the update. v2.0 has some great features and looks real good.

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Extend email tokens for membership, event...
September 08, 2008, 09:48:51 pm
Any news on the availability of the tokens listed by speleo?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Extend email tokens for membership, event...
September 08, 2008, 09:58:46 pm

not available as of 2.1 and not planned for a future release

a patch to extend the token system and make it all powerful would be gratefully accepted :)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

speleo

  • Ask me questions
  • ****
  • Posts: 396
  • Karma: 28
  • CiviCRM version: 4.3.1
  • CMS version: J! 2.5,9
  • MySQL version: 5.1
  • PHP version: 5.3.24
Re: Extend email tokens for membership, event...
September 24, 2008, 01:09:47 am
Just as a matter of interest how much work would you estimate this is? Very approximately.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Extend email tokens for membership, event...

This forum was archived on 2017-11-26.