Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
My content has the following references:
A -> B
B-> C
C -> D
A -> 1
1 -> 2
2 -> 3
I have created a View in nodes to show the references of the current view.
I only want to show the top most parent reference plus its siblings.
So if you were on page D or Page 3, the view would just show A.
Is this possible?
Also is possible to control how far up the relationship is displayed.
For example, can you chose to only show the top most parent, but offset it by one, so you can show all the references that come immediately after the top most parent?
Thanks!
Comments
Comment #1
lsolesen CreditAttribution: lsolesen commentedPlease include an export of your view, so we can see what you tried so far.
Comment #2
socialform CreditAttribution: socialform commentedI think you can go as far up or down the hierarchy as you want... just keep adding relationships in the manner below.
Solution here: Views and Entity Reference
Comment #3
MustangGB CreditAttribution: MustangGB commented