Blog
I just ran into a problem on a client's project. The thing is, we have a custom block with two fields, but we only render one of them in Twig, as we have modified the Twig template and do not use the default {{ content }}. ¿Problem? If the user...
I just came across the case that I need to remove several fields from a content type in a Drupal 9. Those are simple to do, aren't they? On your site use the Drupal user interface, delete the fields and export the configuration. Then on the production site import the...
Several security alerts have just been released for Drupal, several of them are critical, but they only affect you in very specific cases: https://www.drupal.org/sa-core-2022-015 It only affects D9 and only if you use iframe in the media entities.https://www.drupal.org/sa-core-2022-014 Arbitrary code execution in D9. It only affects you if your server...
Two security alerts for Drupal 9 have been released yesterday, April 20, 2022. SA-CORE-2022-008 (moderately critical) https://www.drupal.org/sa-core-2022-008 Basically it is a bug that allows to skip validation in Drupal forms. This means that it affects most Drupal websites, since most websites have some form accessible by users. You should upgrade...
I have already had this problem several times. So I'm going to write it down here for future cases that may arise. In my current case I'm upgrading a Drupal 8 to Drupal 9, that website has been created WITHOUT composer (moreover, it doesn't even have GIT, they still work...
Note: This article is a reminder to my future self, so that next time I don't have to Google it again. In some cases it is interesting to know why your Drupal database weighs several GB, and knowing which are the tables that weigh more can tell us what may...
They have just officially announced at https://www.drupal.org/psa-2022-02-23 that Drupal 7 support has been extended for at least another year, and that we will have official support until November 2023. They also say that it will be re-evaluated annually, which means that next year it may be extended again. Let's remember...
The other day I had to investigate how to improve the performance of a Drupal website that is not fast enough and has problems with caches. This website has several things to improve, but the one I'm complaining about today is a custom module with a code equivalent to: /**...
There are several things to consider when choosing the right module for your Drupal project. Like any other open source system, the biggest problem is that in Drupal there are always several ways to get the same result, and therefore it is normal that you can find more than one...
Today, January 19, a couple of moderately critical security updates have been released for both Drupal 7 and Drupal 9. In short, it is an important JQuery security bug, which affects any Drupal website since Drupal uses JQuery in the frontend. Note that there is no support for Drupal 8...
Have Any Project in Mind?
If you want to do something in Drupal maybe you can hire me.
Either for consulting, development or maintenance of Drupal websites.