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 navbar will be automatically updated but you can create
your own links using URL("controller", "function", args="login")



http://zerp.ly/rochacbruno
Em 05/03/2012 04:13, "Sanjeet Kumar" <[email protected]> escreveu:

> 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

Reply via email to