Background: This is not the first question asked around here. I thought I found a solution but nothing worked in the end.
I have 2 content type: Parent and Child
Child possess 2 Entity Reference(ER) fields, Section and Parent(ER)
Section is linked to a Parent node, Parent(ER) is linked to another Child node, allowing for 3 level of Hierarchy. I have created a Child node name NONE and use it as default for Parent(ER) to easily distinguish between level 2 and level 3 nodes.
I'm currently trying to build the menu for Child pages using multiple views providing data. Currently, I have the Parent(ER) section of said menu down, as it's pretty easy to build. The problem comes when I try to create the Siblings. Here is the requirement for this view:
I need to list all level 2 Child nodes (already dealt with using a conditional filter on Parent(ER) and checking for all pages with the NONE nid.
I need to remove the currently displayed Child node as it's already present in my other section over its children
I need to print ONLY child pages from the same section as the current node
I can't find the contextual filter/relationship combination to achieve my goal.
How can I achieve this?