We’re rewarding the question askers & reputations are being recalculated! Read more.

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
1answer
26 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
24 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
40 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
23 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
52 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
20 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
24 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
18 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
35 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
114 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?
5
votes
2answers
210 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
33 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
40 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
26 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
48 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
52 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
47 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
47 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
59 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
23 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 "...
2
votes
0answers
34 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
20 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
139 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
44 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
101 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
156 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
81 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
117 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
83 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
45 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 ...
0
votes
1answer
17 views

Can Drupal be used to send an email if an existing contact's name is changed

I'm wondering if it is possible to use the Drupal Rules module with CiviCRM Entity to send me an email when, for example, someone has taken an action (like made a donation) that updated the contact ...
3
votes
1answer
54 views

ProPublica Congressional API CiviCRM Module

Until 2014 there was active development on the Sunlight Congress API and there was and is a CiviCRM module that uses the Sunlight Congress API to make Congress data available to CiviCRM. ProPublica ...
1
vote
0answers
73 views

add new conditions in postProcess hook - Civicrm

I am writing an extension to enhance search builder. I am using myext_civicrm_postProcess hook and I've my 2 extra fields in builder form. I wanted to add only 2 more fields into existing search ...
1
vote
1answer
86 views

How to create a Drupal rules condition that checks CiviCRM contact's Group or Tag or Subtype

Using Drupal Workflow Rules with CiviCRM Entity to create a Drupal User after a new Civi contact is created. Rule works fine if the only condition is that a new Drupal user can be created for the ...
2
votes
1answer
40 views

CiviCRM Entities module makes error 500 to site

I'm doing a drupal installation 7.56 with CiviCRM. When I install the CIVICrm Entity module the site starts getting error 500. DOes anyone knows what to do? best regards Eduardo Catarino
-1
votes
1answer
69 views

Is there any step by step guideline to know CiviCRM for absolute beginner?

I have no idea about civicrm but I am confidant about php,wordpress. Now I am assigned the following task: Overview: Currently, when a membership is renewed in CiviCRM the “end date” field on the ...
2
votes
2answers
115 views

Difficulties generating an entity's DAO and SQL for a new extension

I have been trying to generate DAO and SQL files for an entity I created with civix generate:entity ... according to the documentation ("Add a new entity" - 4.d.). Using the latest civicrm-core clone ...
3
votes
1answer
58 views

How can I bulk update a collection of recurring contributions to set the next scheduled contribution to a specific date?

If you're using the iATS Payments Extension you control the schedules of recurring contribution from within your CiviCRM. You can already edit a given recurring series and change the next scheduled ...
3
votes
1answer
47 views

Adding Referenced civicrm_entity contact in node with email, address and phone doesnt work

i still building a drupal site with civicrm and civicrm_entity support and get stucked by adding form fields for adding synced contacts. a single contact is possible, but i need an email, phone and ...
1
vote
1answer
47 views

Is it possible to add new target type in drupal content type?

Is it possible to add new target type in drupal content type?
3
votes
1answer
68 views

What are `*.mgd.php` files for?

Browsing through a civix generated file I see it globbing for *.mgd.php files? What are these files all about then??
2
votes
1answer
45 views

4.7.14 Upgrade: Custom fields missing from views' filter criteria

Noticed this this morning after upgrading to 4.7.14 yesterday, so I believe there's a connection, but can't confirm 100%. I have a view that shows how many contact records (that have a custom field '...
1
vote
1answer
84 views

How to remove contact from group using CiviCRM Entity and Drupal Rules

It seems like it should be possible to use Civicrm Entity and Rules to remove a contact from a group, but I don't know how to fetch and change the status of the contact in the CiviCRM Group. The best ...
1
vote
1answer
166 views

Custom Field doesn't appear in Drupal views using civicrm entity module

I'm trying to use the Drupal module civicrm entity in views to render a custom field (Image) I created in contacts in civicrm 4.7.13, I did the views integration through settings.php and in views when ...
2
votes
1answer
102 views

CiviCRM Entity and ACL Permissions

We are a federated political organisation migrating to CiviCRM 4.6. I have integrated CiviCRM with Drupal views and civicrm_entity so we can create customised search pages for local organisers. I'm ...
0
votes
2answers
44 views

How can I fix an incorrect SQL field in Recurring Contribution View?

I'm trying to create a view that will tell our logged-in Drupal users when their next scheduled contribution is slated to happen. Everything is working well until I add the field "CiviCRM Recurring ...
1
vote
0answers
63 views

Using Drupal Rules to create a CiviCRM Contact - does not load entity ID

I'm trying to create a new Civi Contact for a new Drupal user when added by admin. I then want to copy over Drupal registration field values to the newly created CiviCRM contact. I'm getting stuck ...
1
vote
3answers
74 views

View With CiviCRM Line Items

I am trying to use Views to create a report to easily filter by an event and then see the specific line items for a registration. I cannot find a way to list the line items for a specific contribution....
1
vote
1answer
48 views

How to get list of memberships whose start date is between a date range?

I am trying to filter a list of memberships based on start dates. My filter consists of From date and To date. I want to get a list of memberships whose start date is between From and To date. I am ...
1
vote
2answers
49 views

modify API request using searchmodule_civicrm_apiWrappers

I'm trying to change the CiviCRM API getquick search to support legal name, but without a core override. (To remove the need for hacks). I have the following code: function ...