By phoehne on
Hello,
im trying my first d7 project and i was happy to see that fields can be used not only on nodes like in d6.
so i created fields on taxonomys at example for holding the icons for the terms.
in the node template i would like to output these field(icon), but because it is not an node-field it isnt there. there i have only the taxonomy-term-reference field.
my question is how can i render the field of the term in this scenario.
Thank You
Peter
Comments
For each vocabulary just like
For each vocabulary just like there is a "manage fields" tab the is a "manage display" tab where you can determine which fields are shown.
ok in "manage display" are
two view modes to configure:
"taxonomy term page" and the default.
both are configured to output the image-field(since the beginning).
so this doesnt work.
but i also dont think its the right place for configuring the output in the node template.
because its not a field which is directly connected to a node, only indirect, a field (type tax_term_reference) which again has this field(type image) attached.
perhaps a more general question:
what would i have to do if i want to output a taxonomy-field at an arbitrary place in my code?
thanks
peter