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 options for the type of entity, if I choose any of the Civi Entities (Civicrm Case, Civicrm Contact, etc.) they will not show up in the 'Manage Display' section of node setup.

enter image description here enter image description here

Is there something I'm missing to be able to display a view based on CiviEntities on an existing Drupal node?

1 Answer 1


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 data in Views, either individual fields or rendered view modes of the entity types.

Your question doesn't quite make sense to me, so if you could elaborate about what you are trying to do a little bit or provide a screenshot or two, it could be helpful.

You can definitely use and add Display Suite Blocks. For instance, you can create a Display Suite block, check the civicrm_contact checkbox for the "Entities" field. Then down toward the bottom of the form, select which block you want to show on the Drupal contact pages, at paths, "/civicrm-contact/[contact_id]" where [contact_id] is the numeric id of a contact.

You have to first add the block to the display of the contact page, the full content view mode, at "/admin/structure/civicrm-entity/civicrm_contact/display/full". To make the Display Suite Block available as a field, you have to enable a Display Suite layout for the full content view mode. You then place it in a layout region, and save, and it will show on all contact pages.

I'm a bit confused what you mean by showing civi case or contact blocks on nodes..You can use entity reference fields to reference cases or contacts from a node, which would mean you wouldn't need to use Display Suite Block fields, or you can create Views base blocks listing cases or contacts, and then choose them in your Display Suite Block field settings, and check "Node" for the "Entities" field.

  • @jackrabithanna I do apologize, I'm just getting into CiviEntity - I tried not to over-complicate my question (I did add photos for clarity). Your response has helped me better understand a few things - on the display suite block field form, when I select entities, that's the entity I'd like the Block field to be available on. So if I want a View I've built with a civi entity available on a Node - I'd simply select Node. That's the answer to this specific question and I'll mark it so. Something in my set up is still not working as I'd expected but I think a separate post may be clearer.
    – RayWright
    Nov 19, 2018 at 15:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.