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

Do I need to write a Module/Snippet? (Newbie)

Building my first Drupal site. Drupal 10.

I have a Content Type called "Kind of Things", say, which has a field "Amount of these kind of Things", say.

I'd like to construct a block which displays a count of nodes in "Kind of Things" and a sum of the integer fields "Amount of these kind of Things".

Something like "There are 56 different kinds of things, a total of 1089 things in all".

Module says email was sent but system says it was not

Suddenly, our production system has stopped sending most emails. The logs just show “error sending email”, but on the page after you submit a form, it says “Unable to send email. Contact the site administrator if the problem persists.” . This happens when a user signs up for an account and on a custom module I created. There are no errors in the system maillog file.

To try to debug, I installed the simple Send Mails module. It sends mail without issue! Looking at its code and my custom module’s code, the mailManager call is almost the same.

Missing cache context from local tasks (tabs)

As title suggest local tasks by default adds "route" cache context but my client somehow avoided it. All tabs on all pages looks the same.

I am struggling to recreate this issue and I suspect this is random case because it happened more than once in last 2-3 weeks, but it seems random. Before that everything was working fine for ages. I am using Drupal 10.2.2.

Any idea or lead how this happened would help, because I am running out of ideas. Thanks in advance.

https://i.stack.imgur.com/OOS3H.png

Permission related issue on Custom plugin for CKEditor5.

Hi Everyone,

We need your help to resolve the below issue which we are facing.

Within our Drupal migration initiative from version 9 to version 10, we are in the process of adapting a custom CKEditor5 plugin designed for the purpose of managing image selection from our gallery. While attending to permission-related considerations, we have fine-tuned the permissions by configuring options for both "Anonymous User" and "Authenticated User." However, when attempting to initialize our plugin by clicking on its icon, we encounter a permission denied error.

How to get all nodes WITHOUT an image via JSON API?

Hello,

I can retrieve nodes by title filter, even upload images to nodes etc. via JSON API, works great.

In the entity type event I've got a field: image.
Now, via JSON API, I'd like to retrieve all nodes (or the 'next' node) that does not have an image.

How do I retrieve those?

Simple_oauth module problem with keys

I have setup the project. The project I got from someone. 
I have a react website and it is connected with headleass drupal. When I try to login the tokens are generated but the website stuck. When I see the logs in the drupal I get these error below.

 

Pages

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