Newest Questions
88,148 questions
0
votes
0
answers
13
views
Why don't I see webform tokens?
Try to use Webform tokens in new Drupal CMS, but the token browser dont show webform tokens?
Is there some module to show tokens? New Drupal cms has Tokens module allready installed?
0
votes
0
answers
20
views
How to show Wikimedia Commons' images in Drupal?
I want to show images from the Wikimedia Commons cloud of free images, in my Drupal website. This way, Wikimedia Commons would store both the images and their metadata instead of Drupal.
In a ...
-1
votes
0
answers
19
views
How to provide the current page's information as context to the AI
I have built a chatbot using AI Core 1.2.6 and AI Agents 1.2.1. It can now engage in simple conversations with me, but it lacks awareness of any content from my current website. How can I provide my ...
2
votes
0
answers
17
views
Is there a BC-friendly way to differentiate between triggering elements in webform composite validation methods?
The ultimate goal here is to only run certain validations if the end-user is submitting the form (that is, not going to a next step, or a preview page).
Given this custom composite...
namespace Drupal\...
0
votes
0
answers
14
views
User with proper permissions cannot see unpublished nodes in the content listing in Drupal 10
I have a user with a role that is given "view own unpublished content." She can access the unpublished node directly but it does not display in the content listing (no unpublished items ...
0
votes
0
answers
16
views
Views "Rewrite output" not showing translated link field in English only (Drupal 10.5.6)
Why does my link field (field_bouton) display correctly in all languages except English when using "Rewrite the output of this field" in Views?
Drupal 10.5.6 with multilingual setup (French ...
2
votes
0
answers
67
views
Paragraphs, translations and revisions
I've got a module that does a bulk find&replace across a bunch of fields linked to nodes and paragraphs. It works well for nodes, but sometimes does not appear to work for paragraphs.
Sitting down ...
1
vote
1
answer
26
views
Create inline link to display PDF
New to Drupal.
I uploaded PDFs to the media library. I am now creating content with text where I need include links to the PDFs. If I use the 'Insert Media' button from the toolbar, it will insert the ...
0
votes
0
answers
23
views
access denied to cart
With a new installation of Commerce 3.2 and Drupal 11, even the admin user 1 gets Access denied when going to the cart. I searched issues on Drupal.org and for the commerce module, without finding the ...
0
votes
0
answers
53
views
Login has stopped working
I have a drupal site running on a localhost. The site was working perfectly till yesterday. Suddenly the login button has stopped working. When I press the login button with any username absolutely ...
1
vote
1
answer
20
views
date_ical geo format
I'm using the date_ical module to create an ical feed. It's mostly working. In ical fields settings, I can use drop down widgets to select which content field to use as the ical date field, SUMMARY ...
0
votes
2
answers
56
views
Certain batch functions do not work with Cloudflare and return 502 Bad Gateway
I noticed that the XML Sitemap generation stopped working a couple of weeks ago. When I go to rebuild the sitemap manually, we immediately get a 502 Bad Gateway error.
After much unsuccessful ...
1
vote
0
answers
85
views
My custom Twig function is not picked up
I've got a module that defines a custom twig function, but Drupal won't pick it up. Whenever I use it in a template it tells me Twig\Error\SyntaxError: Unknown "get_beursticket_code" ...
0
votes
1
answer
64
views
Custom exception subscriber does not handle PHP errors
I am trying to show a custom error page when any Throwable is thrown, but it seems it isn't working with PHP errors. This is what I have in mymodule.services.yml,
mymodule....
-1
votes
2
answers
42
views
Show alternate emails for certain roles
Can I show an alternate email address for users based on their roles? The email addresses are not stored in the Drupal database. But they are tied to roles, e.g., the president has president@example....