Questions tagged [drupal]
Drupal is an open source CMS framework written in PHP. *IMPORTANT* Rather than using this tag, consider posting your question directly on https://drupal.stackexchange.com/. Also, because of substantial differences between major versions, consider using either the drupal-6, drupal-7 or drupal-8 tags.
drupal
20,357
questions
0
votes
1
answer
21
views
With DDEV add-ons, how can I install a custom command?
I am building a "ddev get" service for https://diffy.website so it is easy to take screenshots from local website.
I would like to provide a command "ddev screenshot" for this.
...
0
votes
0
answers
12
views
React-TS and drupal Login-cookie request
I have a Drupal website. There is a list of entries on the site. It is required to have a Drupal site and a separate React-TS site that manipulates entities on the Drupal site. The site and site ...
-1
votes
0
answers
10
views
How do I display a percentage progress bar when saving a node in drupal10
I need to perform a time-consuming operation on the server while saving an article and want to show the user a percentage progress bar during this time. I asked gpt4 and the answer was not effective. ...
0
votes
0
answers
10
views
Drupal 10.3 hook_entity_prepare_form()
I'm trying to set a text list field value when a form is loaded but can't seem to get the following code to work. As the value has dependencies I'm not able to use hook node form alter or use the ...
1
vote
1
answer
18
views
Where are the files located in a Drupal Docker installation?
Someone assisted me in installing Drupal with Docker on my Mac. (I am new to Drupal and it has been years since I last coded.) The site works fine. I would like to set up a custom theme, but when I ...
0
votes
0
answers
26
views
Composer Install Fails with File Deletion Error in Docker on Windows
I am experiencing an issue with running composer install inside a Docker container on my Windows 11 machine. The installation fails while trying to delete a directory, and I receive the following ...
0
votes
0
answers
13
views
Can I integrate Drupal document_ocr with tesseract?
I would like to use an open source image to text converter to populate text fields with in Drupal.
I tried setting the tesseract executable path in settings.php and thought that the document_ocr ...
0
votes
1
answer
73
views
Drupal 10 multisite using "ddev share" or Cloudflare
I need to share my local version of Drupal 10 multisite using "ddev share".
When I run the command ddev share, it only shows me the "default" version of the site (path web/sites/...
-1
votes
0
answers
18
views
How to link site studio components to View mode as well as with drupal fields?
I have site studio components which now i want to link them to View mode.
Also I want to link site studio components with Drupal fields. How can i do that?
Can someone explain above questions. Thanks
-1
votes
1
answer
20
views
Varnish Cache Age Header Always 0 for Entire Page
I have installed Varnish on a remote server and configured it for my Drupal website. The Varnish headers show that requests are passing through the Varnish server for the entire page, but it is not ...
0
votes
0
answers
35
views
Problems upgrading Drupal. The website encountered an unexpected error. Try again later
I'm upgrading from Drupal 9.3.8 to version 10 and I got the typical white screen with the following message. Any idea how to fix it? I am new to Drupal.
Error: Class "Drupal\Driver\Database\mysql\...
0
votes
0
answers
25
views
Table of contents in a Drupal site not returning content
I have a Drupal 10 (v10.1.x-dev) site that uses the toc_js (v2.1.0) contrib module. The table of contents is toggled on/off from within the admin toolbar and the container is rendering on the page but ...
-1
votes
1
answer
42
views
Drupal 10 on specific path of domain only
I have a Drupal 10 website that is currently hosted on a sub domain (events.mydomain.com) and I need to move it to a path of the main domain (mydomain.com/events).
I would need to move the whole site ...
0
votes
0
answers
22
views
Drupal Views : table view of documents using taxonomy hierarchy
I need help with a View in Drupal 10:
I've got a bunch Medias (documents) on my website. These documents are sorted using a multi-level Taxonomy like this:
- Term 1
- Sub Term 1
- Sub Term 2
- ...
-1
votes
1
answer
115
views
Composer Install - asset-packagist.org 404 not found error
I added the asset-packagist.org as one of my composer packages for my Drupal project.
"repositories": [
{
"type": "composer",
"url": &...