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) »
  • is there any $current variable for email templates?
Pages: [1]

Author Topic: is there any $current variable for email templates?  (Read 521 times)

smashingx

  • I’m new here
  • *
  • Posts: 17
  • Karma: 1
  • CiviCRM version: 4.1.5
  • CMS version: Drupal 6.22
  • MySQL version: n/a
  • PHP version: n/a
is there any $current variable for email templates?
July 11, 2012, 11:21:30 am
I looked to this part of the code in specific on this template email Memberships - Signup and Renewal Receipts (off-line) and I see the following:
{if ! $cancelled}

     <p>{ts}Please print this receipt for your records.{/ts}</p>
The disadvantage with this part is that unless the membership is cancel it will send this email notification. I would like to narrow it down to send messages to customers that have changed their status of their memberships from pending to current, so I was wondering if you guys use a variable to define that I was thinking $current but that variable doesn't exist.
I was thinking if you have a variable that does this, and what is the name of it.

Thanks!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • is there any $current variable for email templates?

This forum was archived on 2017-11-26.