On Tuesday, July 26, 2016 at 5:02:09 PM UTC-7, Dave S wrote:
>
>
>
> On Tuesday, July 26, 2016 at 4:26:18 PM UTC-7, lucas wrote:
>>
>> hey one and all,
>>
>> how do you totally remove the Login dropdown and its submenu items 
>> underneath it?
>>
>> i have already added
>>
>> auth.settings.actions_disabled = ['navbar', 'login', 'register', 
>> 'request_reset_password']
>>
>> to db.py, but the Login menu item and Login dropdown under it still 
>> persists.
>>
>> lucas
>>
>
>
> Modify models/menu.py?  In mine, response.menu has 'Home' and 'Logout', 
> and if DEVELOPMENT_MENU is defined, 'My Sites' and 'Community' get added.
>
>
response.menu is a list of tuples, some of the values of which can include 
other tuples.  Counting parens and brackets is important in reading menu.py.

/dps



-- 
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.

Reply via email to