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.

Интеграция AmoCRM с Drupal через Webform

Вообщем поставил модуль Webform_rules. У меня появилась возможность после сабмита формы сделать событие на добавление контакта в амосрм, но теперь другая проблема. Как мне в это поле, которое передает значение "имя контакта в амосрм", вставить value из поля инпут.

AJAX button form_state values empty on submit

i'm refactoring a module from Drupal 6 to 7.

There are several buttons that update some part of the form. I've read that the workflow is as follows:

-user clicks button, form is submitted for rebuilding.
-ajax callback is called, which is suposed to return the updated part of the form.

So, I supose that the ajax callback receives the rebuilt form and selects the updated part for return.

Adding code in the page <footer> section


I am requested by our IT to add analytics code to a site.

The code includes a script declaration which should be placed at the block, and a code snippet which should be added to the section.

I added the script declaration to the using the function:
drupal_add_js('http://...', 'external');
I see it showing up on the page, so no problem here.

[solved] AJAX multistep form breaks, but only for one specific user

I have a multistep form that uses AJAX and for some reason it breaks for one specific user (customer), even when he tries using different browsers it breaks at the same place. There is a lot of form code so here is my AJAX callback.

Targeting block 'section' tags specifically

Good afternoon all,

I'm trying to write a function related to accessibility, specifically adding an aria-label='whatever label is' attribute to 'section' tags on the site.

With the following, it applies to all blocks (div, nav, etc.). What I want (at least for now) is to target 'section' tags ONLY, but I can't for the life of me find how to target them specifically:


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