Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-3.x-dev
Component:
Views Data
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
26 Sep 2011 at 17:29 UTC
Updated:
7 Dec 2012 at 16:49 UTC
Comments
Comment #1
AndrzejG commentedYou can try to set 2 Relationships in the Views. First for parent, second for the title of siblings (using the first Relationships), as Views 3 support a chain of relationships. I use this technique extensively.
HTH.
Comment #2
haydeniv commentedNo follow ups so marking this fixed.
Comment #4
asb commentedSorry for reopening this issue; I have a similar problem, but I can't figure out what "First for parent, second for the title of siblings" (#1) is supposed to mean.
Example for what I'm trying to accomplish: A magazine has one or more issues; the "Issue" content type references to a node of the "Magazine" content type. On the node for "Issue #3" I'd like to display a block: "Other issues from the same magazine".
If I'd use taxonomy, I could do this with something like the 'Similar by Terms' module; If I'd use Views 2, I could use a relationship on a Nodereferrer field ("Node: Nodereferrer: by field", or "Node: Nodereferrer: by node type"). Since I'm not using taxonomy and Views 3 breaks 'Nodereferrer' Views' integration, I need another approach. However, all I get is either exactly one result ("Issue #3"), or none at all (e.g. argument on node reference field, argument plus relationship on node reference field, etc).
Would anyone share an approach how to resolve this? Thank you!
Comment #5
haydeniv commentedPutting this back to closed fixed because the solution to #4 is to upgrade to Views 3. I would also recommend upgrading your site to Drupal 7 as these types of relationships are much easier to do with the new entity system and Entity Reference module which has built in Views support.