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
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
2 matches
Mail list logo