Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

I am trying to integrate a custom CKEditor 5 plugin (LanguageTool) into Drupal 10 using a custom module. The plugin builds successfully, but when Drupal loads the editor, the browser console shows: ...
Jency's user avatar
  • 1
0 votes
0 answers
46 views

I want to create a view in Drupal 11, but I want to add the values for that view through code. How could this be done? I’ve tried it, but the view appears empty and I can’t see the values. Here’s a ...
KisukeJav's user avatar
0 votes
0 answers
65 views

I'm using Drupal 10 with the Bootstrap 5 theme. I created a pattern with Pathauto: product/tag/[term:name] and set up a few brands in the taxonomy. The links became: mysite.com/product/tag/brandone ...
Mohammad Ghasemzadeh's user avatar
0 votes
1 answer
37 views

Drupal distribution built on "super theme" Open Social 13.0.0-alpha23 cannot be installed. This fails stan@pc:/var/www/html/soc13$ composer create-project goalgorilla/social_template:13.0.0-...
Bitlab's user avatar
  • 43
0 votes
0 answers
47 views

In my drupal project I have a form field: $form['field_consent_abcd']['widget']['value']['#title'] = t('Test text <a href="@url" target="_blank">target url text</a>.', [...
Rick's user avatar
  • 1,619
0 votes
0 answers
31 views

I have a Drupal 10 site where I created a view with an RSS feed. The links for the items are to various outside websites - for example https://www.yahoo.com/news_article. The problem is that my site ...
user3362751's user avatar
0 votes
0 answers
31 views

Facing the error in console how to solve this (function ($, Drupal) { Drupal.behaviors.chartClickBehavior = { attach: function (context, settings) { if (typeof Highcharts !== '...
B.lakshman's user avatar
0 votes
0 answers
73 views

I have a feature in this Drupal system I'm working on which has a map view (using Leaflet) that shows all terms under "Location" with the polygon as the highlighted area of the location. It ...
itskarendesu's user avatar
0 votes
1 answer
142 views

I'm developing a custom CKEditor 5 plugin for Drupal 10.4.5. The JavaScript for the plugin seems to be loading correctly, and I've defined it in my module's .ckeditor5.yml file. The plugin aims to add ...
Артем's user avatar
0 votes
0 answers
61 views

I'm trying to add a custom plugin that add HTML tag "small" via button in CKEditor 5. I'm using this guide: https://lembergsolutions.com/blog/how-integrate-ckeditor5-plugin-drupal-9-10-...
Артем's user avatar
0 votes
0 answers
62 views

I am trying to redirect a URL using the Drupal redirect module, but it doesn't work. It works when I try to use a slash at the end of the URL. The content type is page. For example - Redirecting ...
Prithviraj Mitra's user avatar
0 votes
0 answers
34 views

I have a unique ID for an entity (in this case a person). Due to the way the data was originally built and created, there may be up to 4 or 5 duplicate entries, but referencing different time periods. ...
Alex Monaghan's user avatar
2 votes
1 answer
63 views

The method function at() has been removed from phpunit 10 later. I changed from at() to once() but my tests still don't pass The test fails because you cannot order the condition() calls. php code: ......
bindi_m's user avatar
  • 150
-1 votes
1 answer
90 views

I have 2 content types created in Drupal 10 using Structure > Content Types > Add Content Type: Universal Page => universal_page Home Page => home_page How do I check for content type ...
User301276's user avatar
0 votes
0 answers
30 views

This is Drupal version 10.4.3 I recently moved a website to a new server. On this new server there is an issue with Drupal writing When I upload a file, it uploads correctly to /sites/default/files/, ...
jfc's user avatar
  • 407
0 votes
1 answer
88 views

all the above passages were done as admin. I have a website using Drupal 10.3.10, and PHP 8.2.23. I installed the Drupal module search_api, to be used with OpenEuropa search component (https://github....
OkenIte's user avatar
0 votes
1 answer
106 views

I want to use LIKE in query Drupal 10, use this $result = $connection->query("SELECT node_field_data.nid , node_field_data.title FROM `node_field_data` WHERE node_field_data....
morteza hosseini's user avatar
0 votes
0 answers
158 views

I am getting a page not found error message when trying to create a Controller and Route in Drupal 10. I am working with the Acquia Drupal Module Development course. I have created the module and ...
vlevasseur01's user avatar
0 votes
0 answers
30 views

I have what seems like a simple request (to me, anyway) but have not found a solution or discussion for this exact problem. I have a View creating a table of all my article nodes. Each row is a node, ...
DriveItLikeYouStoleIt's user avatar
0 votes
0 answers
79 views

Simple admin commands like "drush en" and "drush cc" result in "command pm (or cc) was not found. Drush was unable to query your database. As a result, many commands are ...
Walfried Veldman's user avatar
0 votes
1 answer
406 views

I am working on a Drupal 10 module that implements hook_entity_insert and hook_entity_update to auto-tag event-type paragraphs in a node when it’s created or updated. The hooks trigger logic that ...
Manogna's user avatar
  • 13
-1 votes
1 answer
534 views

When upgrading from 9.5 to 10.3, rendering the home page returns the error below. I've tried searching for the cause, but can't find it. The stacktrace mentions the theme, both the theme and ...
user3481441's user avatar
0 votes
1 answer
238 views

In Drupal 7 I used panels and page manager to create a URL and pass arguments to custom pages. A route might look something like /custom_section/!1/!2. I need to do something similar in Drupal 10. I ...
user3362751's user avatar
1 vote
2 answers
497 views

I am trying to get the URL of the media image served via JSON to the frontend, but I'm unable to do so. My expected output is the following. { "data": { "type": "...
Regokonda's user avatar
0 votes
1 answer
46 views

I recently migrated data from development project into staging server and I resolved the conflicts and the data is present in DB but in CMS it is showing empty records. (check pic) I cleared the ...
TripleA's user avatar
  • 63
0 votes
1 answer
43 views

I ask myself on how to do the following thing : Each user in the system has an avatar (media field in user account). I use the group module to build "organizations". Each organization has ...
titouille's user avatar
  • 138
-1 votes
2 answers
47 views

I need to sort the vocabularies in a page based on admin choice. To be clear, I am not talking about terms, I am talking about the vocabulary, the parent holding the terms. As per what I read, ...
MastaP's user avatar
  • 117
1 vote
1 answer
175 views

I am using a Windows 11 machine with docker desktop and WSL. I am trying to setup a new Drupal project (existing cloned one or recommended project clone using composer). But whenever I am trying to ...
KTM's user avatar
  • 868
0 votes
1 answer
46 views

Is it possible to Preview Drupal content by content type? Currently the preview template options are page--node--preview--f7fd5df8-d58d-42f8-b274-8d224eddbb5a--full.html.twig ▪️ page--node--preview-...
McHunkerson's user avatar
0 votes
2 answers
84 views

is there a simple way of adding a web component into drupal ? I have tried it but my component doesnt show, it removes the non-html component tag entirely, it loads the js file properly and when i ...
vrt15's user avatar
  • 25
0 votes
0 answers
32 views

<?php use Drupal\node\Entity\Node; /** * Implements hook_preprocess_page(). */ function alternative_title_preprocess_page(&$variables) { // Check if the current route contains a node. ...
svenjaleo's user avatar
1 vote
1 answer
365 views

Our Drupal website has been hosted on Acquia Cloud for a while, but with BLT support ending by the end of 2024, we need to eliminate our reliance on BLT. How can we achieve this transition? Use Cases: ...
Ram Sharma's user avatar
-1 votes
1 answer
109 views

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 ...
Josh Cronin's user avatar
0 votes
1 answer
139 views

I am new to Drupal and am creating a custom theme, but for some reason, the Image Field option is missing when I try to add a new field in the 'Manage Fields' section under Block types. This is a ...
cherakkal_a's user avatar
0 votes
1 answer
408 views

Suddenly received error message on drupal 10 url generated by ddev - Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/vendor/twig/twig/...
jeeva's user avatar
  • 1
1 vote
0 answers
166 views

I came here because after a day of searching I didn't resolve my issue. I tried to update a drupal system to 10.2.6 from 10.1.8 (since its not maintained on security release now). Luckily I remembered ...
Alexandre PEREIRA's user avatar
1 vote
2 answers
755 views

i am creating a form in Drupal 10 using Webform. i am able add elements like "Textfield", "TextArea" etc. When i try to add "File upload", nothing is listing. Please find ...
iamsumesh's user avatar
  • 665
0 votes
1 answer
463 views

I am developing a drupal 10 site with ddev in my ubuntu machine on process for overriding html.twig template in my bootstrap sub theme during debugging FILE NAME SUGGESTIONS shows name links--...
jeeva's user avatar
  • 1
-1 votes
1 answer
204 views

I'm using the Captcha module in the forms, but the client informed me that I'm receiving a lot of spam in the contact form submissions. How can I reduce this? And how can I test this locally before ...
ELIZ Des's user avatar
0 votes
1 answer
168 views

It's been 7 years that I don't use Drupal I want the visibility of a block only if there is a specific term in a specific taxonomy (vocabulary) So I go in and I can only choose the whole vocabulary ...
Antonio Gargiulo's user avatar
0 votes
0 answers
441 views

I have a fresh Drupal 10.2 installed on my server. I created a content type with 2 media fields. originally, when uploading using media module, I can see the image in my content creation page. However ...
Khaled development's user avatar
0 votes
2 answers
60 views

I'm trying to follow the instructions from https://docs.pantheon.io/guides/drush/drush-import to import a Drupal 10 site to Pantheon. After running the terminus command, I'm getting this error: [...
twiwtley's user avatar
1 vote
2 answers
308 views

I am trying to get rid of the Private files "Not fully protected" error in the Drupal 10 status report. Added $settings['file_private_path'] = $app_root . '/../private'; to settings.php. ...
Jim D's user avatar
  • 199
0 votes
1 answer
944 views

Once I create a new database, and import all data from the old one, update my settings and restore the folders and files, I get this error: No route found for "GET http://localhost/...
Amit Kumar's user avatar
0 votes
0 answers
72 views

TWIG code {% if 'export' in url %} <a href="{{ url }}"{{ attributes.addClass('btn btn-success') }}> {{ '@format export'|t({'@format': 'Export files'},{'context': 'kjus'}) }} </a&...
yTakeddine's user avatar
0 votes
1 answer
215 views

I've included a mfa.install file along with my module (mfa). After a few iterations my module now installs without errors but my two new tables are not added to the Drupal schema. Why? I uninstalled ...
user avatar
0 votes
1 answer
399 views

Weirdly, I'm getting an AJAX HTTP Error with Drupal 10 when trying to upload an image into a custom node type via Edit functionality. Here's the error: [ { "command": "...
George Salukvadze's user avatar
1 vote
2 answers
585 views

I am trying to upgrade drupal 9.5 to 10 but i am a little bit confused so i wanted some suggestion from here. currently drupal 9.5 is using php version 7.4 so do i need to upgrade php version and ...
Lal Kumar Rai's user avatar
0 votes
1 answer
70 views

I'm using composer require to install a module and ddev drush en module_name -y to enable it. I have over 10+ multisites. Is there any way to run the command only once so I don't need to do it ...
Albert's user avatar
  • 1
0 votes
1 answer
433 views

I'm encountering an issue while attempting to upgrade my Drupal core installation to version 10.2.4, which includes important security updates. Despite following the usual update procedures, I'm ...
Ömer's user avatar
  • 161