Hello,
I have created a view using views- 7.x-3.0-alpha1 module and references 7.x-2.x-dev module. I have two content types community contributions and team members. I have created a node reference field to the team member node in community contributions cck. Now in a view I want all the titles of content type community contributions and one more cck field from the team members content type, for eg: member_website (which is not present in community contributions cck). So in the view I have set the views relationship and selected the node reference field from community contribution. Set the filter to content of node type community contributions. And in the fields selected node-> title and one more field member_website and selected the relationship. So the views gives output for the node titles but does not display anything for the member_website. I have set the style of the view to table format.
I found this post http://drupal.org/node/962694
But the patch given is already committed to the references module. Any idea why the view is not working. Am I missing something. I have also cleared the view's cache. Any help appreciated.
Thanks,
Prajakta
Comments
Comment #1
johnvYour description sounds fine.
views-7.x-3.0-alpha1 is buggy and outdated. Update to latest versions of Views and CTools, and you'll be fine.
Comment #2
prajaktam commented@johnv:
this solved my problem... Thanks a lot !!
-
Prajakta
Comment #4
ybabel commentedHum,
is it still working ?
I cannot use a relationship on a reference in views
It looking for a "field_data_field_featured.nid" but I only have "field_featured_nid" and "entity_id" in that table !!!
I think wheater it should use nid or field_feature_nid ????
which one is the good one ?
Comment #5
yched commentedFixed with latest commit in #1275096: Exception: SQLSTATE[42S22]: Column not found: 1054 Unknown column ... .