Questions tagged [10]
Version tags should be used for questions that apply to a version only, not to merely say what version a site is using.
497 questions
1 vote
0 answers
18 views
Configuration abc.config depends on abc extension that will not be installed after import
I have a problem trying to import a webform config. The form uses a custom handler that was written by my workmate in a custom module called xyz. In the module, it declares and use a config named ...
1 vote
0 answers
37 views
How can I show the moderation state for each media revision?
I need to display the moderation state for each revision of a media entity. Currently, I can see the revision history of media items, but the moderation state isn't visible or associated with each ...
0 votes
1 answer
27 views
Responsive Image Style module not respecting sizes provided
I'm not sure where I'm going wrong here. I'm working on setting up several responsive image sets for various sized images and starting with small. I have two image styles for this, one scales to 200px ...
4 votes
0 answers
62 views
Is there a difference between the two POST methods in the webform module?
I'm using the form custom settings of the webform module to send newsletter subscription data to phpList through POST, which is working very well. The problem is only, that the phpList link is ...
0 votes
1 answer
92 views
TRUNCATE TABLE page cache
My Drupal site is hosted on OVH. The database went over quota (more than 1GB), mostly because the cache tables were too large. I truncated them via phpMyAdmin (TRUNCATE TABLE ..), but now the site ...
0 votes
0 answers
50 views
Preserve leading zeros in a numeric field
I'm working on a Drupal 10 site, i have create a content type "Content" which includes a numeric field field_num. The issue is: After the pubblication users need to enter values like 00123, ...
0 votes
0 answers
43 views
Issue with taxonomy term ID and views
I'm using Drupal 10 with the Bootstrap 5 theme. I created a pattern with product/tag/[term:name] and set up a few brands in the taxonomy. The links became, for example, mysite.com/product/tag/brandone ...
0 votes
1 answer
100 views
Can I change the field type of the title field in a custom content?
If I create a custom content type in Drupal 10, it has a title field whose type is text. Can I change it to number? The content type is apartment, and the natural title is the apartment number. It'd ...
0 votes
0 answers
76 views
cache_page table too large [duplicate]
I'm working with a Drupal 10 website in production hosted in a Windows VM using WAMP (Apache + MySQL). The site contains multiple pages with images. However, the database size keeps growing rapidly, ...
1 vote
1 answer
312 views
How do I increase the maximum file upload size?
I have a Drupal 10 site running on Ubuntu 22.04 via Apache 2. I'd like to increase the maximum file upload limit, but the guidance I've found seems incomplete. Following several other posts on this ...
0 votes
0 answers
40 views
Restore access to frontpage after making it forbidden
I have a website where I use the book module to structure my pages. I made a custom module to forbid access to a node based on a boolean field in the book parent. Simplified: When this field is set to ...
0 votes
1 answer
30 views
Add a filter for 'This year' and 'Next year'
I've found plenty of articles describing how to add views filters for years, a dropdown displaying 2024, 2025, 2026 etc, however I want to display a rolling filter (so it doesn't need to be changed ...
1 vote
1 answer
80 views
Retrieve route for given path, if one exists
I'm trying to pass a URL to my custom form and check it against any route that exists within the site so that I can perform actions on it based upon my own arbitrary criteria I've checked against the ...
1 vote
0 answers
27 views
Handling DATE_ADD() in custom filter plugin
I'm working on a custom Views filter in Drupal 10 and encountering an issue with the DATE_ADD() function in my SQL query. MySQL is capable of handling interval queries, and I attempted to implement ...
0 votes
0 answers
32 views
Initializing paragraph field [duplicate]
In Drupal 10, I am using a Paragraph field in a content type, and I want to display 18 Paragraph items by default (when creating new content). How should I do? Goal: When a user creates new content of ...