Skip to content

An example extension for CiviCRM to limit only one Primary Contact per Organization

Notifications You must be signed in to change notification settings

brienneK/civicrmExt_primaryContact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Overview

This is an example extenstion for CiviCRM.

When a new Primary Contact relationship is being made for an Organization, this extension makes previous Primary Contacts for that Organization inactive, with an ending date of the creation date of the new relationship so that there is only one Primary Contact per Organization.

Requirements

  • PHP v7.0+
  • Tested on CiviCRM 5.71+

Installation (Web UI)

Learn more about installing CiviCRM extensions in the CiviCRM Sysadmin Guide.

Installation (CLI, Zip)

Sysadmins and developers may download the .zip file for this extension and install it with the command-line tool cv.

cd <extension-dir>
cv dl presentation@https://github.com/briennekordis/civicrmExt_primaryContact/archive/master.zip

Installation (CLI, Git)

Sysadmins and developers may clone the Git repo for this extension and install it with the command-line tool cv.

git clone https://github.com/briennekordis/civicrmExt_primaryContact.git
cv en primarycontact

About

An example extension for CiviCRM to limit only one Primary Contact per Organization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages