Re: [web2py] Use the other login page instead of index

2012-03-05 Thread Sanjeet Kumar
My problem is solved through capturing the login event On Mon, Mar 5, 2012 at 1:48 PM, Sanjeet Kumar wrote: > Actually i want to go to the another function in the default controller > when i click on the login it should be call the function such as emp() > istead of index and after login i want

Re: [web2py] Use the other login page instead of index

2012-03-05 Thread Sanjeet Kumar
Actually i want to go to the another function in the default controller when i click on the login it should be call the function such as emp() istead of index and after login i want to stay on the emp() only On Mon, Mar 5, 2012 at 1:14 PM, Bruno Rocha wrote: > the login is by default in defautl/

Re: [web2py] Use the other login page instead of index

2012-03-04 Thread Bruno Rocha
the login is by default in defautl/user/login not in index. you can set your own controller and function. Create a new controller with a function to expose dict(form=auth()) and in models set: auth.settings.controller = "myothercontroller" auth.settings.function = "myfunction" I am not sure if

[web2py] Use the other login page instead of index

2012-03-04 Thread Sanjeet Kumar
I am using the index as my home page and i want to call the another controller for login when the user click on the login link