Answers.Body: <p>If you install the <a href="https://www.drupal.org/project/civicrm_entity" rel="nofollow noreferrer">CiviCRM Entity module</a> you can put <a href="https://www.drupal.org/project/entityreference" rel="nofollow noreferrer">Entity Reference fields</a> on node types that can reference civicrm_case, civicrm_contact, and 40 other CiviCRM entity types.</p>
  
  <p>You can reference the data in Views, either individual fields or rendered view modes of the entity types.</p>
  
  <p>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.</p>
  
  <p>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. </p>
  
  <p>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. </p>
  
  <p>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.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-19T15:48:06.717Z
Answers.Text: @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.
Answers.UserDisplayName: RayWright
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-17T01:53:11.063Z
Answers.LastActivityDate: 2018-11-17T01:53:11.063Z
Answers.UserDisplayName: jackrabbithanna
Body: <p>I'm attempting to display a View Block with a CiviEntity (type: CiviCRM Case) on a Drupal Node using Display Suite (block field).</p>
  
  <p>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. </p>
  
  <p><a href="https://i.sstatic.net/FZExn.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/FZExn.png" alt="enter image description here"></a>
  <a href="https://i.sstatic.net/mvBuP.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/mvBuP.png" alt="enter image description here"></a></p>
  
  <p>Is there something I'm missing to be able to display a view based on CiviEntities on an existing Drupal node?</p>
  
Tags: <drupal><drupal-views><civicrm-entity>
Title: CiviCRM-Entity Case - view block on a Drupal node
ThreadText: # CiviCRM-Entity Case - view block on a Drupal node
  
  (Asked by: username_0 on 2018-11-16)
  
  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](https://i.sstatic.net/FZExn.png)](https://i.sstatic.net/FZExn.png)
  [![enter image description here](https://i.sstatic.net/mvBuP.png)](https://i.sstatic.net/mvBuP.png)
  
  Is there something I'm missing to be able to display a view based on CiviEntities on an existing Drupal node?
  
  **Tags:** drupal, drupal-views, civicrm-entity
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-11-17. Score: 1 | Accepted answer
  
  If you install the [CiviCRM Entity module](https://www.drupal.org/project/civicrm_entity) you can put [Entity Reference fields](https://www.drupal.org/project/entityreference) 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.
  
  > **Comments:**
  > **username_0**: @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.  
  
  ---
  
  