[web2py] Re: how to customize user registration form
detail explaination and example about customizing auth is on the book http://web2py.com/books/default/chapter/29/09/access-control#Customizing-Auth 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 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [web2py] Re: Create a service running continuously
Hi Paul. I just came across this. Could you please sh ate the code. I have a similar problem of not getting a continuous loop. Regards -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: Search for list:string values in grid search?
El jueves, 23 de agosto de 2018, 23:08:02 (UTC-3), Anthony escribió: > > On Tuesday, August 14, 2018 at 9:59:53 AM UTC-4, Marcelo Huerta wrote: >> >> Is it possible at all to search for values contained in fields defined as >> list:string in the grid search dialog? >> > > Technically the search functionality can handle such searches, but for > some reason, the search widget excludes list:-type fields from the list of > searchable fields (unless you are using GAE datastore). Feel free to open a > Github issue for that to be changed. > > Note, the grid takes a "search_widget" argument, which allows you to > specify a custom widget. The default widget is SQLFORM.search_menu. You > could create a forked version of that function, allowing list:string fields > to be included even for non-GAE databases. > I'm not clear how to create the forked version... Do you mean to modify sqlhtml.py directly? I tried creating a new instance of SQLFORM inheriting from sqlhtml.SQLFORM which only defines the new search_menu method, but invoking this new SQLFORM instead of the original didn't make any difference. -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [web2py] how to customize user registration form
What do you want to modify in form? If you want to add more fields in the form so you can add this way. #modal.py auth.settings.extra_fields['auth_user'] = [ Field('new filed name') ] If you want to customize look and feel of the form or even you can change entry form according to your need.you can do this way #user.html {{include 'layout.html'}} /title> {{=request.args(0).title()}} {{ if request.args(0)=='register': pass =form }} Already Signed Up? Login This is just an example to show how to customize the default behavior of the form so can change in your way. Happy Development in Web2py .. :) Thanks Sp/ On Sat, Sep 15, 2018 at 6:45 PM taufit dungun <2fad...@gmail.com> wrote: > Hi, > > im a totally newbie in web2py...but a fan of it > > my question, how to modified the default registration form of a user? > > > thanks > > -- > 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 web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] how to customize user registration form
Hi, im a totally newbie in web2py...but a fan of it my question, how to modified the default registration form of a user? thanks -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Autocomplete widget match middle of word
Hello- I'm using the autocomplete widget to make sure that the user chooses among names in a database (containing about 300 entries). Right now, the autocomplete only matches from the beginning of the word, but I need it to be able to match from any position in the word, similar to what jquery allows. Any suggestions for how to do this? Many thanks! -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.