5 votes
Accepted

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

So a little research takes me to Totten's blog where he lays out the rational for splitting out entity definitions into seperate PHP files. The full definition of the array format is laid out in the ...
ErichBSchulz's user avatar
  • 1,571
3 votes
Accepted

CiviCRM Entity, Display tags name in contact

I need to add an option "Tag ID" in the Host Source Column field setting of the CiviCRM Entity Reference module to make this work. It won't take much to add it. Look in your code to the matching ...
jackrabbithanna's user avatar
1 vote
Accepted

Change output for address Entity Reference

Disclaimer: There may be newer/simpler ways of doing this now that SearchKit has a "autocomplete" display, but I have not experimented with it yet, and not sure if we can use it to override ...
bgm's user avatar
  • 3,401
1 vote
Accepted

Advanced Filter for an Entity Reference Custom Field doesn't filter by Contact Groups

The difference between the old ContactReference and the new EntityReference fields is that the former uses APIv3 and the latter uses APIv4. There are subtle differences in the parameters of each. If ...
Coleman's user avatar
  • 18.3k
1 vote
Accepted

How display event for anonymous user with Rendered Entity

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 ...
jackrabbithanna's user avatar
1 vote

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

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 ...
jackrabbithanna's user avatar
1 vote
Accepted

How to sync CiviCRM contacts with a Drupal content type

It depends what you are after. You can use CiviCRM Contact Reference Field and this gives you a field on Node that you can then pull in the civi data. Having done that you can then pull in other civi ...
petednz - fuzion's user avatar
  • 28.2k
1 vote

Sort issue with CiviCRM Entity Reference on a Drupal node

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 ...
jackrabbithanna's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible