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.

BAN IP visitors to certain URL

Does anyone know of a module to BAN Ip address if they visit a certain URL.

We are moving from WP to Drupal but would like to ban any IP address which visits a certain URL (example WP login page)

I have see all the BAN IP Modules but could not find anything like I am after.

Running Drupal 8.4.5

Thanks

Custom module block configuration, how to save and render images

I'm trying to create a custom module with configuration for a block that will allow a block to have custom fields. I'm having problems allowing the upload of an image and then rendering this in the block on the site.

Currently this is what my block file looks like;

How to validate custom content type form in drupal 8

Hi,

I am new to Drupal and I looked for this a lot but couldn't find that's why I am asking this here.

I have a content type "Company Information" that takes input from the user for various fields. A part of this content type has a rather complicated structure, at the outset, it goes as follows 

hook into drupal ajax

Is there a way to hook into drupals ajax system? I am using the managed_file module, and creating a managed_file in a module I am making. When doing so, after you upload a file, the id of the file field changes, but the <label> for the field does not. This creates an accessibility issue, as there is no a label with no field associated with it. 

webform with list parent / children

hi,

I need 2 lists in a webform, I built automplete that works for each list

However, I want to filter list 2 against list 1
I can not put in my element a call to the element alter to refresh the list 2

that is to say

I select a value 1 of list 1 and i view in the list 2 : A and B

List 1                 list 2

1                        A

                          B

                        

I select a value 2 of list 1 and i view in the list 2 : C and D

List 1                 list 2

Pages

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