Questions tagged [10]

Version tags should be used for questions that apply to a version only, not to merely say what version a site is using.

Filter by
Sorted by
Tagged with
1 vote
1 answer
62 views

how to create modal on load of page

The following code is not working for me. $config = \Drupal::config('popup.settings'); $title = $this->t('Fnord'); $content = [ '#type' => 'processed_text', '#text' => $config->get('...
chetana khatke's user avatar
1 vote
0 answers
43 views

#ajax not triggering on textfield or any fieldtype other then select

I'm completely clueless about the problem. I have tried to google but have not found any similar issues. My AJAX callbacks work only on the select field type, but I want to trigger ajax on textfield ...
Alex Pshegodskyi's user avatar
-2 votes
0 answers
84 views

How to unlink H1 headings of nodes in a view of nodes?

I have a view of several nodes concatenated one after the other. My problem is that the H1 heading of each one of these nodes is a link leading to the node itself, but I don't want it to be a link, ...
mahtir's user avatar
  • 1
0 votes
1 answer
55 views

How to force the browser to refresh the CSS/JS files

I've made a small change on a view (added a new class) and some related changes in the CSS files of the theme. Since the config change (HTML output) is immediately in effect, I need the browser to be ...
s427's user avatar
  • 755
0 votes
0 answers
34 views

Trouble upgrading from 9.5.11 to 10 [duplicate]

I already used the Upgrade module and cleared everything on there so that I am at 100%. Now, I am using the upgrade guide for 9 to 10, as found at: https://www.drupal.org/docs/upgrading-drupal/...
user avatar
0 votes
0 answers
22 views

Design settings for "grouped" field

I group by a field in a table. The grouping is correct. The field content is inserted as the respective heading. Is it possible to customize this output in the design? Customize HTML code with the ...
Frank Giesecke's user avatar
-3 votes
0 answers
34 views

Can we override from email address using webform email handler? [closed]

I am using smtp to send the mail. But I need to override this mail using webform email handler. Also I am using Domain module, so I need to change from address for all Domains.
user113194's user avatar
0 votes
1 answer
15 views

Egulias Email validator error when upgrading from Drupal 9.5 to 10.1.8 using composer

I am trying to upgrade from Drupal 9.5 to 10.1.8 using composer. I have used upgrade status module to ensure that all modules are compatible with Drupal 10. I have used the composer command to begin ...
Binny's user avatar
  • 890
-2 votes
0 answers
18 views

A photo shows up on the preview page but not the actual homepage [closed]

I am new to Drupal 10. I am using it on a local computer and following the instructions from the Acquia Academy site. I am trying to upload a photo and I am having some issues. I can get the photo to ...
vlevasseur01's user avatar
0 votes
0 answers
33 views

Problem with psr/container

I like to update drupal from 9 to 10. I used the update status to get a clean environment with 100% compatibility. I uninstalled drush. Then I run the following commands: composer remove drupal/...
schulle877's user avatar
3 votes
1 answer
53 views

Handle module dependency in a contrib submodule

I am maintening a contrib module in which there's a submodule. This submodule needs commerce_product module to work, but the module doesn't. In drupal CI pipelines I've got some warnings from phpstan ...
MacSim's user avatar
  • 804
-1 votes
0 answers
47 views

CSS files are missing [closed]

I Installed Drupal 10 on Windows 10 and IIS successfully, but then Drupal page is not running css and its flat. C:\inetpub\wwwroot\drupal\sites\default\files does not contain a CSS folder.
lee's user avatar
  • 1
0 votes
0 answers
19 views

File migration issues

Well - where to start? I'm trying to migrate a medium-sized Drupal 7 site to Drupal 10. I am just going to concentrate on the migrations of files. I'm confused by a few things. One is that I am by ...
Steve Hanson's user avatar
0 votes
1 answer
34 views

how to prevent Quoted Orders from appear under both Quoted and Completed sections for the Orders page; Completed Orders also appear under both

Orders are showing up in both COMPLETED and QUOTED.. my screenshot here shows only Quoted Order, yet they appear for BOTH: (please note the first screenshot does not feature any fully completed ...
allenski's user avatar
  • 101
1 vote
2 answers
97 views

mkdir(): Permission Denied in core/lib/Drupal/Component/PhpStorage/FileStorage.php

On every site page, I am getting these errors: User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 123 of core/lib/Drupal/Component/...
leeksoup's user avatar
0 votes
0 answers
38 views

Why isn't Messenger working as expected in my submitForm?

I have this custom form (which is a tableselect): In the submitForm, there are two possible cases: The user has already made a reservation and a warning message is displayed: The user makes his ...
gbmapo's user avatar
  • 1,066
0 votes
0 answers
20 views

Why do I get "unknown revision" when I try to make a patch?

I am following the instructions for making a patch at: https://www.drupal.org/docs/develop/git/using-git-to-contribute-to-drupal/working-with-patches/making-a-patch The module and release I am ...
arnoldbird's user avatar
  • 1,173
0 votes
0 answers
11 views

Webforms Warning message: Update the Input Mask Library

I've been looking at the Warning message to download and update the Input Mask library to version 5.0.x for some time now. I've tried all the suggestions at https://www.drupal.org/docs/contributed-...
esod's user avatar
  • 319
-1 votes
0 answers
37 views

How to have a field image display a dynamic default?

This question can be subdivided in 2 linked problems : display an image field in a node despite being empty. if it's empty, display an image dynamically decided by the context (domain, taxonomy of ...
Thony's user avatar
  • 371
0 votes
0 answers
44 views

Why are external links not valid URLs?

I have a Drupal 10 intranet site on our school's internal network. I want to add a link to an intranet webpage on another server on the network. The url is similar to "https://10.100.99.9/...
David Anderson's user avatar
0 votes
0 answers
21 views

How to enable Submit Button after filling out the required fields in webforms?

I have Added A condition on webform where submit button is enabled when on required field is filled as in below screen shot. But when last name or phone code is filled the field enable, sometimes on ...
Z CHAMP's user avatar
  • 62
0 votes
1 answer
86 views

Issue Installing First Drupal Module with Composer

While setting up a new Drupal 10 site with composer, installing the first module using composer causes a 500 (internal server error) for all pages. This is my first time installing any version of ...
Mike Chess's user avatar
0 votes
0 answers
23 views

Different alt-text per node for media entity image

Is there a known solution for beeing able to change the alt text of an image (From the media module) on a node level. So I have one image in my image library. I have two nodes. Node 1: About me, ...
Joost's user avatar
  • 1,318
0 votes
0 answers
35 views

Unpublished regions appearing on pages for anonymous users

I inherited the site I'm working on. We are using the Content Moderation module and running Drupal 10. Looking to allow administrators to 'unpublish' certain on-page content types by adding them to ...
iowebmstr's user avatar
2 votes
1 answer
81 views

All users can't login

After migrating from Drupal 9 to Drupal 10 all users can't login. I tried: Removing settings.php and adding a new version Emptying the sessions table in the database Clearing cache, updating database ...
Joost's user avatar
  • 1,318
0 votes
2 answers
74 views

What is the syntax for "if the image style does not exist and if no image style is selected"?

I'm encountering an issue when calling a preprocess function to load a styled image URL. This issue is based on the question here. The following Preprocess Paragraph function sets the style based on ...
CocoSkin's user avatar
  • 893
-1 votes
1 answer
128 views

Drush Launcher does not work

Drush Launcher gives an error in an environment updated to Drupal 10.2. The environment is Drupal 10.2, PHP 8.2, Drush 12.4, Drush Launcher 0.10.2. Specifically, I get the following error [user@host ...
Skyyade's user avatar
  • 23
0 votes
1 answer
57 views

How to load commerce order based on purchased entity?

I know how to load an order based on its properties by following code $orders = \Drupal::entityTypeManager()->getStorage('commerce_order')->loadByProperties(['type' => 'default']) Since ...
Rifas Ali's user avatar
  • 490
-3 votes
0 answers
73 views

How to upgrade both Drupal and Drush at once? [duplicate]

To do a minor upgrade for a Drupal project I do composer update but I have learned that this global command will not upgrade Drush. If Drush is an add-on over a Drupal project, why then this global ...
just someone in the void's user avatar
-4 votes
1 answer
140 views

A site is upgraded but not to the latest version because Drush isn't upgraded to the lastest version - why does it happen and how to upgrade Drush?

A site was upgraded from 10.1.7 to 10.1.8 instead to 10.2.2. There were no errors along the upgrade process but from composer why-not drupal/core 10.2.2 it is indicated that my Drush version is too ...
just someone in the void's user avatar
0 votes
0 answers
11 views

Webform UTM Prepopulate

Running Drupal 10 and I have a webform with the setting "Allow all elements to be populated using query string parameters" enabled. I have a field called utm_source and I have a value in my ...
Delford Chaffin's user avatar
-2 votes
1 answer
54 views

Check If field exists on node and perform action?

How do I check to see if a field is being used on a node and if so, perform an action elsewhere on the page, such as moving a block or adding a body class?
Sam's user avatar
  • 583
1 vote
1 answer
40 views

How can I hide the Text Format selector when there is only one?

When a user has only a single text format option, just Filtered HTML for example, the selector is still shown even though there are no other options. How can we remove this when there is only one ...
quantumized's user avatar
  • 1,217
0 votes
2 answers
89 views

How do I get the image URL with the same style setting in Manage Display?

I'm creating a paragraph template. It renders images and other fields to create a layout design. While I can successfully render all fields, the challenge is to render the style applied in the Manage ...
CocoSkin's user avatar
  • 893
0 votes
0 answers
25 views

nodeaccess hidden main menu navigation

I have enabled the nodeaccess module for my Drupal 10 site and trying to figure out how to display the site menu navigation for certain user roles. In Drupal 7, there was a module called Always ...
Chad's user avatar
  • 1
0 votes
1 answer
58 views

Arrange images and text side-by-side

I've created a view for selected articles to be featured on the homepage. Each article includes the following fields: image, title, body. Currently, these elements are arranged vertically, but I aim ...
radekjoachim's user avatar
0 votes
1 answer
73 views

Block config not saved apparently due to an enforced 303 status

After upgrading from 10.0 to 10.1.7, changes to block configuration were no longer saved. I cannot reproduce this in an out-of-the-box instance. I've turned off all custom modules and as many of the ...
JAyenGreen's user avatar
0 votes
0 answers
25 views

Webform remote post, configure fields

We have a webform and we need to send data to a multiple endpoints using remote post options. Drupal10 does not allow (?) to change field names when we send them to 3-th party systems and since we ...
Dmytro Pastovenskyi's user avatar
0 votes
1 answer
34 views

Inject code just after Body tag

I need to inject some code inside of head and body tags. I managed to add code inside of head using hook_page_attachments_alter but I can't do same for Body. Can somebody point me into right direction?...
Dmytro Pastovenskyi's user avatar
-1 votes
1 answer
75 views

How to add a prefix to all taxonomy terms of a given vocabulary?

I wish that any term will have a prefix like articles in the topic of so to get: Articles in the topic of term. How to do that?
termer's user avatar
  • 1
0 votes
0 answers
84 views

Problem with lando APPSERVER URLS

I am setting up lando/Drupal 10 on a Mac. Everything goes OK until: ⚠ APPSERVER URLS ✔ https://localhost:51477 [200] ✔ http://localhost:51478 [200] ✖ http://drupal10-app.lndo.site/ [...
Dorian Winterfeld's user avatar
1 vote
1 answer
47 views

The username used for a failed login attempt is not reported anymore

Just completed a migration of a site from Drupal 7 to 10, and it's gone pretty smoothly after quite a bit of preparation. One thing seems different in a frustrating way: In the prior site on Drupal7, ...
AlexT's user avatar
  • 13
0 votes
1 answer
26 views

Rules Action 'Set a data value' of a DateTime with CurrentDateContext is not using UTC date

I am having a hard time finding documentation on this. I have a Date and Time field (field_start_time) in a Drupal 10 ECK Entity (wo_time_clock). I found that it is saving the date and time in ISO ...
tawellman's user avatar
2 votes
1 answer
35 views

How do I translate the default meta tags?

I dont see any option to translate default meta tags. Any tips? Admin url is at admin/config/search/metatag/taxonomy_term I am using metatag version 2.x
giorgio79's user avatar
  • 4,621
-2 votes
1 answer
80 views

Dependency issues do not allow to upgrade [closed]

I'm trying to upgrade a project to 10.2 but I should update my modules first. Running composer update throws this error. Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead ...
Jorge Montoya's user avatar
0 votes
1 answer
32 views

What do I enter in the API Username and API password for the Commerce CardPointe module so that it works with Clover Connect?

I have installed the Commerce CardPointe module in Drupal 10 and have a merchant account with Clover. The module asks me to input the API Username, API password, merchant ID and Site. I know the ...
Jeff Sutherland's user avatar
0 votes
1 answer
41 views

I can't create new fields of type image

Drupal v10.2+ has that new shiny admin UI for creating new fields. However, that new shiny page does not allow the creation of new image fields (the non-reuseable image files, NOT the reuseable media ...
Hudri's user avatar
  • 5,472
0 votes
1 answer
67 views

PhpUnit 9.6.16 with Drupal 10.2 unable to write to output directory: How to fix that error?

I have multiple sites running Drupal 10.1.7, all are using custom modules with appropriate functional tests. The tests are running fine. Now, I wanted to update the sites to Drupal 10.2.2. This update ...
Paul's user avatar
  • 1,193
-2 votes
1 answer
60 views

How can I avoid a node is crawled and indexed by search engines in the tightest way possible? [closed]

I have a node whose path alias is /example, where I test JavaScript and often share it with fellow JavaScript programmers to consult about how best to do something. I often need to post the URL for ...
drupaler's user avatar
-2 votes
1 answer
87 views

Is there a Drupal way to make a menu horizontal and responsive and leveled (similar in style and behavior to a main navigation menu)? [closed]

I have added a menu to a block in a full width region but my problem is that this menu appears vertical and I didn't find a way in Drupal to make it horizontal, similar in style and behavior to a main ...
drupaler's user avatar

1
2 3 4 5
7