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.

Drupal Headless architecture - Group module performance

Hello,
I'm creating this post to get some feedback or advises based on the following architecture/config:

Ajax Form Rebuild/Clear

Hello all, i have a question regarding ajax forms. I have an ContentEntityForm, that creates a message and displays them on the page immediately. The textfield is cleared successfully, but not the file_field (for image or document uploads) after submit. How we can reset their value after submit?

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:

Pages

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