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

PHP in block?

Hi, after upgrading to Drupal 10 the PHP filter module does not work. I'd like to be able to put some php code in a block. On the Drupal Module site you can read the following: "There are better alternatives out there".
Where are those alternatives?

passing data to form from another page

Hi,

I am trying to send few data to the form so that I can show those data as label or default value to the textbox

So I have this route in module1 which is for the Form:

ServiceCatalogManagement.upsert:
  path: '/servicecatalog/upsert'
  defaults:
    _form: '\Drupal\ServiceCatalogManagement\Form\UpdateServiceCatalogForm'
    _title: 'Insert or update the service catalog data info'
  requirements:
    _permission: 'access content'

And i Have this controller from module2

[Solved] JSON:API and Node Access Module - but leaked metadata was detected

Hi All, If I am logged into Drupal in first browser tab and I use JSON_API to retrieve Drupal data in second browser tab I get the data OK. If I am not logged into Drupal in the first browser tab then I get an error retrieving data in the second browser tab: "The controller result claims to be providing relevant cache metadata, but leaked metadata was detected. Please ensure you are not rendering content too early.

D10: Creating a new user via a webhook

Dear community,

hope you are well and summer is fun. I've been working alot of my Drupal 10 news magazine, but it all went so well, that i did not have many questions lately, therefore i didnt post anything in the last weeks.

Now i am in the final steps in setting up my news mag, and i want to create 2 accounts in one take, for user registration. I think it's called SSO (Single-Sign-On). But not 100% sure if that describes correctly what i need.

Bootstrap Barrio subtheme

Hi.

I've just migrated from D9 to Drupal 10 and are using Bootstrap. In Status details I find this error message:

"The following theme is marked as installed in the core.extension configuration, but it is missing:

Contact form crashes Drupal

Hi,

I've just migrated my D9 site to Drupal 10, but I can't get the contact form to work.

I download the Captcha module and install it. I fill in the form and click send. Drupal now gives me this error:

"The website encountered an unexpected error. Please try again later."

Ihave tried again "later", but the form crashes the site and makes it unusable. If i remove the module, everythings works fine.

Pages

Subscribe with RSS Subscribe to RSS - Post installation