To demonstrate the usage of the Node Location Relationship module follow these steps:


NOTE: experienced users need only follow the numbered steps.

1) create a Venue content type with a location

  1. Set the name to "Venue" and the type to "venue".
  2. Scroll to the heading "Locative information" (if necessary click this heading to expand it)
  3. Under the heading "Number of locations" (if necessary click this heading to expand it) change "Minimum number of locations" to 1, "Maximum number of locations" to 1 and "Number of locations that can be added at once" to 1.
  4. Click "Save"

2) create a Conference content type with a nodereference that refers to Venue nodes
  1. Set the name to "Conference" and the type to "conference".
  2. Click "Save"
    you will now be at the "Content types" page listing all available content types
  3. Find the row for "Conference" and click on the "manage fields" link
  4. Add a new field with the label "Venue", the name "venue", the type "Node reference" and make it a "Select list" widget.
    you will now be at the "Venue" field configuration page
  5. Under the heading "Content types that can be referenced" check the option "Venue"
  6. Click "Save field setting"

3) create sample content with types Conference and Venue.  Be sure to fill out the location on each Venue you create.

4) create a new view using the "Node Location: Reference" relationship

  1. Set the "View name" to "conference_by_venue"
  2. Set the "View type" to "Node"
  3. Click "Next"
    you will now be at the edit view page
  4. Add a relationship
    1. In the heading for the "Relationships" box click the "+" icon
    2. Check the "Node Location: Reference" option
    3. Click "Add"
    4. Check the "Require this relationship" option
    5. Set "Node reference field" to "Venue (field_venue); appears in Conference"
    6. Click "Update"

  5. Add node title and location address fields
    1. In the heading for the "Fields" box click the "+" icon
    2. Check the "Node: Title" option
    3. Check the "Location: Address" option
    4. Click "Add"
      you should now see the "Defaults: Configure field Location: Address" form
    5. Set "Relationship" to "Referenced lid"
    6. Click "Update"
      you should now see the "Defaults: Configure field Node: Title" form
    7. Click "Update" 

The preview should now update and show a list of addresses and titles