Tell me more ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

I am trying to produce a tree of node teasers, where each teaser links to a node of content type "Bio," i.e., a map of a social network. I am trying to do this using nested views, with the goal of producing a series of nested lists in the rendered HTML. To do this, I have created a field called parent in the "Bio" content type, and I have set this to be an entity reference field using a drop-down list to display the titles of all nodes of content type "Bio." The intention here is to indicate, for each person, who their "parent" is in the social network.

When I create a view and try to filter it 1) by content type = "Bio" and 2) by the value of the parent field, I get no results. Removing the second filter causes the view to return everybody, adding it causes the view to return nobody. Any ideas as to why? I can't even start using Views Field View because my initial filter isn't returning any results.

Furthermore, I've done a lot of looking around and I can't seem to find much discussion on the best way to achieve nested views - the two main methods I've encountered are 1) the Views Field View module, and 2) using the taxonomy (I'm not very familiar with the implementation of taxonomies in Drupal, but I have not been tagging content because I'm not using any exposed filters). Are there best practices to be followed here? Using Drupal 7 and Views 3.

Thanks!

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.