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) »
  • Discussion »
  • Extensions (Moderators: mathieu, totten, kasiawaka) »
  • Assign new contacts to default groups (depending on the group of the creator)
Pages: [1]

Author Topic: Assign new contacts to default groups (depending on the group of the creator)  (Read 700 times)

capo

  • I post occasionally
  • **
  • Posts: 108
  • Karma: 5
Assign new contacts to default groups (depending on the group of the creator)
October 12, 2013, 06:40:55 am
This extension wan't, at the beggining, intended to be published. It was created only with pedagogical purposes. But, as long as it works and can be useful to others -even if it's only as an "inspiration" to create other nice CiviCRM extensions-, we decided to give it a chance.

What it does is pretty standard, so I'm almost sure that, even if there's no extension like that at the extensions directory, other people has developed something like that before.

You can download it from GitHub: https://github.com/amnesty/autogroupassignments/archive/master.zip

What does this extension do?
Auto Group Assignments allows you to specify a default group for each contact created (by members of another specified group).

Lets say that you have, for instance, three groups in CiviCRM: administrators, teachers and students. The administrators, normally, use CiviCRM to create teacher records. The teachers use to create student records. With this extension, you'll be able to assign the "Default Group for New Contacts" when you create, or modify a group.

There is a more complete description at the GitHub project: https://github.com/amnesty/autogroupassignments

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Assign new contacts to default groups (depending on the group of the creator)
October 12, 2013, 07:22:59 am
Thanks for sharing!
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

alejandro_salgado

  • I’m new here
  • *
  • Posts: 19
  • Karma: 1
    • iXiam
Re: Assign new contacts to default groups (depending on the group of the creator)
October 14, 2013, 09:59:20 am
Hey there, I think it's very useful specially when working with CiviCRM's ACL's. As ACL's work with static groups, this is a good way for making sure that contacts created by one group will belong to a specific group, so ACL's will be applied.

Alejandro Salgado - iXiam - Civi-Go

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Extensions (Moderators: mathieu, totten, kasiawaka) »
  • Assign new contacts to default groups (depending on the group of the creator)

This forum was archived on 2017-11-26.