Top new questions this week:
|
I am on D10.
I need to place several blocks on Block Layout having different visibility conditions: for example one of them should visible BOTH in the home page and in every article of the site.
I'd ...
|
I have a Drupal 9.5.11 site running well on a single EC2 instance and a remote MySQL server (RDS). I am trying to replicate a very similar scenario with a single EC2 instance but I am using AWS ...
|
How to limit the possibility of completing an order less or more than the specified amount in Commerce 2?
For 7 there was a module: https://www.drupal.org/project/commerce_moa but not for 8+...
|
Before Acquia's AMA tool was open source, I used it on their platform to upgrade from Drupal 7 to Drupal 9. I am in the process of upgrading to Drupal 10 and want to uninstall the RDF module (don't ...
|
So I am using the Geolocation module, specifically with the google maps API. I have a geolocation field. This field is unlimited to allow for adding multiple points to a map. This all works fine.
I ...
|
Now that I am supporting Drupal 10, I needed to set up Mailhog to allow local capturing of emails when I'm testing in my local Docker environment.
I used to use the SMTP and Mail System modules and ...
|
Greatest hits from previous weeks:
|
I'm trying to get a taxonomy term name by term ID. According to another post, I should load the term first:
$term = \Drupal::entityTypeManager()->getStorage('taxonomy')->load($tid);
But then I ...
|
node_load((int) $nid) loads a fully-populated node entity. $node->title->value gets the title, but how do I access field values in Drupal 8?
|
I have set once to a website a lenght limit to a field. And now the client wants to put more characters to that field.
I cannot change the maximum size from Drupal because I get the following error ...
|
I have a question about getting a path to an image in a Twig template. The image is not assigned to a field or something. Just a static image which is stored in "MYTHEME/image/icon/my-icon.png".
In ...
|
A lot of our stuff has uris formatted like site/taxonomy/XX, where XX is an integer.
I found a lot of questions like "how to get the TID from the name?", but I'd like to get the name from the TID. I'...
|
How can I check if a user has a certain role?
|
I'm trying to install Drupal 8 on my laptop (localhost on a WAMP server), and I always get the following error in the first steps:
Requirements problem
The translation server is offline.
...
|