This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

How to ayaxify Current Search Block

I use Ajax facet filters, how do I get updated Current Search Block by Ajax. Can anyone solve this problem?

How to customize the “Add to Cart” button of a product ?

I created a custom module with Drupal 8 and Commerce 2.11 to modify the "Add to Cart" button of the product sheets.

The module works, but it is currently applied to all products.

I want to apply it only to the product with ID 50

How to customize the "Add to Cart" button of a product ?

Contributing a PR to a module

Hello everyone. I'm using Simple Oauth module, and I found a functionality I would like to see, I already implemented it by replacing the original Controller.

The question is, does Drupal allows to create PRs?

Funcionality is the ability to choose in the Simple Oauth options, when using gran_type password, if you want to use username, email, or both. Because the current implementation only allows to use the username for login validation

Thanks in advance!.

Passing a reason to AccessResult::forbidden in hook_node_access versus in hook_ENTITY_TYPE_access.

I am using Drupal 8.6.2 with a custom module that denies access in certain cases to viewing some nodes via hook_node_access, and to downloading some private files via hook_ENTITY_TYPE_access (implemented as hook_file_access).  This custom module appears to be working - access is allowed or denied properly. 

Latest release are no longer appear as "recommended" for D7

Hello,

In our module we've released a few version after 3.45 (which is marked as recommended), but none of them are shown as "recommended" on the main page. How can we fix this and why it happened?

https://www.drupal.org/project/cleantalk
https://www.drupal.org/project/cleantalk/releases

Bad documentation

Some module documentation is so bad that it's quicker to rewrite my own module! This creates duplication of work. Developers are renowned for not doing enough testing and documentation. This is a huge sin! Open source has a massive downside... because people do the work for free, they only want to do the fun bits and not write good documentation.

Pages

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