Re: [web2py] Re: Change the field that displays in the "Welcome First_Name" bar?

2011-12-22 Thread Thomas Dall'Agnese
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

[web2py] Re: Change the field that displays in the "Welcome First_Name" bar?

2011-12-22 Thread Anthony
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