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

can't change the database password

Hello together, I've got a question about my drupal installation. I changed the password in my MySQL database. After that I changed the password in the settings.php too. But after that my site disappeared and I could not log in. When I changed the password again to the old one the site was back again. Can somebody help me with that problem? I changed my password the same way before and it worked. I don't understand why it's not working now.

Webform field default value from url

Hy,

I'm using Webform 8.x-5.9 in Drupal core 8.8.5

Is it possible to pre populate a webform text field by using url ?

Ex : mysite/mywebform?defaultTextValue=1

TextField = 1

How do I find all the fields linked to a variable which I get from variable_get?

Hi!

I've inherited from a Drupal website and so far running it has been ok. Now there are a few things missing and I'm looking into modifying current theme and modules made for the site.

So some of the 'site' information are obtain through variable_get('custom_site_info')['xxxx'] such as logo, url , etc... . I can see the missing information through the GUI but how to I find there variable names? More specifically I am trying to get the alt value from the site settings and I've failed to extract that value.

Thank you.

Frank

fields from a custom entity are not visible in admin->report->fields list OR in json:api field_config

Hi everyone !

I have a custom module, defining a custom entity.

I have follow this guide 
https://www.drupal.org/docs/8/api/entity-api/creating-a-custom-content-entity#s-building-a-bundle-less-content-entity-type-in-drupal-8

The entity works well, I can do all CRUD operation, view ...

I use it with the json:api, works great for the entity, my problem is with the fields.

Warning: Use of undefined constant

On our site, we are getting a log message with a Warning referencing code in a custom module:

My patch is failing to apply

Hi,

I'm trying to contribute to a module for the first time, but my patch is always failing to apply, can anyone explain to me why?

Here's the issue I've created : https://www.drupal.org/project/paragraphs/issues/3130327

I've followed the instructions at https://www.drupal.org/project/paragraphs/git-instructions

I did :

Pages

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