Would be great to have a panels 3 selection rule available so we can say, "show this panel if the node being viewed is referenced by another node via field ." I've created a patch and I'll post it in the next post.

CommentFileSizeAuthor
#3 935438_3.patch4.81 KBsammys
#2 935438_2.patch4.8 KBsammys
#1 935438_1.patch4.16 KBsammys
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sammys’s picture

FileSize
4.16 KB

Here is the patch.

sammys’s picture

FileSize
4.8 KB

Oops... forgot to include the patch to reverse_node_reference.module. Here is an updated patch.

sammys’s picture

FileSize
4.81 KB

Fixed the summary so it reads better.

markus_petrux’s picture

I'm going to say the same as in #978168: Add ctools/panels relationship

Thanks. It's a good idea, though...

I'm afraid to add more features to this module than the strictly related extension to Views that was not possible to add to CCK itself, because that needs to be compatible with the same MySQL base as Drupal.

Another possible approach to this would be to include this feature in the Node Relationships module.

I would like to hear thoughts on this, and if appropriate, feedback related to the patch itself.

markus_petrux’s picture

Status: Needs review » Closed (won't fix)

Sorry, this is out of scope here. This module simply covers an issue with Node Reference fields and Views. and the reason this was not implemented in CCK itself is it requires a particular version of MySQL, which is a requiremente CCK does not have.