drupal-hooks
Anyone know how to add a field or column to the /ADMIN/CONTENT listing page? DRUPAL 7
I would like to add a field / column to the Content Administration Overview page but it appears the easiest theme overrid开发者_StackOverflow中文版e to do this has been deprecated with D7.[详细]
2023-04-13 04:22 分类:问答Create a template for the page
Let\'s say I have this implementation of hook_menu(): function example_menu(){ $items = array(); $items[\'admin/recent-completions\'] = array([详细]
2023-04-11 18:50 分类:问答Failing to get hook_form_alter to work
I\'m trying to 开发者_开发百科investigate how to add functionality to a webforms form (want to add a lookup button to populate the form). The issue is that I don\'t seem to be be able to get hook_form[详细]
2023-04-11 04:11 分类:问答My first try to output my Drupal7 module as a custom block failed
This is my first try to create a Drupal module: Hello World. I need it to have it displayed as a custom block and I found this can be implemented by 2 Drupal7 hooks: hook_block_info() and hook_block_[详细]
2023-04-08 16:52 分类:问答I am creating a page using hook_menu() but I get "You are not authorized to access this page."
I am trying to create a very simple page in my module using hook_menu(), but after I test it I get, \"You are not authorized to access this page\". I can\'t figure out what I am doing wrong. Following[详细]
2023-03-30 18:14 分类:问答Implementing hook_user_insert doesn't login my user
I\'m trying to forward the users to a specific page after they create their account, but when they get there, they are not logged in.[详细]
2023-03-30 15:52 分类:问答Block/Theme not 'return'ing $output
This is the issue. I have a block called \'User Favorites Block\' It\'s placed in the region \'First Sidebar\'[详细]
2023-03-30 10:15 分类:问答Which hook should I use to manipulate node before being rendered?
I am developing a simple module for drupal 7.x to manipulate node content depending on the value of a cck field. Actually I am going to hide the field_presenation if the field_status = 1.开发者_如何学[详细]
2023-03-26 19:21 分类:问答Values from Drupal's hook_order "new"
In Drupal\'s hook_order function, I was wondering if anyone can tell me how I could find the values of $arg when the case is \"new\"? The resulting print_r always show up blank for any checkout value[详细]
2023-03-26 14:29 分类:问答Drupal 7 hook_node_access to conditionally block node access
For all users I need to conditionally block access to nodes of type \'message\'. The only way users should be able to view these message nodes is by successfully submitting a form.[详细]
2023-03-24 01:04 分类:问答