Upgrading to Drupal 9 and Composer 2
This article will explain how to deal with some specific and concrete issues you might encounter during the upgrade to Drupal 9 and Composer 2.
This article will explain how to deal with some specific and concrete issues you might encounter during the upgrade to Drupal 9 and Composer 2.
In less than a month (to be precise on November 2nd), Drupal 8 will no longer be supported. If you still haven't upgraded your site to Drupal 9 you should do it as soon as possible, to keep it secure and to get new features.
I believe there's no need to say anything about Elasticsearch. It's a well-known search engine developed in Java that provides full-text search. If you need an Elasticsearch instance for your project and you don't want to manually install it or pay for a managed service, then read on.
In order to avoid frustrations, having a code snippet ready to be copy & pasted comes in handy in many situations when you are working with AJAX and Drupal 8 or 9. This is such an article, so don't expect too much theory -- just some code snippets.
Installing a Drupal distribution is not always smooth sailing. In some cases, a core or module patch can prevent you from properly installing the distribution. Let's explore one way to deal with this situation.
Sometimes having static text for a local task title is not what you want. If you have to make the title dynamic, based on some condition or context, then read this article to find out how to do it in two very different ways.
WebP images have higher quality and smaller file sizes at the same time. This is what makes them great for using on the web where every byte counts, and Drupal 9.2 will support using WebP images out of the box. Let's see how we can use this image format.
Routematch is a Drupal 8/9 service that retrieves the currently active route match object. It's one of the most used services that Drupal offers, so let's see how to use it.
You might ask me why don't I just use the Backup and Migrate module to back up my Drupal database and files, and my response would be why to use a module with around 200 issues and who knows how many lines of code when I can do it with a simple shell script in less than 15 lines of code.
In my previous article, I explained how to integrate the Facebook Pixel with a Drupal webform. I used the Simple Facebook Pixel module to send the purchase event to Facebook. In this article, we are going to see how to send the purchase event by using Google Tag Manager.