I have designed a login page and "borrowed" the login function from the demo, which works.
However, I have included the login box in a header which isn't on the login page - and I set the form action to action="user/login" which is where my login page resides. This works on the login page itself as it uses the current_url() function. But on my header, it just redirects to that page when login is submitted and nothing works.
Any examples of using inline login like I want to?