The problem is that there isn’t a Node Reference from the Parent back to B. I was considering using Corresponding Node References to make them all linked to each other, but it seems like there should be a more elegant solution. Thanks for the tip, though.
Joel
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Carl Wiedemann Sent: Wednesday, February 16, 2011 2:51 PM To: support@drupal.org Subject: Re: [support] Panels, views and arguments
You can probably get what you want using Views relationships. You should be able to create two relationships to get the reference from A->Parent, and then from Parent->B.
See http://gotdrupal.com/videos/drupal-views-relationships for an introduction.
On Wed, Feb 16, 2011 at 1:45 PM, Joel Willers joel.willers@sigler.com wrote:
I thought I had this one beat, but I’m afraid I can’t get it to work. I am creating a page that have a complex data structure. There is a parent content type and two children content types. While viewing child A, I want to be able to link have the nid of Child B.
I created a context view that, when passed the argument of the nid of child A, it returns the nid of the parent. I then created a view that I inserted into a panel, trying to use that context view as an argument, that, when passed the parent’s nid, returns the nid of the child B.
This gave me no results.
There seems to be a difference between the panel’s arguments and views contexts. Any suggestions?
Joel
-- [ Drupal support list | http://lists.drupal.org/ ]