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) »
  • Individuals and relationships
Pages: [1]

Author Topic: Individuals and relationships  (Read 2533 times)

djtrouten

  • I’m new here
  • *
  • Posts: 29
  • Karma: 1
    • Evangelical Press Association
  • CiviCRM version: 3.4.7
  • CMS version: Joomla 1.5.23
  • MySQL version: 5.0.91
  • PHP version: 5.2.16
Individuals and relationships
January 26, 2010, 08:06:50 am
I haven't been using the relationship features of CiviCRM, but would like to start. I've created a couple of organizational membership types with "is employer of" as a relationship type, and I've created  membership category called "Staff" for individuals who are employees of member companies.

I'd like to create a way for individuals to sign up as staffers and indicate that they are employed by a member company. I created a contribution page called "Staff sign-up" that signs folks up as members of the "Staff" membership category. It includes the field "Organization name," but when a user fills out that form it's just a blank -- there's no drop-down box from which they can pick the organization name. That means that if they're employed by "The Times," but that company is in our records as "Times, The" it won't match.

I tried creating a profile called "Staff sign-up" with the field "employed by," but that doesn't really help either.

Any thoughts on a way to let individual users sign themselves up as staff in a way that connects them with the right employer record and creates "staff" memberships for them? I suppose if nothing else we could just gather the information through a profile update form, then set up the relationship manually, but it would be nice to automate this.

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Individuals and relationships
January 26, 2010, 10:52:45 am
Try putting in the field 'current employer' which is what the 'organisation name' is in terms of the individual. ie for the individual, the orgasniation they are employed by is 'their current employer.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Individuals and relationships
January 26, 2010, 04:38:08 pm
A couple of thoughts on this...

1. If your MEMBERSHIP model is that Organizations are Members, and you want employees of organizations to "inherit" a membership (as long as they are employed).... then you really only need one membership type. The 'Relationship Type' field for that membership type should specify 'Employer of'. This will result in a membership being automatically granted to any Individual contact who has an employee-employer relationship with a member organization.

2. If the assumption in #1 is correct, then the front-end signups would work like this:
- if the person is not yet in your DB, but the organization is already a member, then you want to direct them to a profile which includes Current Employer field (as Peter D noted). They shouldn't be signing up for a membership because their employer is already a member. You could potentially expose a searchable directory of existing member orgs so people can check up front.

-  if the org is not yet a member, then your Membership Signup form should include the 'On Behalf of an Organization' section (checkbox in 'Title and Settings' config form). This signup will result in the organization getting the membership AND the person doing the signup being added with a 'permissioned' employee relationship and the inherited membership.
Protect your investment in CiviCRM by  becoming a Member!

djtrouten

  • I’m new here
  • *
  • Posts: 29
  • Karma: 1
    • Evangelical Press Association
  • CiviCRM version: 3.4.7
  • CMS version: Joomla 1.5.23
  • MySQL version: 5.0.91
  • PHP version: 5.2.16
Re: Individuals and relationships
January 26, 2010, 09:46:48 pm
I should have been more clear. The staff sign-up profile does establish the relationship properly -- as long as the user gets the organization name right. My hope was that there was a way to do this where they'd be presented with a drop-down box of valid possibilities. I think that's how it works when somebody picks "on behalf of," and I hoped to add that same functionality to the staff sign-up profile.

Thanks for the tip on not needing an additional membership type. I had figured that if I had an "employer of" membership status, it would need an "employee of" to go with it. But now I see that the relationship can be recorded even without a "staff" membership type, so I just created a "staff" group and am adding people to that instead.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Individuals and relationships
January 27, 2010, 09:40:36 pm
Eileen McNaughton recently posted a detailed recipe for doing this kind of lookup in a Profile here:
http://civicrm.org/node/685
Protect your investment in CiviCRM by  becoming a Member!

djtrouten

  • I’m new here
  • *
  • Posts: 29
  • Karma: 1
    • Evangelical Press Association
  • CiviCRM version: 3.4.7
  • CMS version: Joomla 1.5.23
  • MySQL version: 5.0.91
  • PHP version: 5.2.16
Re: Individuals and relationships
January 30, 2010, 02:31:15 pm
Thanks! This would be a great feature to consider adding in a future release.

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: Individuals and relationships
January 30, 2010, 05:37:10 pm

if you are interested in seeing this in core / supported, consider sponsoring a developer to work on cleaning it up and creating a drupal module for it. i suspect its a 10-20 hour project and eileen might be interested in doing it :0

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

djtrouten

  • I’m new here
  • *
  • Posts: 29
  • Karma: 1
    • Evangelical Press Association
  • CiviCRM version: 3.4.7
  • CMS version: Joomla 1.5.23
  • MySQL version: 5.0.91
  • PHP version: 5.2.16
Re: Individuals and relationships
January 30, 2010, 09:30:31 pm
I'd need a Joomla module rather than Drupal, but it's a great idea. Lobo or Eileen -- can you send me info on how to sponsor something like this?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Individuals and relationships

This forum was archived on 2017-11-26.