Questions tagged [civicrm-entity]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
22 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 ...
user avatar
1 vote
1 answer
38 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 ...
user avatar
  • 431
1 vote
2 answers
49 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 ...
user avatar
  • 195
1 vote
0 answers
23 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 ...
user avatar
  • 837
0 votes
0 answers
24 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 ...
user avatar
3 votes
1 answer
133 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 ...
user avatar
  • 530
3 votes
3 answers
67 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
user avatar
0 votes
1 answer
23 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 ...
user avatar
1 vote
1 answer
44 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 ...
user avatar
  • 837
0 votes
1 answer
26 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 ...
user avatar
  • 2,416
1 vote
1 answer
26 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 ...
user avatar
  • 51
3 votes
2 answers
50 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.) ...
user avatar
  • 2,416
0 votes
1 answer
110 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, ...
user avatar
0 votes
0 answers
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?
user avatar
1 vote
0 answers
20 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" ...
user avatar
  • 11
0 votes
1 answer
114 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 ...
user avatar
1 vote
1 answer
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 ...
user avatar
1 vote
1 answer
67 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,...
user avatar
  • 2,416
1 vote
0 answers
31 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 ...
user avatar
  • 89
1 vote
2 answers
74 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 ...
user avatar
1 vote
1 answer
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?
user avatar
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' ...
user avatar
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 ...
user avatar
1 vote
2 answers
80 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 ...
user avatar
2 votes
1 answer
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 ...
user avatar
  • 103
2 votes
2 answers
50 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 ...
user avatar
  • 3,664
1 vote
1 answer
36 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 '...
user avatar
  • 1,157
2 votes
1 answer
99 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 ...
user avatar
  • 3,664
0 votes
2 answers
34 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 ...
user avatar
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 ...
user avatar
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 ...
user avatar
  • 11k
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....
user avatar
  • 161
0 votes
2 answers
270 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?
user avatar
6 votes
2 answers
727 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' ...
user avatar
2 votes
1 answer
53 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 ...
user avatar
  • 2,416
2 votes
2 answers
90 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 ...
user avatar
1 vote
1 answer
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 ...
user avatar
  • 1,685
0 votes
1 answer
58 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 ...
user avatar
0 votes
1 answer
101 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 ...
user avatar
2 votes
1 answer
59 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? ...
user avatar
  • 213
3 votes
2 answers
61 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 ...
user avatar
2 votes
1 answer
88 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' ...
user avatar
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 "...
user avatar
  • 1,350
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 ...
user avatar
  • 27.2k
3 votes
1 answer
27 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;...
user avatar
  • 33
3 votes
1 answer
223 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 ...
user avatar
  • 93
3 votes
1 answer
69 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 ...
user avatar
3 votes
1 answer
168 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 ...
user avatar
5 votes
1 answer
257 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 ...
user avatar
3 votes
3 answers
126 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 ...
user avatar