Please turn JavaScript on
Drupal icon

Drupal

Want to keep yourself up to date with the latest news from Drupal?

Subscribe using the "Follow" button below and we provide you with customized updates, via topic or tag, that get delivered to your email address, your smartphone or on your dedicated news page on follow.it.

You can unsubscribe at any time painlessly.

Title of Drupal: "Drupal Answers"

Is this your feed? Claim it!

Publisher:  Unclaimed!
Message frequency:  0.4 / day

Message History

I want to show fees for various things on a Drupal 10 site, e.g., parking spot, $75/month. Or pet fee, $10/month. The fees are increased periodically. I'd like to have the fees displayed on the site, e.g., each parking spot is a node. I'd like "Fee: $75/month" displayed on that page. I'd also like to total the annual revenues and display that elsewhere. So a view, aggregate, ...


So in my environment, I have some websites on Drupal 7 and some on Drupal 8, and since the latest Drush 9 works with Drupal 8.4+ I was wondering if there's a way to be able to have both Drush 9 and (put another version here) to work on both major Drupal versions.

I'd like to be able to just use drush as my main alias and not define different aliases for different Drup...


I want to calculate dynamical a value and give it back in the markup without saving the newValue. I try this with:

{% set content.field_my_field[0]['#markup'] = newValue %}

This doesn`t work! The "newValue" is given from preprocess_node in the .theme file. Should I rewrite this directly in the preprocess function? How?

Found a solution in preprocess_node. I...


I want to present annual budgets on a Drupal 11 site. My initial idea is a budget item content type, with an amount, category, and fiscal_year that is a year only type. Then show annual budgets in a table using views.

I'd like this title and url scheme:

/budget/ shoul...

I successfully migrated a Drupal 10.6.22 site from shared hosting to an Oracle Cloud ARM server running Ubuntu 24.04.5 which includes composer 2.7.1. To prepare for a Drupal 11 migration, I installed drush 13.8 using "composer require drush/drush" from the directory containing the Drupal site composer.json.

The install was successful but running "./vendor/bin/drush -d ...