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

Adding custom fields to a report


CiviCRM comes with an excellent suite of reports. If we navigate to Reports | Membership Report (Detail) and click on the report criteria, we can see CiviCRM divides the report criteria into sections. In the following screenshot you can see that there is a main section (for contact data) and then a section for membership. In the membership section there are a couple of custom fields:

What the report does not allow you to do is to display any custom fields that you created for contacts. For example, you might use CiviCRM to manage a Health IT Association, where the membership consists of health centers. For each health center, you want to know how many patients they have and how many doctors they have. You want to display this data on a membership report but it is not available from the default template.

Getting ready

Create a custom field set for an organization and add in some custom fields for number of doctors, and number of patients.

How to do it…

We need...