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) »
  • Different email confirmation based on Membership Type?
Pages: [1]

Author Topic: Different email confirmation based on Membership Type?  (Read 1175 times)

Cat Paquin

  • I post occasionally
  • **
  • Posts: 32
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Joomla 3.2.3
  • MySQL version: 5.5.30
  • PHP version: 5.3.17
Different email confirmation based on Membership Type?
January 01, 2012, 09:40:34 pm
I have a membership page using CiviContribute and I was wondering if it possible to send a different email to a new member based on the type of membership they selected.

For instance, my membership types are Individual, Student, and Family.

I would like to send the Individual a simple thank you, the Student instructions on how to send their proof of enrollment, and the Family instructions on how to add additional family members.

Wondering if this is easy or hard with only an elementary knowledge of Drupal and CiviCRM.

Thanks in advance,
Cat

Rajan Mayekar

  • I post frequently
  • ***
  • Posts: 177
  • Karma: 20
    • Rajan's Blogs
Re: Different email confirmation based on Membership Type?
January 02, 2012, 12:13:29 am
Hi,

You can easily do this by modifying workflow message template for the membership,
eg: http://d7.demo.civicrm.org/civicrm/admin/messageTemplates?reset=1 , list of
all workflow message templates.

'Memberships - Receipt (on-line)' is used for online membership signup, you can 'edit' it accordingly.
You will need some basic knowledge 'smarty' (http://www.smarty.net/docsv2/en/),  for membership type you can use variable {$membership_name}.

Rajan

Cat Paquin

  • I post occasionally
  • **
  • Posts: 32
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Joomla 3.2.3
  • MySQL version: 5.5.30
  • PHP version: 5.3.17
Re: Different email confirmation based on Membership Type?
January 02, 2012, 02:42:51 pm
Thanks, Rajan! That is pretty simple. Appreciate you taking the time to answer a beginner question.

Cat

Cat Paquin

  • I post occasionally
  • **
  • Posts: 32
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Joomla 3.2.3
  • MySQL version: 5.5.30
  • PHP version: 5.3.17
Re: Different email confirmation based on Membership Type?
January 02, 2012, 09:22:48 pm
I am getting these errors when I process a membership ... any ideas on how I can fix it?

•Notice: Undefined index: custom_pre_id in CRM_Contribute_BAO_ContributionPage::sendMail() (line 165 of /home/mysite/www/www/sites/all/modules/civicrm/CRM/Contribute/BAO/ContributionPage.php).
•Notice: Undefined index: contribution_id in CRM_Contribute_BAO_ContributionPage::sendMail() (line 239 of /home/mysite/www/www/sites/all/modules/civicrm/CRM/Contribute/BAO/ContributionPage.php).

Here is what I added to the template so far:

{if $membership_name eq 'Family'}{ts}TEST!!!{/ts}


{/if}

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Different email confirmation based on Membership Type?

This forum was archived on 2017-11-26.