Re: [web2py] Modifying auth_navbar

2012-04-20 Thread Richard Vézina
Maybe read in this chapter :
http://web2py.com/books/default/chapter/29/5?search=auth_nav

On Fri, Apr 20, 2012 at 9:15 AM, Simon Pickles  wrote:

> Hi,
>
> I've worked out how to remove the 'forget username?' and 'Retrieve
> Password' entries from the navbar by editing gluon/tools.py, and restarting
> server.
>
> This seems a bit severe, altering web2py source code. I imagine my changes
> will be overwritten at next update.
>
> Is there a way to do it in the layout.html view?
>
> Thanks
>
> Simon
>


[web2py] Modifying auth_navbar

2012-04-20 Thread Simon Pickles
Hi,

I've worked out how to remove the 'forget username?' and 'Retrieve 
Password' entries from the navbar by editing gluon/tools.py, and restarting 
server.

This seems a bit severe, altering web2py source code. I imagine my changes 
will be overwritten at next update.

Is there a way to do it in the layout.html view?

Thanks

Simon