Drupal 7 Version

This module exposes nodes referenced via the node_reference (References) module in two ways:

1.- Provides a field formatter to display as jQuery UI Tabs, the nodes referenced in a field. This allows to display this references as tabs, not only in a node page but also in any section that allows to display fields with an available formatter (views, panels, etc...).

2.- Also, if desired, the render arrays of the referenced nodes are available to themers in node.tpl.php, so that they can be printed easily as shown in the inline documentation:

<?php
/**
* Implementation of hook_preprocess_node().
*
* Adds the render array for each referenced node attached
* to the parent node:
* E.g. if you have a Node Reference field called field_foo and
* it has three values, the render arrays will be accessible
* to be printed in this way in a node template:
*
* print drupal_render($field_foo[0]['node_rendered']);
* print drupal_render($field_foo[1]['node_rendered']);
* print drupal_render($field_foo[2]['node_rendered']);
*
* Note that the content for a certain referenced node is available
* only if the user has access to this content.
*
* All options can be configured at:
* admin/config/content/nodereference_variables
*
*/
?>

Drupal 6 Version

The Drupal 6 version requires the tabs module in order to display the nodes as jQuery UI Tabs. The way in which a rendered node can be printed in the node.tpl.php is also different. The inline documentation can be seen in the module's code. (D6 version!)

Module created by Greg Harvey: http://www.drupaler.co.uk
Active maintainer is Salvador Molina Moreno: http://drupal.org/user/826088
And sponsored by Code Enigma: http://www.codeenigma.com

Downloads

Recommended releases

Version Downloads Date Links
6.x-1.1 tar.gz (9.4 KB) | zip (10.18 KB) 2009-Jul-02 Notes

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (10.4 KB) | zip (11.43 KB) 2012-Feb-08 Notes
6.x-1.x-dev tar.gz (9.74 KB) | zip (10.38 KB) 2011-Feb-25 Notes

Project Information


Maintainers for Node Reference Variables

  • thorin_edr - 3 commits
    last: 3 days ago, first: 8 weeks ago
  • greg.harvey - 3 commits
    last: 2 years ago, first: 2 years ago

Issues for Node Reference Variables

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 3 Jul 09