Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.17 KB

README.md

File metadata and controls

32 lines (22 loc) · 1.17 KB

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