Questions tagged [drupal-views]

Questions about CiviCRM's integration with the Views module in Drupal.

Filter by
Sorted by
Tagged with
8
votes
3answers
649 views

How to create a Drupal View with multiple CiviCRM relationships?

I would like to create a Drupal View showing an organization and several individuals who are related to the organization in different relationships. The wording on the CiviCRM Drupal relationships ...
7
votes
2answers
808 views

How to put your CiviCRM Contacts on a Leafleft Map in 5min?

To summarize: someone asked me to post this here - so that he can give it a try! put a PIN based on latitude/longitude of the CiviCRM Contact put CiviCRM Contact data in the bubble pop-up color the ...
4
votes
2answers
140 views

Displaying a Views block with a CiviCRM-enabled webform

As an alternative to "How can I display an info only field in a webform", we are displaying a read-only View block on a CiviCRM-enabled webform page via Context because one of the fields of the View ...
4
votes
3answers
677 views

What is the recommended Wordpress equivalent for drupal-views

CiviCRM manual mentions X-Data Toolkit as a potential substitution to drupal-views. However X-Data Tookit has not been updated in years and its documentation is not available anymore. What other ...
8
votes
3answers
906 views

How do I use Views with CiviCRM?

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 ...
5
votes
2answers
185 views

How to get CiviCRM Views to work in Drupal 8 with separate CiviCRM database

When setting up a Drupal 8 with separate CiviCRM database, the Drupal views cannot read the CiviCRM database: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'xxx.civicrm_contact' ...
5
votes
2answers
130 views

Is there a way to add a custom field to the Inbound SMS activity type?

I'm working on a Drupal site that includes a view showing unanswered SMS messages. The view shows activities of the Inbound SMS type that have not been revised or deleted, plus a custom PHP filter ...
4
votes
1answer
243 views

Can Drupal Views filter contacts based on Smart Groups

Taking the liberty of creating this new ticket since the previously similarly titled (since retitled by me) post was not really addressing the issue. Laryn is correct when he said on the above post ...
2
votes
2answers
97 views

How to display Individual Custom Fields in a Participants View

I want to create a View : which displays some Individuals Custom Data (e.g. Passport information) where Individuals are filtered according to their Participation to an Event (id=20) I imagine 3 ...
8
votes
5answers
337 views

How to display a Drupal view in a CiviCRM tab

I'm trying to display a drupal view in a CiviCRM contact tab. I've tested out my tab function with the code snippet on hook_civicrm_tabs and it will show the contribution tab correctly, and I've ...
6
votes
2answers
244 views

Views Proximity Search on Latitude / Longitude

Has anyone used a proximity filter or sort in Drupal Views based upon a contact's geocoded address? I think it would be doable with the GeoPHP module and a special handler, but I don't know if it has ...
4
votes
3answers
659 views

How should I generate a report (or view) showing contacts and people they have relationships to?

I would like to create a view, or custom report, whoever is easier, to show the following: -The names of all contacts in a specific group -Some of their contact information -The names of all contacts ...
3
votes
2answers
205 views

Drupal Views - Sorting of family members in a contact list

I am working on a church website with civicrm integration. What I want is a list of church members sorted or grouped by household. Sorting by sortname is no problem. I am able to get members with ...
2
votes
1answer
70 views

How can I make a filter to exclude someone who has a certain tag assigned to them? (or custom data field yes/no type)

I'm trying to set up a view (kind of an admin report view) which shows a list of members based on certain filters set up in the view. This is for a large homeschool coop. membership type (exposed - ...
6
votes
1answer
525 views

How can Members download their own Membership Certificate/Card?

This is a request I get quite often. Below is my favourite solution for it.
0
votes
0answers
23 views

Views Field View AJAX error [on hold]

I have just installed the Views Field View Module (https://www.drupal.org/project/views_field_view), which enables to apend a View inside a View. But when I want to Add a View field, I get an AJAX ...
9
votes
2answers
99 views

How do I add a currently unsupported field to Views?

For example, the email_greeting_display field of the civicrm_contact table is not available as a field in Views. How do I add that to a View? See also How to include a token in a view?
6
votes
2answers
175 views

How could I use CiviCRM for sponsorship

We have a node called sponsorship that is a person, place, or thing. Person is likely a child, but it could be a teacher, nurse, etc. A person generally has one donor that pays a monthly amount. A ...
5
votes
5answers
162 views

How do you approach “things that you would use Drupal views for” in WordPress?

Coming from a Drupal 7 background but wanting to do more work with WordPress, I am looking for ideas on how people approach "the things that you would normally use Drupal views for". For any ...
4
votes
3answers
125 views

How to access multiple CiviCRM website fields for a contact in Drupal Views?

I have two website fields for my contacts, a work website and a personal website. I am creating user profile pages (NOT CiviCRM profiles) for each of our members and want to display both website ...
4
votes
1answer
26 views

Why have all my custom Civi fields stopped showing up in Drupal view?

Title says it all really. Sometimes, mostly after an upgrade in my experience, I will go to edit a View that uses CiviCRM Custom Fields and will find messages like 'broken handlers' etc. How can I fix ...
4
votes
2answers
167 views

How to include a token in a view?

The CiviCRM Views integration (Drupal) provides a way to create a View using data from Civi fields. Is there a way to include the output from a Civi token in the View? The use case is that I have a ...
2
votes
3answers
142 views

How to show Users their Membership status so that even users without a membership status get to see the block

We have a client we would like to show the current logged in users membership status in a Drupal View alongside other contact fields. As the user may not have a membership yet at all then this can't ...
1
vote
1answer
72 views

How to configure Views VBO action to disable relationships?

I'm trying to create a View of people with relationships to an organisation with options to disable those relationships. I have created the view and added a VBO field on the relationship. In the ...
1
vote
1answer
96 views

How to target record id for multiple record custom field set in Webfom?

Drupal 7.40 Webform-Civi Integration 7.x-4.13 Similar to Graham's question here. Use case: Setting up goal plans that look like this: Long-Term Goal 1 Short-Term Goal A Short-Term Goal B Short-...
1
vote
1answer
110 views

How can I display only Cases without Case Managers using Drupal Views

I'm using CiviCRM 4.6.9, if it makes a difference. I want to use Drupal Views to display only CiviCase cases that do not have case managers. I feel as though I'm close... so close, but I'm not quite ...
1
vote
2answers
75 views

How to create a drupal 'contact me' link where the user is a contact reference field of Contact B in a civi relationship

I have an organisation with members across many institutions around Australia and each institution will have one of those members as a contact for that institution. On each institution's landing page ...
1
vote
2answers
45 views

How to use Views to send a Mailing to a Selection of Recipients?

Drupal 7.60, Civicrm 5.6.0 I want to give to my users the ability to send a mail or mailing to a selection of recipients, based upon some cross selection of fields values. Views is a good tool for ...
1
vote
2answers
62 views

Contact Names showing up on Google Search even when they are not public

All of our contact first name & last name are appearing visible on our site even when they have requested not to be. It is pulling their contact id and putting it into a public directory drupal ...
1
vote
1answer
19 views

Views Bulk Operation (VBO) : Config List does not display a Custom Field

I have created a new Custom Field (yes/no, searchable) in an existing group which already contains 15 of them. I want then to create a VBO to be able to modify this field value from a View. But my ...
1
vote
2answers
99 views

If contact has multiple cases, how do I filter a view to show only case roles associated to that case type

We have contacts that may have multiple cases, each with a case coordinator. I have created a view for each case type that shows the associated case coordinator along with last activity date, links ...
0
votes
0answers
25 views

How to display a related Contact's Participant Custom Field in a View

Using Drupal Views, I want to display a Parent custom field in a Children list. I can display (e.g.) : (CiviCRM Contact B) CiviCRM Contacts: Sort Name (Parent) But if I want to display (CiviCRM ...
0
votes
3answers
161 views

How to create Drupal View of Participants with custom fields

I have events with custom fields. I want to show participants with the corresponding custom fields in a View. I can't find how to retrieve custom datas. Is somebody have already created this kind of ...