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) »
  • Contribution Pages: On behalf of organization
Pages: [1]

Author Topic: Contribution Pages: On behalf of organization  (Read 6350 times)

Aahar

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 3
  • CiviCRM version: 3.4 and 4.0
  • CMS version: Drupal 6.17, 6.x and Drupal 7.x
  • PHP version: 5.2
Contribution Pages: On behalf of organization
August 20, 2013, 02:46:27 am
When creating Contribution Pages there is an option": Allow individuals to contribute ... on behalf of an organization

The explanation is "Logged in users will be given a choice of selecting from a list of organizations that they have a permissioned relationship with OR entering a new organization. "

My understanding is:
-> The logged in user should have "Employee relationship" of organization and only such organizations will be listed.
-> "Permissioned" means, user "can view and update information for" the organization set through "Relationships"

 
This is very close to what I need BUT not exactly so.

Here is what I need:

1) I do not want logged in users to be able to edit/update organization details.
2) The logged in user should not be allowed to create a new organization. I already have approved organization through which I am willing to accept donations.
3) I want to avoid using "Employee of" relationshisp type. I can create a new relationship type instead. Not all donors through an organizations are employees of that organizations.

I am sure there would be a simple way out to get this done.
Please suggest.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Contribution Pages: On behalf of organization
August 20, 2013, 03:35:34 am
I think what you might want is to use a custom field of type Contact Reference. This would achieve all of your goals I think, except that it wouldn't actually record the contribution "officially" as being on behalf of the organization.

Anyhow, you could limit your list of available Organizations in the reference field using a bit of custom code, such as:

http://civicrm.org/blogs/xavier/how-customise-contact-reference-custom-field
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Aahar

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 3
  • CiviCRM version: 3.4 and 4.0
  • CMS version: Drupal 6.17, 6.x and Drupal 7.x
  • PHP version: 5.2
Re: Contribution Pages: On behalf of organization
August 20, 2013, 03:47:38 am
I will try your suggestion.

I did not understand what you mean by saying
Quote
except that it wouldn't actually record the contribution "officially" as being on behalf of the organization.

I would want it to show up as contribution tab of the organization. And if that happens, I am fine.



Thank you  for your response Hershel

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Contribution Pages: On behalf of organization
August 20, 2013, 04:50:25 am
Quote from: Aahar on August 20, 2013, 03:47:38 am
I would want it to show up as contribution tab of the organization. And if that happens, I am fine.

It would not. :(

You could add that via coding a hook, but perhaps someone else will have a better idea...
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Contribution Pages: On behalf of organization

This forum was archived on 2017-11-26.