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) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • Usability Improvements (Moderator: Dave Greenberg) »
  • Soft Credit to all members of household / organisation / group
Pages: [1]

Author Topic: Soft Credit to all members of household / organisation / group  (Read 1153 times)

Chelcone

  • I post occasionally
  • **
  • Posts: 82
  • Karma: 1
  • CiviCRM version: 3.4.0
  • CMS version: Drupal 6.*
  • MySQL version: MySQL 5.*
Soft Credit to all members of household / organisation / group
June 27, 2011, 07:24:57 am
As a large sum of the money we get is sponsorship we need to be able to record payments from a team or group of people that gave a large sum of money and then show it as a soft credit on all subsequent members of the household and so on.

Is this something thats in the works at all?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Soft Credit to all members of household / organisation / group
June 27, 2011, 10:24:48 am
This is not "in the works" as far as I know. If the soft credit is to be applied "automagically" to contacts with existing relationships, you could implement this via a postProcess hook on the Contribution form (i.e. our hook code would check if a soft credit is being assigned, and if so check for related contacts and insert soft credits for them as well).
Protect your investment in CiviCRM by  becoming a Member!

Chelcone

  • I post occasionally
  • **
  • Posts: 82
  • Karma: 1
  • CiviCRM version: 3.4.0
  • CMS version: Drupal 6.*
  • MySQL version: MySQL 5.*
Re: Soft Credit to all members of household / organisation / group
June 28, 2011, 01:31:24 am
Is there any chance you could tell me where there is some example code of this? the hook specification page is great if you know how to code for CiviCRM but i don't and im kind of new to php so i have no idea where to even begin because of the lack of information about it?

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: Soft Credit to all members of household / organisation / group
June 28, 2011, 08:18:54 am

a fair amount of hook based code in your distro at:

drupal/modules/*
drupal/civitest.module.sample

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) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • Usability Improvements (Moderator: Dave Greenberg) »
  • Soft Credit to all members of household / organisation / group

This forum was archived on 2017-11-26.