drupal-7
How can I get the node id within the submit handler defined in hook form alter
Is there a different hook I can use to get the node_id of a NEW node that is submitted? function dc_project_management_form_bug_request_node_form_alter(&$form, &$form_state, $form_id)[详细]
2023-04-12 00:27 分类:问答Drupal TAC not working? Setup wrong? [closed]
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.[详细]
2023-04-11 23:47 分类:问答How do I design a site in Drupal 7?
I have a site: http://phppointofsale.com/ It has 2 \"templates\" or types of pages. The Home Page/Contact Page/Downloads pages[详细]
2023-04-11 22:17 分类:问答Adding a class to "body"
How can I modify or pre-process the <body> tag to开发者_如何学运维 add the class body? I don\'t want to create a whole html.tpl.php just to add a class.In your theme\'s template.php file use the[详细]
2023-04-11 22:06 分类:问答node reference to a node_collection
I have the following nodes: Project milestones (field_collect开发者_运维问答ion) title due date etc..[详细]
2023-04-11 20:32 分类:问答altering footer page on drupal 7
In Drupal 6, my module had this next function which inserted a javascript to the footer of the page, but in Drupal 7, stuff have chan开发者_如何学编程ged. How can I do this next code in drupal 7?[详细]
2023-04-11 19:38 分类:问答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 分类:问答Drupal 7 Views Restrict to uid of current user
开发者_高级运维I have a bugs view which shows all the bug content types. My questions is, how can I limit the view to only show bugs that have assigned_to equal to the logged in user?You can add a fil[详细]
2023-04-11 14:18 分类:问答Drupal Insert Hook Fails
I have an insert hook that catches nodes whenever the user adds a node. So here\'s my 开发者_如何学Pythoncode:[详细]
2023-04-11 13:31 分类:问答drupal 7 link to theme image
This seems like a very basic question, but I have been开发者_开发百科 googling around and can\'t get a good answer.[详细]
2023-04-11 12:12 分类:问答