Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 631947
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T20:01:21+00:00 2026-05-13T20:01:21+00:00

Please, I can’t use hooks in Drupal, because I don’t know where to place

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T20:01:21+00:00Added an answer on May 13, 2026 at 8:01 pm

    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)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Please can someone advise on this, I've tried various methods but don't seem to
please can somebody let me know how to do the following PHP in JavaScript.
Please can i use datacontracts in WCF for streaming instead of message Contract. If
Please can you tell me why my NSNumberFormatter is only letting me use 4
Please can i know, how do we update the piechart shown in this example
Please can anyone tell me all the properties or methods which I can use
Please Can i know is their any good article which describes the complete flow
Please can someone post a SQL function to convert easting/northing to longitude/latitude. I know
Please can someone give me a small sample of how to use the Storage
Has anybody tried mapping database views in oracle using ActiveRecord? Please can I get

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.