|Project:||Content Construction Kit (CCK)|
In Drupal 6.3, I have created a custom type called Restaurant and another called Review that has a nodereference to a Restaurant node. Based on http://drupal.org/node/65133, I expected that the $referencing_node variable available to the nodereference field would be populated with the node object of the parent Review node. That way, I could determine the context of the child Restaurant node being referenced and theme it as desired. However, examining what variables are available shows that $referencing_node (and $referencing_field) is empty. What is going on here?