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

Using URLs to change profile displays


In the previous recipe we used a URL to access the profile we created, that is, civicrm/profile/create?gid=N&reset=1, where N was the ID of our profile. This URL made the profile appear as a form where we could create a contact.

How to do it…

By using different URLs you can create search forms and listings:

  1. Create a search form with this URL: civicrm/profile?gid=N&reset=1.

    This provides a search form. When you create your profile, you must make sure that field visibility is set to Public Pages or Public Pages and Listings.

  2. Create a listing with an editable search with this URL: civicrm/profile?gid=N&reset=1&force=1.

    This provides a listing with editable search criteria at the top. When creating the profile for this, under the Advanced settings, you can restrict the contacts listed using Limit listings to a specific Group.

  3. Create a listing without a search with this URL: civicrm/profile?gid=17&reset=1&force=1&search=0.

    This provides...