How can I change the  on a View filtered by NID so that it is the referenced Node's Title field? I have a view which only displays a single result and I am using NID as the contextual filter. I cannot change that, it needs to be NID.

I want my page &lt;title&gt; to be the "Title field" of the node that was filtered rather than its NID.

As it is, in my contextual filter I can "Override title" by typing in "%1" which results in the terrible &lt;title&gt;1234 | My Site&lt;/title&gt;. Assuming node/1234 is titled "John Doe", I want my title to be &lt;title&gt;John Doe | My Site&lt;/title&gt;.

How can I accomplish this?
You need to "Specify validation criteria" in your contextual filter.

In your Contextual filter scroll down and check the box "Override title" but leave the text box empty.

Next, check the box "Specify validation criteria" and select "PHP Code" from the validator menu.

In the code box enter the following:

if($argument) { // Check that argument is present
    $myNode = node_load($argument); // Load node based on NID
    $myTitle = $myNode -&gt;title; // Parse node data to get title
    $handler-&gt;options['title'] = $myTitle; // Change the view's page title to node's title
}
return true;