Views
The scenario here is, for example, you are calling your Contacts and recording data via webform using webform_civicrm, and you are using a View to get your list of contacts. On that View you have a link adds the Contact ID (cid) in the url so that person's name etc will load up on the webform.
In… more
We did this a while back, and a question on StackExchange meant it was worth sharing.
This view has another View as a field using drupal views_field_view so there are two views attached. You will probably hit less problems if you import in this orderrecur latest contribution.txtrecur_contribution.txt
Per a request in StackExchanged I cloned this View and cleaned it up in case it could help in their use case. The view ensures the block shows activities Assigned to the logged in user.
Quickly built this to provide an example view for this question on Stack Exchange. Obviously the relationship types may need resetting to match which relationships are required. They should have Individual as Contact A and Organisation as Contact B.
A question on StackExchange had me wondering if a View would provide a solution for showing Civi Memberships and OG Memberships so I put together a very simple proof of concept.
If you have the CiviCRM Entities module (2.x version) and the Calendar module then in Views you should find that you can use "Add from template" and there is a template for Civi Event.Previous to the 2.x version of Entities the View needed hand crafting and there is an example… more
A request on StackExchange seemed like a good candidate for a View using Aggregation that would give a count of how many Memberships had changed from eg Grace to Expired in a particular period, and by Membership Type.Note that you may need to login or Masquerade as user/1 to get access to… more
Following on the blog by Eileen about using CiviCRM Entities and Views Bulk Operations (VBO) to update start/end dates of civi Relationships in bulk, another client asked for a quick solution for them confirming who attended an event. This was a free event, they had sent out invites, and wanted a… more
It has been possible to make batch changes to CiviCRM data using VBO (Views Bulk Operations) for a while but I only just got around to implementing it for a customer so I am taking the chance to document what I did here!The recipe is basically- install civicrm_entity version 2.x & vbo… more
I did this to help out on the CiviCRM Forum. It should show the logged in user any events they are registered for.The ingredients for the view recipe are (in short)View of type 'CiviCRM Participant'View Relationships of type CiviCRM Contacts: Drupal ID (which connects the Participant to the… more
In many cases, such as for the European Greens, we want to create Drupal pages for some contacts, in their case Parties, so that we can pull together both a collection of information about the contact from Civi, and display related Drupal content, such as News items about the Party. You can see an… more
The European Greens (and other clients since) wanted to have blocks showing News items relating to their Party pages, so that for example a news item that 'node references' Die Grunen would show up on the page about Die Grunen.The concept is simple enough and can be handled in Views but requires a… more
This has come up repeatedly on the Civi Forums and in this case International Mountain Biking Association needed one for Drupal 6, so I thought I would quickly share a Drupal 6 and Drupal 7 solution as a starting point for others.The block is built from a View based on 'memberships' and… more