[support] str_replace in views argument

Scott scott at bscottholmes.com
Wed Jan 6 22:04:40 UTC 2010


Nope, it's Views 2.  It wants the value for just the one argument, in
this case the city name.


On Wed, 2010-01-06 at 11:44 -0800, Domenic Santangelo wrote:
> On Jan 6, 2010, at 9:10 AM, Scott wrote:
> 
> > return str_replace('_', ' ', $arg[2]);
> 
> 
> If this is Views 1:
> 
> $args[2] = str_replace('_', ' ', $arg[2]);
> return $args;
> 
> -D



More information about the support mailing list