Hi Folks,
I didn't know where to put the above.
Here's what worked for me in web2py Version
2.14.6-stable+timestamp.2016.05.10.00.21.47
In layout.html, I commented out the following as shown below:
<!--
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav navbar-right">
{{='auth' in globals() and
auth.navbar('Welcome',mode='dropdown') or ''}}
</ul>
{{if response.menu:}}
{{=MENU(response.menu, _class='nav
navbar-nav',li_class='dropdown',ul_class='dropdown-menu')}}
{{pass}}
</div>
-->
I am posting this so i remember how to do it. :)
Love and peace,
Joe
On Friday, October 7, 2011 at 10:59:46 PM UTC-7, Anthony wrote:
>
> auth.navbar() automatically includes login as the first item, and that is
> not configurable. However, auth.navbar() simply returns a SPAN helper
> object, so you can use the server-side DOM to edit it. This should remove
> the login link:
>
> nav = auth.navbar()
> del nav[1:3] # deletes the login link and the " | " after it.
>
> Anthony
>
> On Saturday, October 8, 2011 1:37:56 AM UTC-4, lucas wrote:
>>
>> hello one and all,
>>
>> how do i direct auth to remove the "login" link from the navbar?
>>
>> i already tried
>>
>> auth.settings.actions_disabled.append('login')
>>
>> like you would to remove register, but that didn't seem to work.
>> ideas? thank you in advance. lucas
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.