0

I have a view that pulls data from the Speaker content type, as well as from related sessions (Session content type contains an entity reference to the Speaker, so to get that "reverse lookup" I'm using the "A bridge to the Content entity that is referencing Content via field_speaker" relationship type to get the Content: Title from the session nodes.)

This all works, but I can't get the view to display the way I want when a speaker has more than one session. I've tried grouping by speaker name (Content: Title on the speaker node) and get this:

enter image description here

What I want is this:

enter image description here

Here's the basic view setup:

enter image description here

Can this be done just in the Views UI, or do I need to start fiddling with templates?

  • This is almost identical to the question I just asked. – beth Jun 11 '12 at 15:13
  • Sorry; I had started writing this post on Friday and just got around to submitting it - I didn't refresh the questions page so didn't see yours. – EmmyS Jun 11 '12 at 15:25
  • @EmmyS, is there an option within the Session field configuration for Group multiple values? This is not grouping them in the Format section, but rather in the field configuration – Johnathan Elmore Jun 11 '12 at 15:26
  • @JohnathanElmore - no, there's not. I've only ever seen that on a taxonomy field. This is a reverse entity relationship, so a single session node can have two or three or more entity references to various speakers. What I need to do is display all of the sessions that have an entity reference to each speaker displayed in the view, which I can, but cannot get them grouped properly. – EmmyS Jun 11 '12 at 15:30
  • Is it possible the problem is Entity Relationships? drupal.org/project/er Looks like it's not stable yet – Johnathan Elmore Jun 11 '12 at 17:40
0

Not sure but try grouping with all the fields that are common between this 2 like the job title should also be in group so that it will be display only once

  • Could you get more info, where I can use function "grouping all the fields"? – tomas.teicher Aug 22 '14 at 13:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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