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
0 answers
19 views

Error in civicrm entity leaflet Drupal 9.5

I get this error on my installation with Drupal 9.5.0, PHP 8.1.12, drupal/leaflet 10.0.5, drupal/civicrm_entity 3.3.0, civicrm/civicrm-core 5.56.1 : `Error : Call to undefined method Drupal\...
  • 21
0 votes
1 answer
31 views

How to enable a specific role to edit own content in CiviCRM Contact Form?

How to allow a specific Drupal role to modify its own content in the CiviCRM Contact form (civicrm-contact/%user)? I don't see any permissions like "edit own content" for type nodes in admin/...
  • 21
1 vote
0 answers
34 views

CiviCrm installation error on Drupal 9

After installation of the 'drupal/civicrm_entity:^3.3'. I got error 500. When I tried "update.php" get the following error. Warning: require_once(DB/DataObject.php): failed to open stream: ...
  • 11
0 votes
1 answer
22 views

Add new format to civicrm_entity

I would like to add a new format to civicrm_entity. I have tried to create an issue and patch in Github, but I am not experienced so I am stuck what to do next. Is anyone able to give me a push? https:...
0 votes
1 answer
44 views

How can I write custom entites/ actions for api v3 - usage of api v4 for scheduled jobs

I want to define some scheduled jobs so that old data is deleted from time to time. For example contacts in trash, mailings older than X year, drafted mailings never sent... For scheduled jobs I need ...
1 vote
1 answer
50 views

Include a CiviCRM role into Drupal View (custom dashboard)

I want to create a custom Dashboard with Drupal Views to substitute the built-in CiviCRM dashboard (because CiviCase dashboard shows cases for invisible contacts ). I want to set a contextual filter ...
  • 431
1 vote
2 answers
60 views

List all members by zipcode or city

I want to list all members by zip-code or city. Then the resulting page to be editable & linkable. Also, want the resulting page to have "exposed filter" where someone can choose a city ...
  • 205
1 vote
0 answers
25 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 ...
  • 912
3 votes
1 answer
261 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 ...
  • 530
3 votes
3 answers
72 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
1 answer
24 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
1 answer
52 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 ...
  • 912
0 votes
1 answer
36 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 ...
  • 2,466
1 vote
1 answer
27 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 ...
  • 51
3 votes
2 answers
70 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.) ...
  • 2,466
0 votes
1 answer
160 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
0 answers
18 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
0 answers
27 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" ...
  • 21
0 votes
1 answer
173 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
1 answer
35 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
1 answer
71 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,...
  • 2,466
1 vote
0 answers
37 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 ...
  • 89
1 vote
2 answers
87 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
1 answer
26 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
1 answer
47 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
1 answer
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
2 answers
90 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
1 answer
90 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 ...
  • 113
2 votes
2 answers
51 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 ...
  • 3,813
1 vote
1 answer
38 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 '...
  • 1,159
2 votes
1 answer
105 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 ...
  • 3,813
0 votes
2 answers
36 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
0 answers
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
1 answer
56 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 ...
  • 12.4k
4 votes
1 answer
94 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....
  • 161
0 votes
2 answers
333 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
2 answers
779 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
1 answer
55 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,466
2 votes
2 answers
103 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
1 answer
32 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 ...
  • 1,755
0 votes
1 answer
59 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
1 answer
109 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
1 answer
64 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? ...
  • 213
3 votes
2 answers
65 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
1 answer
90 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
1 answer
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 "...
  • 1,555
3 votes
0 answers
44 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 ...
  • 27.6k
3 votes
1 answer
29 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;...
  • 33
3 votes
1 answer
230 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 ...
  • 93
3 votes
1 answer
74 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 ...