Newest Questions
88,144 questions
0
votes
1
answer
124
views
Embed a multi-step form (or multiple forms) which interacts with an iframe
Question about embedding a multi-step form (or multiple forms) which interacts with an iframe on a node
[updated on 10th June, 2025 for further clarity]
I would like anyone who are experienced with ...
1
vote
1
answer
59
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
22
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
1
answer
18
views
Changing filter logic to OR for specific filters
Does anyone know how to combine or group specific filter criteria in a View into an OR query instead of an AND query using the Views interface in the browser?
I like to have the most filters behave as ...
2
votes
2
answers
63
views
Custom submit handler from user registration form not working
I need to redirect new users to a payment page after the submission of the user registration form. The payment fee is contingent on their choice of subscription type (a custom select field on the ...
0
votes
0
answers
26
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 ...
0
votes
0
answers
117
views
trying to upgrade from 10.4.7 to 11.1.7 installed core-recommended but drupal/core still required
when trying to upgrade to 11 i get an error - Root composer.json requires drupal/core-recommended 11.1.7 -> satisfiable by drupal/core-recommended[11.1.7].
- drupal/core-recommended 11.1.7 ...
0
votes
1
answer
68
views
chainedfast cache optimal and consistent settings
settings.php
$settings['cache']['default'] = 'cache.backend.apcu';
$settings['cache']['bins']['bootstrap'] = 'cache.backend.apcu';
$settings['cache']['bins']['config'] = 'cache.backend.apcu';
$...
0
votes
1
answer
42
views
Put CAPTCHA round entire site [closed]
Our site (D10) is being hammered by AI bots to the point it's virtually unusable.
One option we have is to wrap the entire site in a CAPTCHA - so no access (even to public pages) without passing a ...
0
votes
0
answers
23
views
Converting View Exposed Filters (facets with bef) from Checkboxes to Select Elements While Maintaining Proper URL Parameters
I've been struggling for several days to display the same exposed filters (facets) as different form elements across two pages.
On the view's main page, the filters work correctly as checkboxes. ...
0
votes
0
answers
38
views
how to print paragraph fields in theme [duplicate]
My Article content type has a paragraph field.
My paragraph at /admin/structure/paragraphs_type/myparagraph/fields has fields called field_big_text and field_small_text
I can print the paragraph field ...
0
votes
0
answers
44
views
PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax
I copied my site (D7) to a new domain to carry out the updates in peace, and the content and forms are working fine.
I made a copy of the database and the folder www.mydomaine.it and placed them on a ...
1
vote
1
answer
70
views
Warning: PDO::__construct(): Server sent charset (255) unknown to the client
I recently transfered a Drupal 7 websites from one server using mySQL 5/PHP 5.6 to one using mySQL 8/PHP 5.6 (using WHM's Transfer tool).
Afterwards, I got this error:
Warning: PDO::__construct(): ...
1
vote
1
answer
133
views
Drush archive:dump exclude folder or file extension
https://www.drush.org/13.6.0/commands/archive_dump/
This command works ok in Drush 13 to exclude settings.php:
../vendor/bin/drush archive:dump --destination=https://waybackassets.bk21.net/mywebsite-archive-250525.tar.gz --...
0
votes
1
answer
31
views
Programmatic webform submission not attached to webform node reference
When creating a webform submission with WebformSubmission::create() for a webform that is referenced on a node, the submission is not attached to the node.
Enable webform, webform_ui, webform_node, ...