Closed (fixed)
Project:
Views attach
Version:
6.x-2.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 May 2011 at 14:26 UTC
Updated:
30 May 2011 at 01:51 UTC
I've attached a gallery of images to a node of type artist. How can I hide, or not display a node, whose attachment is empty (in this case, there are no images to display). ie. I want to show all artists which have images, but hide all artists which have not images to show.
Comments
Comment #1
cgmonroe commentedI think you may need to look at the various "backreference" modules... nodereferrer might be a good starting point. This would let you have a field in your "artist" node that lists all "artwork" nodes that refer to it. Then you could probably filter your artist list by this.
Comment #2
iantresman commentedThanks for the lead. In case anyone is interested, here is the link:
and the following may help:
Comment #3
Crell commented