How to retrieve a referenced type B node from type A node when both are placed within a block/panel in a type C node?

bohz - January 14, 2009 - 16:30

Hallo. newbie here.
I am sure some other fellows had this very problem, but in two weeks I was unable to find anything pointing me to the right direction. I apologize if this has already been answered.

Briefly, this is my question:

is there a way to call a specific type B node ID from a type A node or type B node reference field from type A node, when both nodes are placed in the content region of a third node (say the fontpage), within a block or panel?

More in detail:
I want to display the following content in the content-top region of the homepage:

a type A node beside the related (through node_reference) type B node.
I also would like to have a pager for type A node and the type B node to change accordingly.
In practice it's just like a webcomic site, but with an additional reference field on the side.

I have tried with:

A two-sided panel page with node_override recipe (left: type A node content, right: type B as [type A]node_reference field).
This displays the thing above correctly (although the images within type A are displayed as generic attachments), but I found no way to add a pager for the type A node part only (most probably because it is a node override panel page!)
Two views displayed side by side (left: type A node content, right: type B as [type A] node_reference field) within a mini-panel, panel node or block
this works only if I have both views with a pager and both pagers have the same pager element ID.

At the moment my only solution would be to remove the un-needed pager with CSS, but that's not elegant at all and I suspect that the reference between the two nodes is not a real reference in this context, since it is based only on pager IDs.
I guess I am a bit confused at this point...

Has anyone a better solution?

Thanks a lot!

 
 

Drupal is a registered trademark of Dries Buytaert.