Hello Darius,

Here is the patch for a parent-titlepath feature, it has a fix for the endless loop problem that
I encountered because of the modification of the _GET input array.

best regards,

Jacques

1282a1283,1320
>
> // Avoid messing up the node variable.
> $parent = $node;
>
> $titlepath = '';
> $level = 0;
> do {
> $parents = $parent->parent_node;
>
> // Make the one parent and multiple parents situations more similar.
> if (is_array($parents)) {
> $parents = $parents[0];
> }
>
> if (isset($seen[$parents])) {
> // Make sure we don't go into an endless loop when we hit
> // the beginning of the chain of parents. This is quite tricky
> // because during insertion of new nodes the _GET array has been
> // modified above which will cause any node that does not have a
> // parent node to show the *first* node as it's parent, effectively
> // forcing an endless loop. This test and the break here make
> // sure that can never happen.
> break;
> }
>
> // Remember which parents have already been seen to avoid looping for ever.
> $seen[$parents] = true;
>
> $parent = node_load($parents);
>
> // Compose the path by adding a "/" between every title.
> $titlepath = $parent->title . "/" . $titlepath;
>
> // And loop as long as there are higher level parents.
> } while (isset($parent->parent_node));
>
> $values['parent-titlepath'] = $titlepath;
>
1340a1379,1380
>
>
1374a1415
> $values['parent-titlepath'] = '';
1409a1451
> $tokens['relativity']['parent-titlepath'] = t("The path formed by all the parents titles");