Please,
I can’t use hooks in Drupal, because I don’t know where to place them. I tried to place in template.php, unsuccessfull.
This is the hook which I want to use: http://api.drupal.org/api/function/hook_form_FORM_ID_alter/6
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You would call this hook from within a custom module. For example, let’s say you wrote a custom module, named bookmark. That module would contain a file named, bookmark.module. From within bookmark.module, you would call bookmark_form_FORM_ID_alter($form, $formstate)