Newest Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
16 views

Can I change the field type of the title field in a custom content?

If I create a custom content type in Drupal 10, it has a title field whose type is text. Can I change it to number? The content type is apartment, and the natural title is the apartment number. It'd ...
user85177's user avatar
0 votes
0 answers
16 views

Setting title not working on a single custom entity edit form

What circumstances could make setting a title to a regular custom entity edit form fail completely? The title displayed is the result of calling $entity->label(). _title or _title_callback in ...
Gábor's user avatar
  • 928
0 votes
0 answers
18 views

Source tab missing from Webforms

ISSUE After updating to Drupal 10.5.2 and Webform 6.2.9, the "Source" (YAML) tab is missing from the Webform builder interface, even for admin users with full permissions. What I’ve tried ...
Rooze McKelvey's user avatar
0 votes
0 answers
33 views

I force dir="ltr" but Drupal or CKEditor brings back dir="rtl" - how to solve that if at all possible? [closed]

In Drupal 11.2.2 with Arabic as main language and English as a second language, I have a node set to English. When I edit it, I use the following JavaScript code to make everything have an ltr ...
stuckwiththisalongtime's user avatar
1 vote
0 answers
47 views

How to install Open Social with a secure Drupal core version? [closed]

I’ve been trying to install Open Social via Composer, but I keep running into the same issue: Open Social 13.x requires Drupal core 10.3.9, which currently has a reported security advisory. Open ...
Naomi888's user avatar
-2 votes
1 answer
43 views

DrupalGap for Drupal 10 [closed]

I try to update drupalgap 8 to be compatible with drupal 10. After updating some line ofr code in de drupalgap.module file my test connexion (link https//..../admin/config/services/drupalgap) word ...
user6219462's user avatar
1 vote
0 answers
47 views

$form_state->setRedirectUrl() is ignored on my custom exposed form submit handler

I'm using hook_form_alter() to add a custom submit handler to an exposed Views search form that's supposed to redirect the form after submitting, but it is being ignored. I've confirmed that the ...
quantumized's user avatar
  • 1,359
0 votes
0 answers
78 views

Edit pages are Rtl even though the node is set to an LtR language

Drupal 11.2.2 core with an Olivero sub-theme just for some custom CSS and JavaScript and with Arabic as default language and English as secondary language. I have created a content type (node type) ...
stuckwiththisalongtime's user avatar
2 votes
1 answer
117 views

How do I translate a route?

I want to translate a route so that the same controller can provide content at the path for each language. I would like to do this with one route, but I do not see any way to do that. Instead, I have ...
Liam Morland's user avatar
1 vote
2 answers
78 views

SDC component CSS files are not being picked up on a page reload, requires "drush cr"

Working in the .../themes/custom/mytheme/components/component-name/component-name.css standard, none of the changes to this CSS file are seen in the browser until I do a drush cr. I do have ...
alphex's user avatar
  • 78
0 votes
0 answers
97 views

How can I update when an unsupported Composer plugin is used?

I get this error message when I use Composer to update. Your site cannot be automatically updated until further action is performed. An unsupported Composer plugin was detected. drupal/core-recipe-...
mysticw's user avatar
  • 13
0 votes
0 answers
68 views

cache_page table too large [duplicate]

I'm working with a Drupal 10 website in production hosted in a Windows VM using WAMP (Apache + MySQL). The site contains multiple pages with images. However, the database size keeps growing rapidly, ...
ELIZ Des's user avatar
0 votes
0 answers
78 views

Can I define new language prefixes for aliases?

In a Drupal 11 website with Arabic as the default language, English is also installed as a secondary language. Only Arabic nodes have aliases but I consider to add aliases for nodes in English as well....
stuckwiththisalongtime's user avatar
0 votes
0 answers
63 views

Set value in form Ajax callback to be used in validation

I have a Commerce checkout form consisting of multiple panes where I need to make some decisions concerning later validation in an Ajax handler. I would like to store some simple value like a bool ...
Gábor's user avatar
  • 928
1 vote
0 answers
48 views

Gitlab CI running locally with ddev - [user-name]@git.drupal.org: Permission denied (publickey)

I'm following these steps to run the gitlab pipeline locally: https://project.pages.drupalcode.org/gitlab_templates/info/test-locally/ In this step: $ drupal-ci-local composer I get this error: Error:...
dxvargas's user avatar
  • 1,005
0 votes
0 answers
25 views

Views Vanilla Javascript Slideshow (VVJS) repeating images below the cycling display

Update: This likely doesn't have anything to do with the VVJS slideshow module. If the related View is disabled or just removed from the page block originally assigned, the images associated with the ...
Charles's user avatar
  • 225
2 votes
1 answer
136 views

Caching API response based on origin

I have a restful API anonymous endpoint that can be called from different sites. I determine the allowed origin when the request is made from a list of possible allowed origins. The problem is that ...
Lambic's user avatar
  • 730
1 vote
0 answers
37 views

Which widget would work to allow the visitor to make a radio selection per entity?

I have a list of "candidates" via a views entity display. For each of those candidates, I'd like the visitor to be able to choose "yes", "no" or "maybe" (i.e. a ...
Alan Dixon's user avatar
0 votes
0 answers
24 views

Image path changed after adding translation or clone

I am facing the following behavior. Pattern 1 Create English content Upload an image to Thumbnail field (this is a content field) Add a paragraph and upload an image (paragraph field) Add Japanese ...
Ryugo's user avatar
  • 61
0 votes
1 answer
28 views

Show taxonomy fields on node form

I have a a content form that includes a reference to a taxonomy and allows for new taxonomy terms to be added from the node form. The taxonomy has two fields, both of which are marked as required. ...
Bobtail3095's user avatar
0 votes
2 answers
50 views

Product page displays only one variation

I'm encountering an issue that I haven't been able to resolve despite extensive research. On a store that sells records, I have a product type called "album". This product type includes two ...
Sylvain's user avatar
  • 33
-2 votes
1 answer
126 views

Page not found if alias is not in the default language of the website [closed]

Drupal core 11.1.5 without any contribution modules or contribution themes and without any PHP customizations. The default language of the website is Arabic and a secondary language of the website is ...
stuckwiththisalongtime's user avatar
1 vote
2 answers
78 views

How to update the "Text Formats" of a field?

In the "Article" content type, there is a "body" text field. I have over 100 articles, and the "Text Formats" for this field is currently set to "plain text." I ...
Sophie's user avatar
  • 13
2 votes
0 answers
31 views

How to translate the menu path / URL of a View with a contextual filter?

I have a view with a contextual filter whose values are provided by the URL parameters. The "menu path or URL of this view" set to view_path/%. I would like to be able to translate this so ...
Liam Morland's user avatar
1 vote
1 answer
119 views

How do I increase the maximum file upload size?

I have a Drupal 10 site running on Ubuntu 22.04 via Apache 2. I'd like to increase the maximum file upload limit, but the guidance I've found seems incomplete. Following several other posts on this ...
Borea Deitz's user avatar
0 votes
1 answer
77 views

Is it possible to secure a directory with user account access? [duplicate]

Our Drupal 10 website has a directory within the /web directory that contains HTML files, which is basically a self-contained website within Drupal. Is it possible to secure access to this directory (/...
quantumized's user avatar
  • 1,359
0 votes
1 answer
36 views

How to pass arguments to webform entity_select element from another element value

Title: How I pass arguments to one entity_select based on another in Drupal 10 Webform Problem Summary Drupal Version: 10.4.5 Webform: 6.2.9 I have two webform_entity_select fields: Dog Type and ...
Alex's user avatar
  • 312
0 votes
0 answers
35 views

How to avoid caching problems when "Remember the last selection" is used with Views exposed filters in block

The Views page display in question uses exposed filters in block, Better Exposed Filters, no AJAX. It is restricted to a particular role. The exposed filters all have "Remember the last selection&...
davejenx's user avatar
  • 411
0 votes
0 answers
23 views

Relationship is not preserved while migrating

I am trying to migrate a relational tables songs and author and bridge table from a mysql database to drupal. Although songs and authors are getting exported but their relationship is not getting ...
imtinan's user avatar
0 votes
0 answers
15 views

Creating view that displays content by an entity reference

I am setting up a site that displays interview questions depending on a job category and job title. I have a taxonomy of Job Categories and two content types, Job Title and Interview Question. The Job ...
Kateva's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
2939