Recipe 29: Using the Node Reference module
Note
Ingredients
Content module: http://www.drupal.org/project/cck
Date module: http://www.drupal.org/project/date
Date API module (installed with Date, above)
Date Timezone module (installed with Date, above)
Link module: http://www.drupal.org/project/link
Node Reference module (installed with Content, above)
media_hit content type
press_release content type
The Node Reference module doesn't sound—at first—like it would have anything to do with Views. After all, it sounds like a module that would have something to do with referring to individual nodes. That's exactly what it does, enabling a field for referencing one node from another. In this example, we create a drop-down to link a News Hit to the Press Release that generated it. The press releases included in the Node Reference drop-down are determined by a View.
Enabling the modules
Go to
/admin/build/modules
. Enable the Content module if it isn't already enabled. Enable the Node Reference, Date, Date...