The contruction in Computed Code: $node->taxonomy does not render taxonomy data.
The same code renders data when placed in node.tpl.php
I succeeded to get the taxonomy data by accessing the database (taxonomy_node_get_terms_by_vocabulary($node, $vid, $key = 'tid')),
Is it also possible to get taxonomy data by using the array construction??
Comments
Comment #1
nicholas.alipaz commentedI too had this issue, thanks to bleeuwen I was able to figure out what was going on. I thought I was going crazy!
I did this to display the taxonomy where I wanted it:
I hope someone else gets some use out of that. BTW, I agree the terms should be accessible by computed fields.
Comment #2
bleeuwen commented