I noticed that I had that the login form has "user-login" as the id on the /user page, but when it's on a block it has "user-login-form" as the id.
I am able to alter it on the /user page, but it's not working on the block.
what could I be doing wrong?
On 22/09/2011, Mutuku Ndeti jnmutuku@gmail.com wrote:
I am using drupal 7. I am working on altering the login form.
The basic code below is not working on the login form
function MYMODULE_form_user_login_form_alter(&$form,&$form_state, $form_id) { print_r($form); }
I have successfully altered the registration form
Tel:254- 722-490994 www.agile.co.ke | www.jipambe.com