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.

How to allow anonymous comments on only one (or some) entity type(s)?

I see that I can allow anonymous comments for all comments. But I do not see how to allow such comments on one entity type and not allow on other types.

For example I want to allow anonymous commenting on my 'Story' content but do not want to allow on my 'Recipe' content. 

Please let me know how this should be achieved.

1. via admin UI 
or 
2. by extending/overriding some classes.
I am okay for any such ways.

Thanks

-Mahesh

Drupal + OpenID Connect: how to trigger logout in Drupal when the user logs out from external .NET app / IdP?

I have a Drupal site hosted on the domain https://extranet-mysite.com.

To log in to this site, users go to https://y-authv2.mysite.com/login, which is a .NET application using single sign-on (Authv2). When the user is authenticated, they are redirected back to the Drupal site at https://extranet-mysite.com.

Solr 9.x & Search API : Incompatibility problem

Hi,
I'm working on a Drupal 10.3.5 site with Solr 8.x.
Schema version: drupal-4.3.5-solr-8.x-1
Recent Search API and Search API Solr modules.
I want to upgrade to Solr 9.x (for standalone use).
Problem: the configuration provided by Search API is currently incompatible.

Core creation error:

Azure Blob Storage File System / D10 to D11

Hi all,

I'm using the Azure Blob Storage File System module for Drupal 10.x (link: Azure Blob Storage File System | Drupal.org). This module doesn’t seem to have a stable release for Drupal 11 yet :(

Does anyone know of any good free or paid alternatives to this module?

Functional tests require dozens of config files

I have a complex module that provides two content types. One type has over a dozen fields including a term reference (to the Tags vocab), and references to media entities of the 'image' and 'remote_video' types.

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions