Thanks, it works, and is better than changing gluon/tools.py#navbar
directly ;)
I additionally surrounded it with a {{if 'auth' in globals():}} ...
{{pass}}.
It would be indeed better to add a parameter to the navbar method to choose
which field to display (and first_name by default).
Cheers,
Th
On Thursday, December 22, 2011 10:23:59 PM UTC-5, Thomas Dall'Agnese wrote:
>
> Hi there,
>
> Is there a way to change the field displayed in the "Welcome" block on the
> top right without changing web2py source code?
> I looked at the code and we can change the "Welcome" text by defining the
> p
2 matches
Mail list logo