Book Image

CiviCRM Cookbook

Book Image

CiviCRM Cookbook

Overview of this book

CiviCRM is a web-based, open source, Constituent Relationship Management (CRM) software geared toward meeting the needs of non-profit and other civic-sector organizations.Organizations realize their mission via CiviCRM through contact management, fundraising, event management, member management, mass e-mail marketing, peer-to-peer campaigns, case management, and much more.CiviCRM is localized in over 20 languages including: Chinese (Taiwan, China), Dutch, English (Australia, Canada, U.S., UK), French (France, Canada), German, Italian, Japanese, Russian, and Swedish.CiviCRM Cookbook will enhance your CiviCRM skills. It has recipes to help you use CiviCRM more efficiently, integrate it with CMSs, and also develop CiviCRM.This book begins with recipes that help save time and effort with CiviCRM. This is followed by recipes for organizing data more efficiently and managing profiles.Then you will learn authentication and authorization and managing communication with contacts.Then you will be guided on using the searching feature and preparing reports. We will then talk about integrating Drupal and CiviCRM. You will also be taught to manage events effectively. Finally, learn about CiviCampaign, Civimember, and developing CiviCRM.
Table of Contents (19 chapters)
CiviCRM Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Creating user accounts on the fly with CiviCRM entities


You might want to add Drupal user accounts to your site when you create a CiviCRM contact. There is a Create User Account action on each contact summary screen on the Actions button menu. This allows you to create the account once the contact is created. However, this means completing information in an additional screen. Furthermore, Drupal does not send the user a notification that the account has been created. To overcome this, there is a new module by Eileen McNaughton still under development called civicrm_entity . This exposes CiviCRM entities to Drupal, which means that they can be recognized by the Drupal Rules module. CiviCRM entities include contacts, activities, memberships, cases, events, and contributions.

How to do it…

We will create a CiviCRM tag called "Create User Account". When we add a contact with this tag, it will trigger a rule that creates the user account:

  1. Download, install, and enable the civicrm_entity module ...