I'm trying to add CCK fields to the "ancestors" view.
in the theme_relativity_ancestor() function, I found:
$ancestor_box .= l(t($ancestor_node->title), 'node/' . $ancestor_node->nid, array('class' => 'relativity_view_' . $ancestor_node->type));
And I modified to include a cck field "field_title":
$ancestor_box .= l(t($ancestor_node->field_title[0]['safe'] . " " . $ancestor_node->title), 'node/' . $ancestor_node->nid, array('class' => 'relativity_view_' . $ancestor_node->type));
It adds the space (" ") where I would expect, but no "field_title"
I also tried to load the ancestor_node into another variable:
$test_ancestor_node = node_load($ancestor_node->nid);
$ancestor_box .= l(t($test_ancestor_node->field_title[0]['safe'] . " " . $ancestor_node->title), 'node/' . $ancestor_node->nid, array('class' => 'relativity_view_' . $ancestor_node->type))
I'm new so I'm kinda floundering.. Any help is good.