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 CiviContribute (Moderator: Donald Lobo) »
  • Token processing in CiviContribute "Thank You" emails
Pages: [1]

Author Topic: Token processing in CiviContribute "Thank You" emails  (Read 948 times)

jimmyjam

  • I post occasionally
  • **
  • Posts: 87
  • Karma: 4
Token processing in CiviContribute "Thank You" emails
June 30, 2010, 04:36:13 pm
A forum post from last year (http://forum.civicrm.org/index.php/topic,9509.0.html) mentions that the ability to do token substitution in receipt emails would be added to a future release of CiviCRM.

Has this capability made its way into the code yet?

Thanks,
James

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: Token processing in CiviContribute "Thank You" emails
July 01, 2010, 02:30:20 am
Quote
A forum post from last year (http://forum.civicrm.org/index.php/topic,9509.0.html) mentions that the ability to do token substitution in receipt emails would be added to a future release of CiviCRM.

I think this discussion was more of assigning few variables to the template, so that people can use it in their mailing.

Kurund
Found this reply helpful? Support CiviCRM

jimmyjam

  • I post occasionally
  • **
  • Posts: 87
  • Karma: 4
Re: Token processing in CiviContribute "Thank You" emails
July 01, 2010, 07:34:43 am
Thanks Kurund,

To add variables to the smarty template, do I still use the same method outlined in the original post? Or is there a new/better way to do it that requires less hacking?

Back in August 2009, Lobo mentioned:
Quote
So none of the receipt code (contribution or event reg) does any token substitution. I would probably do all the token evaluation in the emailReceipt function. I'd also do the same for event registration

Since 3.0 is on its way out, i suspect this will make it into core in 3.1 or so

Did any changes make their way into core?

Thank you,
James

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: Token processing in CiviContribute "Thank You" emails
July 01, 2010, 09:33:52 pm

you might want to try this in 3.1.x and see if it works.

i think with message templates we did include token processing for all templates, but i might be mistaken.

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

jimmyjam

  • I post occasionally
  • **
  • Posts: 87
  • Karma: 4
Re: Token processing in CiviContribute "Thank You" emails
July 02, 2010, 04:34:44 am
Thanks, Lobo.

Is token processing in message templates included in 3.2?

James 

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: Token processing in CiviContribute "Thank You" emails
July 02, 2010, 04:55:59 am

you can help by downloading the 3.2 beta and testing that this feature does work

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Token processing in CiviContribute "Thank You" emails

This forum was archived on 2017-11-26.