Recipe 55: Views Fusion
Note
Ingredients
Recipe 31, Steps 1–6
Views Fusion module: http://drupal.org/project/views_fusion
Node Reference Patch: http://drupal.org/node/123482
In Recipe 31 (Chapter 3) we created two content types: Artist and Poster. Each artist may produce zero, one, or more posters. We used a Node Reference field in the Poster content type—populated by a simple view—to associate an artist with each poster. Finally, we created a node-artist.tpl.php
template file, which displayed specific artist information, along with their posters. In Recipe 55, we also display the two content types at once, but the approach is quite different—with the Views Fusion module, we can actually combine two views into one. Essentially, we will be creating, and then joining the posters and artists views.
Patch the Node Reference module
At the time this recipe is being written, a patch is required to the Node Reference module. A few caveats apply. First, check to see if the patch has already been applied...