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) »
  • In honor of/in memory of on Contribution Page
Pages: [1]

Author Topic: In honor of/in memory of on Contribution Page  (Read 899 times)

tcorbin

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 3.2.5
  • CMS version: Drupal
  • MySQL version: ?
  • PHP version: ?
In honor of/in memory of on Contribution Page
April 07, 2011, 03:19:31 pm
Hi, I'm creating a contribution page for an event. I want donors to be able to contribute in honor of a fundraiser. (Fundraisers are not creating their own personal campaign pages, so want to track their donations using In Honor of). When the In honor of/In memory of feature is enabled, there's a radio button asking the donor if the gift is IHO or IMO an individual. Is it possible to hide the In Memory of option, so the donor will only have the option to select In Honor Of? Or any other way to capture this information that I'm not thinking of?

Thanks.


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: In honor of/in memory of on Contribution Page
April 07, 2011, 03:55:17 pm

you can do this via the hook_civicrm_buildForm:

http://wiki.civicrm.org/confluence/display/CRMDOC40/CiviCRM+hook+specification#CiviCRMhookspecification-hookcivicrmbuildForm

u'll need some PHP skills to implement this, but its not too hard :)

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

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: In honor of/in memory of on Contribution Page
April 08, 2011, 03:13:56 pm
I think you can select the in honor of button and hide the other one using jquery...

http://civicrm.org/blogs/hershel/how-customize-civicrm-pages-jquery
Protect your investment in CiviCRM by  becoming a Member!

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: In honor of/in memory of on Contribution Page
July 20, 2011, 01:09:17 pm
Using jQuery is the best option here in my opinion.  It would require simply using the jQuery hide() method using the appropriate selector - in your website theme or in a Drupal unfiltered block.
Try CiviTeacher: the online video tutorial CiviCRM learning library.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • In honor of/in memory of on Contribution Page

This forum was archived on 2017-11-26.