Questions tagged [civicrm-entity]

Questions relating to the CiviCRM Entity module, https://drupal.org/project/civicrm_entity

Filter by
Sorted by
Tagged with
1
vote
0answers
15 views

Get Drupal View to Display Label from Numeric Custom Select Field

I have a custom field in Civi that is a numeric select field. The select field values are numeric but the associated labels are text. I have created a Drupal view that displays the select field but it ...
0
votes
0answers
10 views

CiviCrm Custom Field Sets With Multiple Records not able to use multiline formatting in Views (Drupal 9.2.2 Civi 5.39)

When using a custom field set with multiple records (this was on general contacts, but from what I can see multiple record field sets only work on contact type fields), something in the Entity module ...
2
votes
1answer
66 views

Drupal 9 Views: rich text fields render with all HTML tags visible

HTML tags added by CiviCRM's rich text editor is generated as plain text in Views output for fields like CiviEvent description or custom rich text fields. Stripping tags in the Views output doesn't ...
3
votes
3answers
62 views

create a group of contacts NOT matching search criteria

I need to create a group of contacts who do NOT match a certain search criteria. Is there some way to do so using the browser interface? Thanks. -- Hugh
0
votes
1answer
17 views

Using a dropdown box for selecting stateprovice?

I'm trying to change some forms from quickforms to angularjs. In quickforms you do this: $this->addEntityRef('Location_province', ts('Select Province'), ['entity' => 'state_province',]); How do ...
1
vote
1answer
39 views

Drupal View Not Rendering HTML From Activity Email Details Field

I am trying to display in a Drupal (8) view the content of emails that have been sent to contacts using the contact Send Email action. I am using the details field from the activity to show the ...
0
votes
1answer
21 views

CiviCRM Entity and editing or viewing activites

I'm just curious if anyone has done work with CiviCRM Entity and activities. I was considering whether it makes sense (or is even possible) to have people edit certain activities from Drupal rather ...
1
vote
1answer
21 views

Does Drupal 7 "CiviCRM Entity" online event registration generate confirmation email?

I just started using CiviCRM Entity to embed event registration forms in my Drupal 7 web pages. The event registration works, but people who register through this mechanism do not receive ...
3
votes
2answers
32 views

Is it possible to view smart group membership in Views?

I have a view set up to display the content of groups but it only works for viewing manual group membership, not smart groups. (I have the form set to require input rather than the basic form style.) ...
0
votes
1answer
68 views

How to get Views to work in CiviCRM on Drupal9 with separate CiviCRM database

On based the answers on this question How to get CiviCRM Views to work in Drupal 8 with separate CiviCRM database I'm trying to get work Views on Drupal9. Drupal9 and CiviCRM has different databases, ...
0
votes
0answers
17 views

How does one install a new custom field?

After adding a Custom Field on Activity -> I get this message on the status report. How does one install a new custom field?
1
vote
0answers
17 views

How to filter contacts according to tags in views in Drupal 8 with CiviCRM entity?

I want to be able to filter organizations by tags. However, the reference in "Relations" is not available for tags even though it exists for groups : "CiviCRM Tags uses created_id" ...
0
votes
1answer
54 views

Call to undefined function civicrm_initialize() in sites/all/modules/contrib/civicrm_entity/civicrm_entity.module:488

I've just updated Drupal core (to 7.75) and found my site was stuck in maintenance mode, even after it was unticked in configuration. I've had this before and always been able to get round it with a ...
1
vote
1answer
32 views

Reason for no Views Relationship from CiviCRM Contact to Event Participant

I am trying to write a Drupal View (with VBO) to show CiviCRM Contacts with the Event Participant records which they are related to. But there is no suitable Relationship in the standard list. I ...
1
vote
1answer
52 views

Can you use VBO to update activities on cases?

I'd like to be able to bulk update the status of activities (that happen to be on a case) from a view. I can get the status to update but the problem is it loses the Case ID along the way. For example,...
0
votes
0answers
25 views

Civi entity didn't automatically create the table in database

I created a new entity for my extension. These are the steps i followed: Generated the skeletal files using civix generate:entity command Edited the XML schema definitions as i needed. Generate your ...
1
vote
2answers
55 views

Drupal 8 CiviCRM Entity and Views activities

We have been working on Views, with Civi Entity, on Drupal 8. We are having an issue a list of Activities and filters. We only want to load Activities where the source contact is a particular ...
1
vote
1answer
22 views

In order to see Activities fields in Views - do I need to add/install CiviCRM Entity?

I want to add Activities fields or Relationships in Drupal Views. Do I need to add/install CiviCRM Entity?
1
vote
1answer
39 views

Base table not found for civicrm_contribution_page #201

On latest version of 8.x-3.x branch i get following error when try to add a view for contribution page SQLSTATE[42S02]: Base table or view not found: 1146 Table 'civicrmdb.civicrm_contribution_page' ...
0
votes
1answer
6 views

Cache SqlGroup.php expiration_date-value not Positive

Installed civicrm 5.20.1, Windows10, WP 5.3.. Install errors flag civicrm_cache.expiration_date, set in CRM/Utils/Cache/SqlGroup.php, in update and insert queries as FROM_UNIXTIME(%5) and ...
1
vote
2answers
73 views

Is there a reason why custom field sets cannot be multiple value?

I've added a custom field set to the Participant entity, but I need to it allow for multiple values. I've noticed that the Contact entity has no problem with this, but is there a reason why it doesn't ...
2
votes
1answer
89 views

Issue with Drupal 8 CiviCRM Views + CiviCRM event

Does anyone know how to create a Drupal view to show only future/upcoming CiviCRM events in Drupal 8? I tried by adding the Event start date as filter but it doesn't provide the filtering options to ...
2
votes
2answers
49 views

Fixed - Why can't I display some Civi contact fields through CivCRM Entity in Drupal 8?

I've got a development site running using Drupal 8.7.7/Civi 5.17.5 and CiviCRM Entity. I want to set up some Views to display Civi data. Some fields are being displayed fine (e.g. first name, last ...
1
vote
1answer
30 views

Drupal views: Civicrm drupal_id entity missing after update?

Inside Drupal views, I use some contextual filters and relationships which, I think, are provided by CiviCRM Entities. Before Civi 5.15, some seemed to be provided by CiviCRM itself (?). Under '...
2
votes
1answer
89 views

Webform CiviCRM or CiviCRM Entity?

Until now whenever I've needed to enable site visitors to enter or update data in Civi on Drupal sites I've used webforms and the excellent Webform CiviCRM integration module. By and large it does the ...
0
votes
2answers
30 views

Undefined property: CRM_Contact_DAO_Contact::$contact_id in civicrm_entity_contact_user_get()

Following the advice I received in Allow only existing CiviCRM contacts to create own Drupal account, I'm trying to implement Drupal Rules to create an associated Drupal user whenever a CiviCRM ...
1
vote
0answers
26 views

View of CiviCRM Events containing CiviCRM Contact Data

I need to set up a list of Upcoming Events in Drupal 7 with a View of CiviCRM Events Entity. I need to redirect the logged user to a Drupal Custom Node after the user has selected a specific event to ...
1
vote
1answer
44 views

VBO (Views Bulk Operations) - Bulk Operations field not showing in field list

Trying to use VBO in a view of CiviCRM contributions, but when I try to add the Bulk Operations field, it is not listed in the pop-up field list so can't be added. The rest of the view works (ie can ...
4
votes
1answer
87 views

Error after installing Civi Entity module

Blockquote Warning: array_combine(): Both parameters should have an equal number of elements in CRM_Contact_BAO_Relationship::buildRelationshipTypeOptions() (line 2250 of /home/i571020/membership....
0
votes
2answers
228 views

Retrieve Drupal user id from CiviCRM Contact id

Is it possible to retrieve Drupal uid from CiviCRM Contact id? Can any one please guide me? OR Is it possible to get the Drupal user detail associated to a payment contribution?
6
votes
2answers
632 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' ...
2
votes
1answer
41 views

CiviCRM-Entity Case - view block on a Drupal node

I'm attempting to display a View Block with a CiviEntity (type: CiviCRM Case) on a Drupal Node using Display Suite (block field). When I set up the Display Suite Block Field, I'm presented with ...
2
votes
2answers
79 views

Development - Refresh of parent page

Wordpress with CiviCRM 5.3.2 Hi guys, I'm struggling with a small problem. I've added a tab (using tabset) to create a new tab while viewing a contact. That tab lists any dogs registered to that ...
1
vote
1answer
31 views

Drupal Rules - Condition "Civicrm Contact has email" appears to not be working

The desired outcome was to create a drupal user record if and only if an email exists on the contact - when a membership was created/updated. To do this I wanted to add the condition "CiviCRM ...
0
votes
1answer
56 views

Rule to create a Linked Drupal user account for a specific CiviCRM Contact Subtype

I’m using Drupal 7.56, the Rules module 7.x-2.11 and CiviCRM 4.6.31. I'm trying to create a Drupal Rule that checks the subtype of contact to create a Linked Drupal User Account just for a specific ...
0
votes
1answer
80 views

How display event for anonymous user with Rendered Entity

In drupal a have added a field event to display a event in a web page. When I'm connected I see my Event field. The problem is when a anymous see my page he don't view my rendered entity. If I ...
2
votes
1answer
55 views

Drupal Core Search to show results from CiviCRM Events data along with drupal content results

I'm looking for a solution to extend Drupal Core Search functionality to fetch results from Civicrm Events. Did anyone tried or achieved this? Is there any module to achieve this? any configurations? ...
3
votes
2answers
57 views

CiviCRM Entity display shows email addresses - should only show display name

I have a content type in Drupal ('Event') that uses an entity reference autocomplete field to search the name of the submitting organization. The entity reference field only displays contacts that ...
2
votes
1answer
85 views

CiviCRM Entity Tags does not appear in Rules

I am trying to follow the procedure outlined in How can I create a Drupal user when someone submits a CiviCRM-Webform?... but when I try to add the Event to the Rule described, 'CiviCRM Entity Tag' ...
0
votes
1answer
27 views

Relationship Type "name" as Drupal [Rules] Token in Civicrm Entity module

Is it possible to retrieve Relationship Type Name in addition to an ID as Rules Token in Drupal 7? It would add some value to "Create/Edit Relationship" Rules action: we could use it in emails, like "...
3
votes
0answers
43 views

How can I get civi fields with multiple options to offer the "multiple field setting" in the way that drupal fields do?

I know the simple answer is "add this functionality to the civi views module" but it has been mentioned in other tickets but the fact that this could be possible but isn't doesn't seem to have been ...
3
votes
1answer
26 views

CiviCRM Converting HTML tag to Entity

we're having an issue with newsletters being sent out with broken images due to the opening and closing tags being converted to HTML entities. e.g. <img src="foo.jpg" /> is sent out as: &lt;...
3
votes
1answer
213 views

Civicrm Entity & Drupal 8

I have begun working on structuring a franchise type educational site and we are going with CiviCRM and Drupal. However, we wanted to go with drupal 8 since we are starting fresh with a complete ...
3
votes
1answer
64 views

CiviCRM Entity, Display tags name in contact

Here's what I'm trying to do. I installed CiviCRM with CiviCRM Entities. + few other modules. At Structure -> CiviCRM Entity -> CiviCRM Contact -> Add custom field (CiviCRM Entity Reference) I did ...
3
votes
1answer
158 views

How can I show a list of events with summaries and either a register link or message saying they are full?

We are collecting registrations for a conference and have a number of optional workshops on one of the afternoons. I want to create a summary page of available workshops for participants with a link ...
5
votes
1answer
229 views

Using CiviMember to automatically create a Drupal user

I am relatively new to Drupal (I using version 7) and CiviCRM. I have set up a website in which members will be entered manually, rather than using an online signup form. I am envisaging the ...
3
votes
3answers
110 views

Can you create an event with Webform-CiviCRM integration?

I know you can register for an event - but can you create an event? In my use case, there are users whose job is to coordinate an event series who don't otherwise need to interact with CiviCRM. It ...
4
votes
2answers
185 views

Attach pdf file civicrm_api3

i need help, i'm trying to attach through civicrm_api3('Attach', 'create'..) a pdf file, passed with a rest call as simply text: %PDF-1.3 1 0 obj << /Type /Catalog ... ecc . The attach works, ...
2
votes
2answers
104 views

Can CiviCRM entities be used as events to trigger Drupal Rules?

I have CiviCRM Entity installed, Drupal Rules, up to date versions of both. I'm just creating a simple rule that says when a CiviRM Contribution Page is viewed, a "Hello World" message is displayed. ...
2
votes
1answer
46 views

How to get new or updated CiviCRM entities (Memberships) indexed by Drupal Search API?

Based of the terrific guidance provided in this blog post we have built a faceted directory of our business members using CiviCRM Entity, Search API, and Facet API. To accomplish this, we have ...