[support] Hook Form Alter question

Mutuku Ndeti jnmutuku at gmail.com
Thu Sep 22 04:54:06 UTC 2011


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 at 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
>


-- 
Tel:254- 722-490994
www.agile.co.ke | www.jipambe.com


More information about the support mailing list