drupal
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: Which video module to use with an Amazon S3 "already uploaded" file that should be available only to registered users?
I need to play some videos in my Drupal site, and need to choose a module that can actually do that. I´ve checked out some video modules, but they are primarily to upload videos, but I don´t need to[详细]
2023-04-11 12:29 分类:问答Field data in one table, not many. for drupal7
I am working with the commerce module to create an online store.I am modifying the products .install file to create a content type (as I have been told this is required) and as part of that content ty[详细]
2023-04-11 11:47 分类:问答Drupal views 2 API
I would like to create a custom views, because some database fields are not accessible by drupal views UI. I just exported an existing view into a file called my_module_views_default.inc that contains[详细]
2023-04-11 09:59 分类:问答drupal_get_form page callback usage
function example_menu() { $items[\'admin/config/example\'] = array( \'title\' => \'Example\', \'description\' => \'example configuration\',[详细]
2023-04-11 09:14 分类:问答Drupal 6 module install file not creating tables in database with Different table name
I\'m using the following code to create a database schema using the .install file in drupal-6 function myModule_install() {[详细]
2023-04-11 08:18 分类:问答Compare 2 fields in Drupal
I want to do a simple SQL query in Drupal, but I\'m not sure how. I would like to achieve this: SELECT COUNT(nid) AS i_count FROM node WHERE `created` != `changed`;[详细]
2023-04-11 07:58 分类:问答Drupal custom form remembering textfield data
I am setting up a configuration page for a new module and I am having trouble getting my textfield to remember data I previously entered.[详细]
2023-04-11 07:35 分类:问答Transactions within the Node's API CRUD callback (Drupal)
Should I call the db_开发者_如何学Gotransaction() inside the node\'s CRUD hook (like hook_load, hook_insert, etc)?[详细]
2023-04-11 06:39 分类:问答drupal view2 views_query_alter for JOIN
i\'m trying to alter drupal view-2 query, basically want to add one more table. I\'m able to alter the where clause of query using hook_views_query_alter() but don\'t know h开发者_JAVA技巧ow to join o[详细]
2023-04-11 05:35 分类:问答