In a custom module \"nade_reg\" I have changed the registration form to include two fields to collect the first and last-name of the user, while hiding the username field.I don\'t know if it\'s releva
I\'m trying to add a new content type from within a module, and I have pretty much borrowed from the ubercart product kit module, since I want to use that as a base for this new type:
I’ve a specific content where a user can add a new post to it by using a form. This form is used all over the site for different kind of content but in this specific form, I need to edit the first in
I\'m writing a Drupal 6 module that sends a user ID + a randomly generated string to a function through the URI. I\'m using the menu hook:
I\'m asking because it mattered for a rea开发者_运维技巧lname issue and it made me think of how to avoid these kind of conflicts.In the same order that module are called : according to their weight. (
I\'m using the Ubercart product and product_kit modules. This is great at linking from the relevant product kit to the products which are included, but I also want to link from the individual product
I have a couple of questions on Drupal coding conventions that I haven\'t been able to gleam from the docs or the code.
I currently have a simple menu_alter hook in a new module I\'m building which allows simple access control for menus:
In Drupal 7, every core module has a *.api.php file, where * is the name of the module.For example modules/node/node.api.php
This is a followup to another question I asked abou creating your own hooks. In the answer and comments, two functions were mentioned