Download & Extend

Patch to display taxonomy terms

Project:NodeReferrer
Version:6.x-1.0-rc2
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

Thank you for this great module. I needed to add a new formatter because I wanted to display the taxonomy terms of the referrer in a view. This might also be useful to other people who want to do the same thing, so I created a patch to add a Node Taxonomy Terms formatter that outputs a comma-separated list of all taxonomy terms associated with the referrer node.
It would be great if you could commit the patch to the official release. Thanks again.

AttachmentSize
taxonomy_formatter.patch1.27 KB

Comments

#1

Status:active» needs review

Greate enchancement

+++ nodereferrer.moduleundefined
@@ -237,6 +242,12 @@
+    'nodereferrer_formatter_taxonomy' => array(
+      'arguments' => array('element' => NULL),
+    ),
+    'nodereferrer_field_taxonomy' => array(
+      'arguments' => array('element' => NULL),

What is a difference between this formatters?

Powered by Dreditor.

#2

To be honest I don't know if nodereferrer_formatter_taxonomy is needed. All of the other formatters were implemented in this way, i.e. with a nodereferrer_formatter_xxx and a nodereferrer_field_xxx. I just did the same for my taxonomy formatter, but I didn't take the time to see if nodereferrer_formatter_taxonomy is necessary. Is it?