Project:Content Taxonomy
Version:6.x-1.0-rc1
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hi, how can I access content taxonomy field value name/names?

<?php
print_r
($node->field_country[0]['name']);
?>
- doesn't work

I'd really appreciate your response

Comments

#1

Status:active» fixed

Try:

<?php
print $node->field_myfield[0]['view'];
?>

Or:

<?php
$term
= taxonomy_get_term($node->field_myfield[0]['value']);
print
$term->name;
?>

#2

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here