Drupal is up and running but how do I ...?

Drupal 10 - URL placeholders for passing arguments

In Drupal 7 I used panels and page manager to create a URL and pass arguments to custom pages. A route might look something like /custom_section/!1/!2.

I need to do something similar in Drupal 10. I have been creating pages by adding basic pages and using layout builder to add blocks. I can add contextual filters to views blocks and get them to work in the views preview. I just can't figure out how to pass the arguments to the views blocks in the page.

[SOLVED] Newbie: The website encountered an unexpected error. Try again later.

Hi Drupal Community

HELP!

After our website developer went AWOL, I have been trying to look after our Drupal site by myself but am completely new! I have tried not to make any major changes to the site but today, I tried to log in using the domain name/user/login pathway I always do and I got the above message. Every page of the website comes up with the same message.

Multiple nodes edit forms on same controller page D10

Hi all,

In my custom module controller page I output a series of different nodes edit forms with this code:
 

$nodes = \Drupal\node\Entity\Node::loadMultiple($query);
foreach ($nodes as $node){
$form_n=\Drupal::service('entity.form_builder')->getForm($node);
$output.= \Drupal::service('renderer')->render($form_n);
}

They rendered correctly but I cannot save them because I think they have the same form_id, so it will let me save only the first one.

Error moving website to another server

I have moved several websites to a new server without issue. I do this by zipping all the files and the database. I amended settings to point to the new database. But the last site gives an error message (see below). The only difference is site size. The DB is around 130MB which has been copied over using SQL splitter software (10 files). Checking the DB gives no errors.  The source files and database backup files have been successfully installed on another server, albeit with a different O/S - Centos 7 whereas the new servers are running AlmaLinux8.

Invalid URIs Cause Database Queries

We had to turn on MySQL's general log to satisfy a security requirement. Recently our site was attacked with a zillion bogus requests. 99.99% of these resulted in 404s it caused our disk space to fill up because the general log was recording every query caused by these bogus requests. Why does Drupal do this? 

Is there any way to stop this from happening?

[Solved] My images are not showing in CK Editor 5

Hi

I use Drupal 10 and of course ckeditor5.
Unfortunately, I do not see the images or videos that I insert in the editor.

However, I see them well in the page.

However, I see them well in the page.
In the editor, I only see the two arrows to insert a paragraph above or below.

In the console I receive the following message:

Pages

Subscribe with RSS Subscribe to RSS - Post installation