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 (Moderator: Dave Greenberg) »
  • a new contact is added with a relationship to his/her organization
Pages: [1]

Author Topic: a new contact is added with a relationship to his/her organization  (Read 1219 times)

julianbrelsford

  • I’m new here
  • *
  • Posts: 28
  • Karma: 2
a new contact is added with a relationship to his/her organization
November 02, 2009, 10:39:57 am
In our database, there are 103 congregations and for several, the administrator for "congregation x" can edit all members of "congregation x" but not other records.

Our database defines a member as someone with a relationship to congregation x.

I want to make it possible for the administrator of "congregation x" to add contacts who will have a relationship to "congregation x", so that they are immediately part of that administrator's "smart group"  -- then he'll be able to view and edit them. Ideally, I'd make the relationship to the correct congregation happen automatically for these administrators.

Lobo / Greenberg / others ... can you help me figure out where to get started on creating this feature.

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: a new contact is added with a relationship to his/her organization
November 02, 2009, 12:12:05 pm

u can potentially do this via a create / edit hook

however u should also check the multi site features in 3.0 which is basically to manage cases like yours :)

http://wiki.civicrm.org/confluence/display/CRMDOC/Multi+Site+Installation

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 (Moderator: Dave Greenberg) »
  • a new contact is added with a relationship to his/her organization

This forum was archived on 2017-11-26.