[web2py] Re: user profile form

2010-01-30 Thread weheh
It is the latter case, so I will create another controller for it. Too bad, but I understand. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send emai

[web2py] Re: user profile form

2010-01-30 Thread mdipierro
I am not sure because the issue is whether the extra fields belong to the auth_user table or not. If they do you can use jquery to hide or show some fields based on other field values. If the extra field reside a different table that references auth_user, I would probably create another controller

[web2py] Re: user profile form

2010-01-30 Thread weheh
Do you have any suggestion for how to do user the user profile stuff I asked in my question above at 3:56pm? -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this g

[web2py] Re: user profile form

2010-01-30 Thread mdipierro
I guess I misunderstood the problem. The point I was making is that you do not have to use auth methods to do things that it is not designed to do. You can make your own actions. Yet if you want to preserve names and urls, you may override existing methods. On Jan 30, 2:56 pm, weheh wrote: > I

[web2py] Re: user profile form

2010-01-30 Thread weheh
I don't really understand why you would require a calss extension to Auth when you can just have a separate table that points to the auth_user table? The problem I know I'm going to run into is how to do a self-submission on an Auth class where two tables are involved. How am I going to deal with t

[web2py] Re: user profile form

2010-01-29 Thread mdipierro
yes or in models if not too long On Jan 30, 12:48 am, weheh wrote: > Would I put this class extension in the modules folder? -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsub

[web2py] Re: user profile form

2010-01-29 Thread weheh
Would I put this class extension in the modules folder? -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.

[web2py] Re: user profile form

2010-01-29 Thread mdipierro
I would extend Auth and redefine the profile method so that it returns a custom form. class MyAuth(Auth): def profile(): pass On Jan 30, 12:08 am, weheh wrote: > I'm building an app where anyone from the general public can join and > gain access to some of the site's functionality, while