[web2py] Re: Logged in dropdown links

2013-08-30 Thread Johan Englund
Yes, write your own navbar function and use that instead, or take a look at & modify navbar() in gluon/tools.py (You will need source code for that) Also I did a rewrite of navbar in the repo, should make it much easier to write your own navbar imo. On Wednesday, August 28, 2013 8:19:28 PM UTC+2

[web2py] Re: Navbar auth

2013-09-01 Thread Johan Englund
You can add some logic in the layout.html, if I understand correctly you want to disable the navbar in some views? {{if not 'navbar_disable' in globals():}} {{='auth' in globals() and auth.navbar(mode="dropdown") or ''}} {{pass}} and then pass navbar_disable in the controller. return dict(me