Re: [web2py] Re: how to disable "register" item from the default upper right-hand side dropdown

2015-12-24 Thread Alex Glaros
never mind ... it works now I had password readable = False ##db.auth_user.password.readable = db.auth_user.password.writable = False -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/is

Re: [web2py] Re: how to disable "register" item from the default upper right-hand side dropdown

2015-12-24 Thread Alex Glaros
now I want to return to default registration When I disable this: ##auth.settings.actions_disabled = ['register'] ## auto-register disabled; forces users to go through my custom registration I get error after clicking on "Sign up" link 'password' is not in listVersionweb2py™Version 2.12.2-st

Re: [web2py] Re: how to disable "register" item from the default upper right-hand side dropdown

2014-07-29 Thread steve van christie
please try : settings.actions_disabled = ['register'] best regards, stifan -- 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 beca

[web2py] Re: how to disable "register" item from the default upper right-hand side dropdown

2014-07-29 Thread Alex Glaros
now I need to disable "register" button from one more place. When user attempts to post data to table where being logged on is required, W2P automatically throws up the login prompt, which also has the "register" button. how to suppress the register button here? Login E-mail: Password: R

[web2py] Re: how to disable "register" item from the default upper right-hand side dropdown

2014-07-06 Thread Anthony
I believe you should still be able to create a registration form explicitly via auth.register() (though please try it to confirm). However, if you use something like the default user action: def user(): return dict(form=auth()) and call it with a URL like /myapp/default/user/register, it wi

[web2py] Re: how to disable "register" item from the default upper right-hand side dropdown

2014-07-06 Thread Alex Glaros
> > Thanks Anthony, > "Register" now doesn't appear in dropdown, but can you simplify description of what functionality is lost? If the "register" action is needed, how can it be restored while still suppressing the word "register" in the dropdown? If that is not possible, where an how can d

[web2py] Re: how to disable "register" item from the default upper right-hand side dropdown

2014-07-04 Thread Anthony
On Friday, July 4, 2014 9:37:09 PM UTC-4, 黄祥 wrote: > > please try : > *models/db.py* > settings.actions_disabled = ['register'] > Note, it is auth.settings.actions_disabled. This will remove the link from the navbar, but it will also prevent the "register" action from working via the user() fun

[web2py] Re: how to disable "register" item from the default upper right-hand side dropdown

2014-07-04 Thread 黄祥
please try : *models/db.py* settings.actions_disabled = ['register'] best regards, stifan -- 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 th