Closed (works as designed)
Project:
Content Construction Kit (CCK)
Version:
6.x-2.x-dev
Component:
nodereference.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Jun 2009 at 12:26 UTC
Updated:
20 Feb 2012 at 03:27 UTC
Comments
Comment #1
vthirteen commentedsubscribe
Comment #2
3dloco commented+1
Comment #3
nodecode commentedSubscribing. I'm coming from this related issue: http://drupal.org/node/726836
Comment #4
boogsbobo commentedsubscribing
Comment #5
nodecode commentedhas there been any movement on this? i'm not sure how complicated this would be but it would be a welcome UI change.
Comment #6
Exploratus commentedSubscribe. I agree. People dont know what to do when there is no referenced content.
Comment #7
technikh commentedhas anyone found solution to this?
Comment #8
smokrisI think this issue may indicate a misunderstanding of how Node References affect the underlying Views behavior.
If you have a View that's selecting certain Nodes, and those Nodes exist, then the empty text isn't used. It doesn't matter which Fields you have selected, or whether those Fields have any content.
If you'd like to make a View that displays selected Nodes' referenced Nodes if they exist, and empty text if the selected Nodes don't have any referenced Nodes, use Views Relationships instead of Views Fields. Set up a Relationship for the Node Reference Field, and make the Relationship required. Then add a Field using the Node Reference Views Relationship. (Tested and working on cck-6.x-2.9.)