[support] str_replace in views argument
Scott
scott at bscottholmes.com
Wed Jan 6 23:28:35 UTC 2010
So I gave up on this approach. I've rewritten the module that creates
the menu containing the list of urls I was concerned with. The city
strings now have a blank space. Fortunately these links are strictly
internal (unless someone bookmarks any of them).
On Wed, 2010-01-06 at 14:04 -0800, Scott wrote:
> 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