20,287 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-4
votes
0
answers
22
views
Is Drupal Canvas not compatible with Hostinger? [closed]
I have a Drupal site working in my local environment and I have been trying to set it up on Hostinger (because it's cheap and Drupal recommends it because it should be compatible).
However, I'm ...
0
votes
1
answer
20
views
Drupal 10 public:// file url gets index.php inserted
I upload a file to my Drupal 10.6.1 installation, and it shows up in the files_managed with the url public://12-25 Newsletter.pdf, but when Drupal writes the page that it appears on, the html is
<a ...
0
votes
0
answers
21
views
How to conditionally show/hide and make fields required in nested Drupal paragraphs based on parent block field selection?
Context
I have a custom block type with nested paragraph fields. I need to conditionally show/hide specific paragraph types and make certain fields required based on a select list value in the parent ...
1
vote
0
answers
64
views
How to add ajax for State select in address field
Under Drupal 11.2.5. I installed Address Module (2.0.4)
I want to trigger an AJAX request when the State changes in field_address. The state is named "administrative_area" in address field
...
1
vote
0
answers
72
views
Recalculate order just before sending user to external payment - Drupal Commerce and Paypal
Summary: Customer could be charged a different amount from what is displayed in the Payment step panel if an auto-applied promotion gets published or unpublished just before external payment is ...
0
votes
0
answers
68
views
Drupal Views: How to add fields programmatically to a custom view in Drupal
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 ...
4
votes
1
answer
956
views
lando rebuild rendering unknown manifest error
I have a Drupal project with lando based local development. my lando.base.yml looks like:
Services:
database:
type: mysql:8.4
creds:
user: drupal
password: xxx
database: ...
Rick's user avatar
- 1,619
0
votes
0
answers
23
views
Activity pub account flagged as private on pixelfed
I'm implementing Activity Pub protocol on a Drupal website thanks to activitypub module (https://www.drupal.org/project/activitypub). The account is @[email protected]
It's working as ...
0
votes
1
answer
46
views
Drupal Open Social 13.0.0-alpha23 cannot be installed as recommended by vendor
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-...
0
votes
1
answer
81
views
How do I add the Dialog plugin to CKEditor5 in a Drupal environment?
The CKEditor5 dialog documentation gives a code snippet like this:
editor.plugins.get( 'Dialog' ).show( {
isModal: true,
// The rest of the dialog definition.
} );
However, this requires ...
0
votes
0
answers
52
views
Drupal checkbox and form field rendering nested labels
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>.', [...
0
votes
0
answers
42
views
Relationship is not preserved while migrating from mysql to Drupal
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 ...
0
votes
0
answers
34
views
How to prevent Drupal from making view feed links all relative
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 ...
1
vote
1
answer
41
views
Why are constraint plugins separate classes from their validators?
I'm teaching myself about constraint validators, in a Drupal application, and I'm a little confused by one aspect of the pattern. I'm doing this because Drupal 10 deprecates previous methods of ...
0
votes
1
answer
75
views
Sort view elements by row weight
I'd like to sort the data output by my view in the order in which they appear in my content.
I've searched in "View", but I can't find any sorting criteria that would allow me to sort my data by ...