My problem fits in the title, but here is more explanation:
I am accessing $node->taxonomy in node.tpl.php, which works well when taxonomy_context module is not active. When it is active, $node->taxonomy is empty, which breaks my code.
Any explanation, or solution?
Thank you in advance.

Comments

nedjo’s picture

Category: bug » support

There is an optional setting by node type that resets the $node->taxonomy value and instead displays taxonomy information inline as part of the node body. It sounds like that setting has been set on your site. If so, you need to unset it at admin/settings/content-types/whateveryourcontenttypeis.

David Stosik’s picture

Thank you!
Okay, THAT was the problem, so now, if I want to use $node->taxonomy in my node.tpl.php, I will have to theme manually my taxonomy if I want to display it, right?

nedjo’s picture

Status: Active » Closed (works as designed)
charlie-s’s picture

I had to navigate to

http://www.example.com/admin/settings/taxonomy_hide

and uncheck "hide" for all of my taxonomy types. This page's description is misleading, as it leads the average Drupal user to think that this is going to be auto inserted into your node's content output when really it just "releases" it into the $node object and allows you to work with it if you'd like to.