Top "Drupal-modules" questions

Drupal modules are add-ons for Drupal that allow you to extend, and customize Drupal functionality.

Correct way to use Drupal 7 Entities and Field API

I'm trying to use Drupal 7's entities and field API to correctly build a new module. What I have been …

drupal drupal-modules drupal-7
Passing arguments using drupal_get_form()

Here is my custom module using hook, Assume if I want to pass argument to custom1_default_form function call, …

drupal drupal-6 drupal-modules
How to programmatically log out a user in Drupal 7?

I need to log a user out and redirect to a URL. How would I do that in Drupal 7? Thanks

drupal drupal-7 drupal-modules
Drupal 7: Hiding labels with empty fields when viewing a node

How do I hide labels that have empty fields when viewing the actual node of a certain content type? I'd …

drupal drupal-7 drupal-modules drupal-theming
cannot get checkboxes value using drupal form api

i have form in drupal which uploads images and has got few checkboxes in it. Here is the form: $form[…

drupal drupal-6 drupal-modules drupal-fapi drupal-forms
Calling the $site_name variable from a module in Drupal 7

I'm creating a custom module that has uses the form API and sends an email on submission- however, I want …

php drupal module drupal-7 drupal-modules
Drupal: how to make select list show taxonomy terms in hierarchy?

I have a block generated by Finder module (simple search mechanism). The block contains a form with select lists of …

drupal drupal-6 drupal-modules drupal-taxonomy
Set Drupal Module Weight

When developing a custom module, what is the correct way to set a module's weight?

drupal drupal-modules
How do I extend a contributed module in Drupal?

How can I extend an existing module without modifying it? Actually its a contributed module, so I don't want to …

drupal drupal-6 drupal-modules
Create a standard page and table in drupal module with PHP

I made a module with a simple menu structure. I am able to programmatically retrieve a view of all my …

php drupal drupal-6 drupal-views drupal-modules