I'm in the process of learning Drupal 7 and i want to start with some basis. So basically, I want to create a login block that will take as input an emal adress and a password.
If the login is succesful, i want to display a user specific menu.
I'm using bartik template.
So my idea was to create a region called "login_region" and another region called "menus_region" to handle the display of the login form (login_region) and the menu (menus_region).
But I need some detailed pointers on the "clean" process to create the login form, process this form "on success: diplay the user menu", "onfailure, build a try again aler", check the unicity of the email adress etc...
I'm a php programer so I can easily do it in php but I want to do it the "drupal 7" way.