Can someone tell me what I need to use Views with CiviCRM? Is it the regular Drupal Views module with another module that provides integration?
Also, how would I use Views to display a count of how many people are registered for each of my events?
CiviCRM Stack Exchange is a question and answer site for administrators and users of the CiviCRM Constituent Relationship Management software. It only takes a minute to sign up.Sign up to join this community
Also note that if you are using custom fields in your views you have to check the permission Access all custom data. For all people using views. If drupal cache is cleared the views are rebuild based upon the role the user who is clearing the cache, meaning that the custom field permission will be checked against that user.
It is the regular Drupal Views module, but if you have Drupal and CiviCRM in separate databases, you have to edit your settings file to let Views know where to find the CiviCRM data. (Coleman notes in addition: "if your drupal sql user and civicrm sql user are different then you need to grant SELECT privileges to the drupal one for the civi db.") You can find the information you need to add to settings.php at Administer > System Settings > CMS Database Integration.
Then you can use default Views functionality on CiviCRM data -- for example:
CiviCRM ships with a bundled module for Views 3 integration, all you have to do is turn it on.
If you are using a separate db for Civi, you'll also need to follow the instructions at Administer > System Settings > CMS Database Integration. Note that if your drupal sql user and civicrm sql user are different then you need to grant SELECT privileges to the drupal one for the civi db.