Modify Reference on Taxonomy Field Output I want to modify the output of a 'Reference on Taxonomy Field'.
I created a 'Reference on Taxonomy Field' in a content type that relates to terms in a vocabulary that have a title and a picture.
The content type is displayed by a view that outputs the fields of the content type. I added the field and created the template file views-view-field--kategorieseiten--page--field-produkteigenschaften.tpl.php and it works.

It should be displayed like this:

&lt;a rel="tooltip" data-placement="bottom" target="_blank" data-original-title="TERM_TITLE"&gt;OUTPUT_OF_THE_TERM_PICTURE&lt;/a&gt;


The problem is that I don't know how to address the fields from the taxonomy term, since they are not directly stored in the node.

Thanks for your help!
I managed to load the fields of the taxonomy term with this code:

&lt;?php

/**
 * @file
 * This template is used to print a single field in a view.
 *
 * It is not actually used in default Views, as this is registered as a theme
 * function which has better performance. For single overrides, the template is
 * perfectly okay.
 *
 * Variables available:
 * - $view: The view object
 * - $field: The field handler object that can process the input
 * - $row: The raw SQL result that can be used
 * - $output: The processed output that will normally be used.
 *
 * When fetching output from the $row, this construct should be used:
 * $data = $row-&gt;{$field-&gt;field_alias}
 *
 * The above will guarantee that you'll always get the correct data,
 * regardless of any changes in the aliasing that might happen if
 * the view is modified.
 */
?&gt;

&lt;?php $taxonomy_term = taxonomy_term_load(54); ?&gt;
&lt;a rel="tooltip" data-placement="bottom" target="_blank" data-original-title="&lt;?php print $taxonomy_term-&gt;name; ?&gt;"&gt;&lt;img src="&lt;?php print $taxonomy_term-&gt;field_icon['und'][0]['filename']; ?&gt;"&gt;&lt;/a&gt;




But I want to load the terms dynamically from the tid stored in this field:



The field 'field_produkteigenschaften' is part of the content type and is stored in the node object.

How do I now address the tid stored in the field 'field_produkteigenschaften' in this template?