marinelli theme in Drupal 8

How to get-rid of root-directory name on file system paths of Drupal 9

In all previous drupal installations that I had all files were uploaded by default on “sites/default/files/…”

On the two fresh Drupal-9 installations I used this month, seems that this default setting has changed. So, If I want to upload and have an image on a page, the path should be “root-dir/sites/default/files/..”

Did I get something wrong on my installations of Drupal 9?

Is there a way to get rid of that “root-dir” name on the start of my file paths?

Thank you in advance

------------------More Info

How to edit index.html thru Drupal 8.x?

Hi everybody,

I have problem with editing my index.html which is located on www.xxx.sk, I've installed Drupal CMS version 8.7.5 on the same hosting, database etc.. Everything works fine but I can't see my index.html on drupal cms , so I can't edit it. My question is, if it's even possible to edit html page which was not created trhu drupal? Without converting it to the theme? Do I need add some tags in index.html for define which block need to be changed ?

Thanks 

Error enabling uc_attribute

I'm having a strange error enabling uc_attribute.

Drupal v 8.9.2, Ubercart 8.x-4.0-alpha5

drush pm:enable uc_attribute gives this error:

creating a page with showed list

Hello everyone! I'm very new to drupal world and my partners ask me to update and renew their old drupal 6 website; at the moment a friend helped me updating drupal version from 6 to 8. This is the website: www.iisbeitalia.org. The main things about the old website were 3 pages where a list of users was showed - example: page 1 = list of registered users experts in subject A, page 2 = list of registered users experts in subject B, page 3 = list of C subject experts...

How to create hook form alter

I'm frustrated. I just want to create a module which simply checks if the current content being opened has been created by currently logged in user else deny it.

We can do using form_alter.

But I'm not able to find full source code(including *.yml files).

All examples(including example module in Drupal) show path in routing.xml. I don't need a path actually.

Where is the full source code example just for this?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x