I'm using a view template to override how a field is displayed.
I want to include a link to the node in the field.
Given a node, how do I get the URL (relative is fine) for a node?
I've got the node in the overridden template, but not sure where to go from there:
$node = node_load($row->{$field->field_alias});
$wrapper = entity_metadata_wrapper('node', $node);
$path_to_node = ???
?><a href="<?php print $path_to_node ?>">Go to Node</a>