I have a new content type called 'A' which has a cck reference node field that makes reference to type 'B'.
I have a custom template that renders out all node types 'B' in a very specific way.. the problem is that for this template, I need to know who the current node belongs to.
type B will always have a parent (of type 'A').. but I have no way to know the nid of the parent.
Is this possible?
So in short, when $node->type == 'B' print $node->parent->nid???????????? how can this be done?