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 a membership directory using Drupal Views


CiviCRM uses profiles to display contacts, and in most situations this is an excellent solution to displaying and sorting your membership contacts.

However, displaying membership contacts can be a problem in CiviCRM. For example, you may have a membership setup that allows both individuals and organizations to join. CiviCRM does not allow you to have a profile that combines both individual and organizational data. So, you cannot use the profile solution for your directory.

How to do it…

Using this recipe, we can use Drupal's Views module to create a membership directory that includes organizations and individuals.

  1. Download, install, and enable Drupal's Views module, available at http://drupal.org/project/views.

  2. In Drupal, navigate to Admin | Structure | Views and add a new view.

  3. Set the view to show CiviCRM Memberships.

  4. Name the view Membership directory.

  5. Set the view to display a page and give the page a URL.

  6. In the FORMAT section, set the Display...