I 've got a content type with a taxonomy field. The taxonomy term has fields of its own, an image and a description. How can I display these fields? The 'manage field' or 'display fields' does not allow me to configure this.
I made a view which could make a block with these fields, the block could appear on all node pages. When creating a view from content these fields are not available. I created a view of type "Term". Added the fields and the vocabulary as a filter. The fields now show up of for all terms in the vocabulary regardless of the terms associated with the node,
I want to show it only for the terms associated with the current node. So I added a 'contextual filter' > 'Taxonomy term: Term ID', chose 'provide default value' > 'php code' ... and got stuck. The following returns errors:
$node = node_load($nid);
$terms = field_view_field('node', $node, 'field_teachers');
How do I get the proper terms associated with the current node, so that in my view block only these show up?