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 CiviMail (Moderator: Piotr Szotkowski) »
  • Mystery: Contribution tokens???
Pages: [1]

Author Topic: Mystery: Contribution tokens???  (Read 735 times)

ncoughlin

  • I’m new here
  • *
  • Posts: 27
  • Karma: 0
  • CiviCRM version: 4.1.0
  • CMS version: Joomla 2.5
  • MySQL version: MySQL5
  • PHP version: 5.3.10
Mystery: Contribution tokens???
July 10, 2012, 02:45:49 pm
I am trying to configure a simple PDF thank you receipt that will be printed and mailed. I used the following:


{contact.addressee}
{contact.street_address}
{contact.supplemental_address_1}
{contact.supplemental_address_2}
{contact.city}, {contact.state_province} {contact.postal_code}

Dear {contact.display_name},

Thank you for your gift of {contribution.total_amount} made on {contribution.recieve_date} to H2O for Life.


When I created the PDF, the beginning turned out like this:

Dear Stephen & Linda,
 
Thank you for your gift of {contribution.amount} made on {contribution.date} to H2O for Life.

 
The addressee, address, city, state, and postal code all worked fine, but today's date and contribution amount and date didn't work. Do tokens NOT work for contribution fields???

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: Mystery: Contribution tokens???
July 10, 2012, 04:51:38 pm

can you see if you can reproduce this on our demo server (4.1) and sandbox server (4.2)

http://drupal.demo.civicrm.org/
http://sandbox.drupal.civicrm.org/

thanx

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 CiviMail (Moderator: Piotr Szotkowski) »
  • Mystery: Contribution tokens???

This forum was archived on 2017-11-26.