Customize the view title to use when an argument is present

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by potassiumchloride on November 13, 2010 at 1:06am

Question: How can I display the Node Nid as part of the view title when a Node: Nid argument is present?

Background: I am successfully using Node: Nid as the argument for a view. I want the view title to be "Record #" where the # is the actual numerical Nid. I do NOT want to display the Node Title as the View Title when the argument is present. I know the %1 substitution will display the Node title. Is there a simple way to display the Node Nid instead? I have tried to rewrite the output of the Node:Title field in the view and then use %1 but the result is still the unmodified Node Title.

Views Developers

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /