This forum is for module development and code related questions, not general module support. For general support, use the post installation forum.

THIS FORUM IS NOT FOR "What module..." or module support questions-- it's for module development and code related questions.

The module development and code questions forum is intended to aid those who are developing modules or writing code for Drupal.

Please note that this forum is also not intended for "Is there a module that does..." or "I need help with module x..." questions. It's also not a place to ask developers to write your code for you. Please respect this.

Please do not post general discussions intended to target module developers. If the question you have isn't specifically related to writing a drupal module, please post it in a more appropriate forum.

  • If you you have drupal installed already and are seeking a module that does a specific task, have a question about a specific module and what it does or if it will fit your use case, please place your questions in the Post installation forum.
  • If you have a problem or question about a specific module, you should create an issue in the module's issue queue (after checking for an existing issue first).
  • If you don't have drupal installed yet, please place your questions in the Before you start forum.

Place module description under version control

While working on my first module repository at I realized that the description is a field in the project's page and must be edited in the project form asynchronously from commits. I'd like to suggest to the website maintainers that a method for placing the description into version control be considered. Perhaps a file could be included in the source files and automatically rendered to the project page.

ajax refresh content, formatting and images dissapear

EDIT: Fixed. It was my mistake, I used same div id as drupal does... so there was a bit of mix-up


I'm having troubles with Implementing an already working code of stand-alone webpage (index.php and ajax.php) into content of php node of drupal 7.5.

Describe foreign key in hook_schema so a Views exposed filter shows a select box

I want to describe an external table in hook_schema so that a foreign key field, when used in a View an exposed filter, will provide a drop down selection box rather than a simple text box. For example if the external table has a Country field with valid countries specified in a Country table, I'd like the exposed filter to show a list of countries for the user to select. Is this possible and if so can someone give me a push in the right direction on this please. Thanks.

Caching problems when updating nodes by external program

I have a php written bot who updates several drupal content nodes every 15 minutes. It updates two existing numeric fields with current values. It is running so far, but:

I'm using the redis module and some redis settings to use the caching not within the db but in memory. The updated values don't get visible until I clear the cache using the admin web gui backend functions /under performance).

What I'd like to: Clear the right places in the cache via the external program.

Currently I'm trying this:


Subscribe with RSS Subscribe to RSS - Module Development and Code Questions