4

I am using entity reference to display some nodes. In manage display, I am rendering my entity reference content with teaser view mode. However, I need to display the first node different. I need the first one with a picture and the other ones I just need the date, text and a link. Something like in the picture.

First node with picture

1 Answer 1

7

I solved by using the module entity reference multiple display which let you to configure different view modes for your field reference. You can split in groups to achieve that.

You install the module and after it is enabled, you go to your content type and in manage display choose rendered entity with different view modes. I have attached a picture enter image description here

From then you can choose how many groups you would like to display in my case I just need two, the first one I needed to be displayed as view mode teaser and the second one I need no picture in the teaser and just need to display at most two elements in that group.

If anyone has another way to handle this please post your answer here.

enter image description here

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.