Previously working and now tries to reinstall itself

Drupal 8 on VPS. Nginx and php 7.2. Install went smoothly. Came back to it today and it then forced me to install again. Now I'm getting warnings during the install saying the directory files doesn't exist (it does), that default_settings doesn't exist (it does) and settings doesn't (it does). Not entirely sure what has gone wrong but no matter what I do I can't get past the requirements screen - and I'm not actually sure if I want to seeing as the site was working fine on Friday.

Anyone any ideas? TIA

Problem with hyperlinks

Good morning,

with a website running on 8.3.7 i have the problem that, when we change the path of an hyperlink, the browser of the users still point to the old path. In order to solve this, i have to clear the cache of the browser; is there a way to avoid this "manual fix" ?

Thank you.

Gutenberg module reusable

hello,

i have installed the module gutenberg and i don't have the option to convert block in reutilisable block why ?

i have last module version and last drupal version.

thanks

Change user_picture via REST?

I am desperately trying to change the user_picture via REST.

I already installed and configured REST UI including the /user/{user} endpoint, updating email or password via patch requests is not a problem:

[...]
Using: http://127.0.0.1/drupal/user/3?_format=json
send: b'{"mail": [{"value": "someone@somewhere.com"}], "pass": [{"value": "xxxxxx"}]}'
[...]

So basically the whole process seems to work.

Now I need to update the profile picture (=user_picture) via REST:

Can I use hook_form _alter to limit the results returned to a reference field?

Hi Guys

I have a views entity reference field that will only be displayed on the node edit form and I want to add an argument to it dynamically to restrict the returned results based on my argument.

My question was can this be done through the hook_form_alter?

----------------------- 

I have now figured out a way to do this and thought I would share in case others are struggling with the same thing.

in my hook_form_alter I used the following:

IT news portal with global audience migrated from Wordpress to Drupal

diginomica main page screenshot

Diginomica is a new type of media property designed to serve the interests of enterprise leaders in the digital era.

Sectors: 
Media
Publishing
Technology

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x