Download & Extend

Node Reference formatters

Content-Type-Formatters.jpg

Node Reference formatters provides four additional display styles (formatters) for Node Reference CCK field.

Check this demo screencast

Fieldset
Standard Drupal collapsible fieldset where legend is referenced node title and value is node content in chosen format.
AHAH link
Button with #ahah property and value of referenced node title. When user clicks on it referenced node is called dynamically via AHAH callback which is in Drupal core.
jQuery clueTip
Utilizes jQuery clueTip plugin, nice dynamic (ajax) content loading in a tooltip when user hovers mouse on the link.
Thickbox
Loads referred content into thickbox, requires this module installed.
http://drupal.org/project/thickbox

jQuery clueTip plugin must be separately downloaded here: http://plugins.jquery.com/project/cluetip
Note that clueTip requires jQuery dimensions plugin and optionally integrates with jQuery hoverIntent plugin but they're both shipped along in the same archive. Once you download clueTip you can put it wherever but you have to define it's path on the Node Reference formatters settings (admin/settings/nodereference_formatters'). Default path sites/all/plugins/jquery.cluetip/jquery.cluetip.js is recommended as from this location you can easily use it for all other possible needs and for multi-site installations. jQuery clueTip plugin has many options and it's quite easy to configure. For more information, demo and API check this page: http://plugins.learningjquery.com/cluetip/
For more details about setup and installation see README.txt file.

Administrators may define those three styles on Display fields tab for particular Node Reference field.
Additionally each of three styles has options for displaying: Full node, Teaser or Custom. Custom style is provided as an extra option for themers and is supposed to be overridden in template.php file, therefore node object is available in appropriate functions which are: theme_nodereference_formatters_fieldset_custom($element), theme_nodereference_formatters_ahah_custom($element), theme_nodereference_formatters_cluetip_custom($element).

Downloads

Recommended releases

Version Downloads Date Links
6.x-1.2 tar.gz (10.63 KB) | zip (12.63 KB) 2009-Apr-14 Notes

Development releases

Version Downloads Date Links
6.x-1.x-dev tar.gz (10.71 KB) | zip (12.49 KB) 2011-Feb-25 Notes

Project Information


Maintainers for Node Reference formatters

  • nk_ - 5 commits
    last: 4 years ago, first: 4 years ago

Issues for Node Reference formatters

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Statistics (2 years)
New issues
Open bugs
Participants
nobody click here