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 CiviMember (Moderator: Deepak Srivastava) »
  • Gift Memberships
Pages: [1]

Author Topic: Gift Memberships  (Read 1909 times)

EdP

  • I post frequently
  • ***
  • Posts: 260
  • Karma: 7
  • CiviCRM version: 4.4
  • CMS version: Joomla 2.5.x
Gift Memberships
June 24, 2009, 11:07:28 am
Hi
I found this exchange:
http://forum.civicrm.org/index.php/topic,5930.0.html
In which people were asking how to use the honoree fields more fully to create gift memberships. The conclusion was that you had to hand code it yourself.

I'm setting up CiviCRM for my rowing club. We have a similar use case - adults buying memberships for their children. We'd like to keep both adult details and child details (the child is the member, but obviously its necessary to keep the details of their parents as emergency contacts).

Based on the above (I assume that this is still the case?) I will have to go delving in code for the time being, but for the longer term is there a feature request process, or a plan to implement this?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Gift Memberships
June 24, 2009, 11:46:32 am
There is a standing feature request for this - but it's not on the short or medium term roadmap:

http://issues.civicrm.org/jira/browse/CRM-3260

If you have engineering resources to work on implementing this - contact us on the IRC channel. This functionality could potentially be achieve by extending the currently available "signup for a membership on behalf of an organization" feature. (Allowing the "on behalf of" recipient to also be a related individual.)
Protect your investment in CiviCRM by  becoming a Member!

EdP

  • I post frequently
  • ***
  • Posts: 260
  • Karma: 7
  • CiviCRM version: 4.4
  • CMS version: Joomla 2.5.x
Re: Gift Memberships
June 25, 2009, 03:17:53 am
Thanks. I'll look into it.

EdP

  • I post frequently
  • ***
  • Posts: 260
  • Karma: 7
  • CiviCRM version: 4.4
  • CMS version: Joomla 2.5.x
Re: Gift Memberships
June 27, 2009, 02:05:25 pm
OK, I found this
http://issues.civicrm.org/jira/browse/CRM-2964
about how "On behalf of an organisation" was set up, and had a play with how it works.
I think it probably does everything I need, except that it only searches/works for "employee" relationships with organisations, whereas I want it to look for "household member" and "parent of" relationships with households and individuals.
So can someone help me by telling me where I could find this code to see if the fix is relatively easy?

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: Gift Memberships
June 28, 2009, 10:27:10 pm

your starting point is:

CRM/Contact/BAO/Contact/Utils.php, function buildOnBehalfForm

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 CiviMember (Moderator: Deepak Srivastava) »
  • Gift Memberships

This forum was archived on 2017-11-26.