How to Use Contextual Filters I have a view where I'm showing all postings by post author. Right now, I show (and filter) the posts by author name using contextual filters.

I want to change it so that I still use the username in the contextual filter, but when I override the the title, I want to show the human readable name.

So, for example, 

www.example.com/postings/kyle.keiper


Currently shows

Postings by kyle.keiper


in the title.

How can I change the view so that the URL stays the same, but it shows "Postings by Kyle Keiper"?
You need to rewrite the output of the field and use PHP for the text string manipulations.

Two modules can help you do that. Note that you'll likely choose one of these two modules. they aren't dependent on each other. They can both help you get what you want in different ways.


Views PHP
Computed Field


You might need to turn the title off and create it instead in the View header using "Global: text" and turning tokens on their. The token for username (which is "[name]" will use the value from the written output you've used when defining the field.