jackrabbithanna
  • Member for 6 years, 10 months
  • Last seen more than a week ago
How to restrict access to only one Contribution Page
2 votes

Here's a quick and dirty drupal-ly way of doing it, but I still wonder about a CiviCRM specific methodology. function civicrm_custom_access_civicrm_buildForm($formName, &$form) { global $user; ...

View answer
CiviCRM Entity and editing or viewing activites
1 votes

With CiviCRM Entity, there is a Drupal form for editing activities /civicrm-activity/[activity-id]/edit Unfortunately the form does not limit to only those custom fields that are appropriate for the ...

View answer
Does Drupal 7 "CiviCRM Entity" online event registration generate confirmation email?
1 votes

Assuming you used the Price Set Entity field to get the registration form. The confirmation email was never fleshed out totally. There are also 2 Rules Events you can react to: "Event ...

View answer
How to get Views to work in CiviCRM on Drupal9 with separate CiviCRM database
1 votes

Do it exactly like was done in Drupal 7.. You should be able to goto path: civicrm/admin/setting/uf?reset=1 And then copy the integration code for the settings.php or settings.local.php from the "...

View answer
post hook edit entity
1 votes

If you are using Drupal, you can use the Drupal static cache infrastructure to break the cycle. In this particular example, the static cache is only available for one page load / http request. You can ...

View answer
CiviCRM-Entity Case - view block on a Drupal node
Accepted answer
1 votes

If you install the CiviCRM Entity module you can put Entity Reference fields on node types that can reference civicrm_case, civicrm_contact, and 40 other CiviCRM entity types. You can reference the ...

View answer
Rule to create a Linked Drupal user account for a specific CiviCRM Contact Subtype
1 votes

I'm assuming you are also using the CiviCRM Entity module? For it to work on membership create, you need to load the contact entity from the membership->contact_id property. Use the "Fetch entity ...

View answer
How display event for anonymous user with Rendered Entity
Accepted answer
1 votes

So out of the box, CiviCRM Entity enforces that user has a role with 'view event info' permission to see the rendered entity. In your case, you could probably just grant anonymous users that ...

View answer
Drupal Core Search to show results from CiviCRM Events data along with drupal content results
1 votes

Good Question! I have three different ideas for answers to this questions, but I'll lump them all here. First off, we've used Search API module with CiviCRM Entity with success a number of times. If ...

View answer
CiviCRM Entity display shows email addresses - should only show display name
Accepted answer
1 votes

This was considered a feature by some folks, other folks maybe not. You need a small custom module to change this... It should implement hook_entity_info_alter(&$entity_info) https://api.drupal....

View answer
Drupal Rules are not working properly when check CiviCRM Contact's Subtype
1 votes

I remember this issue from some time in the past, probably been on stackexchange here before. In the end, we developed a new Rules condition, provided by the CiviCRM Entity module, "CiviCRM Contact is ...

View answer
Disappearing CiviCRM menu and Network Error
1 votes

I've seen this occasionally after an upgrade. If you use memcache, restart the MySQL service. Also sometimes php opcache or APC needs clearing, try restarting your web server service, apache or nginx

View answer
What is the better CiviCRM Administration theme on Drupal to apply shoreditch extension?
1 votes

Shoreditch uses bootstrap so you might try the Drupal bootstrap theme, or a subtheme that is based on it.

View answer
Bulk Delete of Spam Contacts and related Drupal Users
1 votes

Since you are using Drupal, you can install the CiviCRM Entity module, and use Views Bulk Operations to create a View that will delete contacts, or any CiviCRM data in a Drupal Batch API process

View answer
How to get new or updated CiviCRM entities (Memberships) indexed by Drupal Search API?
Accepted answer
1 votes

The module Civicrm Entity Search API which comes with CiviCRM Entity now supports this, as of 2.0-beta10. Russ took my comment and contributed back to the project. Thanks Russ!

View answer
Backbone javascript conflict causing Configure Event / Repeat to fail
1 votes

The root cause of this is that civi uses backbone.js, but not in no-conflict mode. There is an issue open at https://issues.civicrm.org for this. Once that issue is resolved, this plugin will start ...

View answer
Dependant autocomplete civicrm
1 votes

CiviCRM Entity you can reference contacts, like from nodes with the Entity Reference module...To get the UI you describe, should try the Dynamic dependent fields module, with its submodule DDF Entity ...

View answer
How to create a Drupal rules condition that checks CiviCRM contact's Group or Tag or Subtype
Accepted answer
1 votes

Well to answer this question, basically I had to write a couple of new Rules conditions. They have been added to the CiviCRM Entity project, right now they are in the -dev version. I added two new ...

View answer
Using CiviCRM API in Drupal View
1 votes

As far as your API call there goes...I don't see an 'id' => $row->price_field_id in there. You'll need to query by id to get the value for each individual price field. I'm not exactly sure what the ...

View answer
Display CiviCRM Price Set end date in view
1 votes

If you install the CiviCRM Entity Views Extras module you will be able to add a Views relationship to access the price field fields in your view

View answer
how to automatically creates a relationship
1 votes

You would need to write a custom extension or module. in this extension or module, implement hook_civicrm_post()... Drupal module's are the simplest, if you are integrating with Drupal that is so ...

View answer
Unable to filter contributions by date in Drupal with views and civicrm_entity
Accepted answer
1 votes

This is working in beta6 of CiviCRM entity...probably before, can't remember exactly when I fixed this. Relevant D.O issue https://www.drupal.org/node/2570319

View answer
Adding Referenced civicrm_entity contact in node with email, address and phone doesnt work
1 votes

So I've done some development to enable CiviCRM Entity Reference (CER) fields that target CiviCRM Contacts, either via the Drupal contact edit form "/civicrm-contact/add" or via an entityreference ...

View answer
How to create Drupal View of Participants with custom fields
1 votes

Create a new view. Give the view a name Show CiviCRM Participants Create a page view perhaps, make sure there is a path Continue Add some fields, maybe you want the contact display name for ...

View answer
Security Vulnerability in Dashboard CiviCRM 4.6 for Drupal 7
1 votes

You should look at the comment by cividesk, and make sure that if you uncheck the setting on Evan's relationship record to be able to edit the spouse contact, that Evan can't edit the spouse record. ...

View answer
View With CiviCRM Line Items
1 votes

The LineItem entity is now exposed by CiviCRM Entity as well. This gives line items exposure to Views. I think all you are missing is some relationships to connect the event participant ...

View answer
View With CiviCRM Line Items
1 votes

There's also this extension that may suit your needs: https://github.com/Skvare/com.skvare.lineitemreport

View answer
Sort issue with CiviCRM Entity Reference on a Drupal node
1 votes

When you install Entityreference, you get a Views Display, 'Entityreference' You can create a Entityreference view, and use that View to choose what the options are for your entityreference field ...

View answer
Inconsistency with date fields in the API
1 votes

We've worked this out to handle form creation for civicrm fields in the CiviCRM entity project. https://drupal.org/project/civicrm_entity We use the 'type' property returned from a getfields api call ...

View answer
What could trigger a transaction rollback on contact save?
0 votes

No errors of any kind, it's just when you get back to contact summary, the data hasn't changed? Strange if that's the case, you'd expect an exception to be thrown. Are those queries you posted the ...

View answer