 readme  node relationships id readmetxt v 11212 20100514 042329 markuspetrux exp original author markuspetrux http drupalorg user 39593 contents of this file overview requirements installation description developers credits overview the node relationships module provides methods to complete two way relationships between content types enhancing the features of node reference fields it provides the following features enhancements for node reference fields search and reference view single and multiple selection based on dynamically configured views create and reference and translate and reference when the drupal core translation module is enabled with additional support for internationalization module these features use the modal frame api to provide popup dialogs from buttons attached to node reference fields configured to use the autocomplete widget automatic back references using dynamically configured views that are able to extract the relations from existing database information this views can be rendered using a myriad of methods in the node view the node relationships module provides default views for each feature that can be modified and or cloned recommended should you need to add more fields filters or change any other option to suit your needs basic entity relations diagram erd that can be used to view the relations of each individual content type the provided diagram can be used to walk the relationships of all types in the system requirements cck and node reference http drupalorg project cck views http drupalorg project views modal frame api http drupalorg project modalframe jquery ui module with jquery ui library 17x http drupalorg project jqueryui installation be sure to install all dependent modules copy all contents of this package to your modules directory preserving subdirectory structure go to administer site building modules to install module review the settings of your nodereference fields to make sure related content types are explicitly specified in the option content types that can be referenced note that this is optional when you are using a view for your nodereference fields but this information is required by the node relationships module now you can start browsing the relationships tab available in the administration section of all content types next to the manage fields and display fields tabs provided by cck description the node relationships module provides methods to complete two way relationships between content types enhancing the features of node reference fields it provides the following features node reference extras this module provides several enhancements for node reference fields configured to use the autocomplete widget search and reference view create and reference translate and reference view referenced node on new window when these options are enabled a new button for each one will be rendered in the node edit form next to the corresponding autocomplete widget of the node reference field these buttons will open a popup dialog where each feature is available for nodereference fields defined with multiple values a new button will be available next to the add more items button that can be used to search and reference several nodes at a time the search and reference feature uses a view that is dynamically configured so that a single view can be reused by several node reference fields a default view is provided with basic fields and pages for table or grid styles you can modify and or clone recommended this default view to add more field filters etc a filter per node type is dynamically created to match the content types that can be referenced option in the global settings section of the node reference field note that you should configure this option explicitly even if you use a view for the node reference field the translate and reference feature is available when the drupal core translation module is enabled and additional support is provided when the internationalization module is enabled when the translate and reference option is enabled for a particular node reference field references that already have translations will be automatically assigned to the values of node reference fields when a node translation is started for those that do not have translations a message will be displayed on the create translation form to warn the user a translation is missing and an option to translate and reference will be provided automatic back references this module provides a method to display back reference views on referred nodes back reference definitions are taken from the content types that can be referenced option in the global settings section of node reference fields note that you should configure this option explicitly even if you use a view for the node reference field these back references do not need additional data stored in the database instead views with the proper relationships are used to join the node reference field data with the corresponding nodes in the database these views can then be used from the referred content types to provide a list of referrer nodes the node relationships module provides a default view that you can modify and or clone recommended should you need to add more fields filters or change any other option to suit your needs each back reference can be displayed using one of several methods to render the corresponding view in the referred node itself field page and tab field when a back reference is configured as a field the node relationships module creates a cck field automatically that provides the view output and you can drag n drop this view to any position from the manage fields panel of the content type note that no input widget is provided for this kind of fields only the view output is provided available field formatters back references view renders the customized view as usual back references count displays the count of back references page this method provides a fieldset where all back reference fields assigned to this region will be rendered this fieldset can be dragged to any position in the node using the manage fields panel of the content type tab this method provides an alternative to the page region but the back references are displayed on a new tab relationships added to the nodes where this option is enabled entity relations diagram this is a basic diagram of the relations of current content type with others referred from and refers to it can be used to walk the relationships of all types in the system this diagram is available per content type from administer content management content types type relationships developers aside from the options that can be configured for node reference fields back references views etc the node relationships module exposes a series of hooks that provide enhanced methods of programmatic configuration of the views and output generated todo document the hooks provided by the node relationships module credits this module has been sponsored by gamefilia http wwwgamefiliacom original versions of the icons can be found free from here http wwwfamfamfamcom  