[support] User name in title of View?

Shai Gluskin shai at content2zero.com
Fri Oct 2 18:52:15 UTC 2009


Steve,

This is what Views "arguments" were created for. Make the user  an argument.
The argument settings allow for dynamic content, based on the argument, to
be used for the page title.

Shai

On Fri, Oct 2, 2009 at 2:48 PM, Luciano Rossi <lukio at gcoop.com.ar> wrote:

> Steven Scotten escribió:
>
>> This seems like a simple enough thing, but I'm plum stumped.
>>
>> I've created a view of all a user's content, and I'd like to include the
>> username in the title of the displayed page. I've tried using token and
>> variable syntaces and both simply display the actual characters I typed, not
>> substituting the username.
>>
>> Is it true that the title of a Page created by Views has to be static text
>> and cannot include data about the content displayed?
>>
>
> Hello, you can write php code at the head of the view if you enable the php
> filter.
>
> Cheers!
>
> --
> Luciano Rossi
> gcoop - Cooperativa de Software Libre
> www.gcoop.com.ar
> (0054 11) 4856-7925 Luis. M. Drago 364 3 B
>
>
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.drupal.org/pipermail/support/attachments/20091002/8582f481/attachment.htm>


More information about the support mailing list