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.

what is the next step for getting ported module accepted?

Hi,

This is my first contribution to drupal. I have ported the goaway module (https://www.drupal.org/project/goaway ) to drupal 8.
I have created a sandbox project folowing the steps outlined here: https://www.drupal.org/contrib-8x-sandbox .

Ajax Form submit doesn't work second time

Hi all!

I'm loading the node edit form in a block and I add ajax on submit.

I managed to make it work for forms that I need to be empty after the ajax submit using the below code :

In hook_form_alter:

Run cron code as administrator, not anonymous user

This code runs a feed import and works as it should when run from the Cron interface, as it runs as an administrator. However when triggered remotely it runs as an anoymous user who cannot add content with the result that the import fails to add nodes.

how to update value of textarea when i change value of textfield

I have a textfield and textarea when i entering value in textfield and onclick event to display updated value in textarea .
Please reply

Set minimum value for cardinality on node creation

I have a custom module and I want to set the minimum value for cardinality dynamically.
The value is given by a field of type Math Expression field_staff_required from above.

I know I can set the maximum value like this:

Pages

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