Skip to main content
ComputerMinds

Articles · Page 3

Notes from the team.

Putting 1000 sites behind Cloudflare

Yes, it is! 10+ years ago we migrated 200 sites to a new server - and in 2024 we set up Cloudflare protection for well over 1000 sites.Read article →

Automatically generate forms from config schema

Drupal's form API has been brilliant for many years. Still, recently I found myself wondering why I needed to build a configuration form if I already had a schema for my config. Defining a schema facilitates API-first validation (including some pretty smart constraints),…Read article →

My text filter's placeholder content disappeared!

When I upgraded a site from Drupal 10.1 to 10.2, I discovered a particularly serious bug: the login form on our client's site vanished ... which was pretty serious for this site which hid all content behind a login!Read article →

Format Drush output for easy wins!

Drush, the brilliant command-line tool for Drupal, is capable of giving you its output in several ways. Its global --format parameter can be set to a type that you can use in useful ways. Most recently, I found this incredibly useful when I had made some configuration changes…Read article →

Webform Protected Downloads

I recently produced the first release of the Webform Protected Downloads module that is compatible with Drupal 10. It provides the ability for sites to have 'gated' content which users can download once they have filled out a form for their details. This can convert engaged…Read article →

Aegir 3 and Drupal 10: just about working

In my previous article I outlined that I really needed to get Drupal 10 sites running in Aegir 3. I had no time to wait around for other solutions, and I was going to try to decouple Aegir from running Drupal sites, so that it wouldn't be tied to Drupal versions.Read article →

Aegir 3 and Drupal 10: eeek!

Aegir is a hosting system built in Drupal, for Drupal.Read article →

Irina's experience of Drupalcon Lille

Drupalcon Lille 2023 was my first experience of a large Drupal event. I didn't know what to expect but I was so excited and looking forward to it! I have to say Drupalcon exceeded all of my expectations, in a good way!Read article →

Andrei's first Drupalcon

A little over a year ago, I ventured into the world of Drupal; a complex content management system. Despite making considerable progress in understanding its intricacies, it's widely acknowledged that Drupal presents a steep learning curve. To navigate this learning curve…Read article →

Our favourite Drupalcon sessions, part 1

Personally I’ve found most value in the smaller sessions. There are discussion-style groups around a common interests (BoFs) and presentation seminars. I’ve enjoyed being able to share what wisdom I can in the former – for example, about what page building experiences work best…Read article →

Drupalcon Lille: The keynotes so far

Six of our team have come over to Lille in France where the annual Drupal conference for Europe is this year. It’s a new experience for some and a chance to reconnect with friends in the community for others. We’re all here to learn, and also share where we can. I’ll talk here…Read article →

Meet Greg

How long have you worked at ComputerMinds for?Read article →

Removing invalid query string parameters passed to a view

As a Drupal site administrator, you may notice in the website logs that there might be a large number of repeated log messages along the lines of "An illegal choice has been detected. Please contact the site administrator." We recently had this problem on a Drupal site that was…Read article →

How to: Implement an automated Commerce Order state transition

A common requirement for any website that sells products is to have a mechanism in place that ensures orders placed on the website are 'Exportable' - being made available as a file that can be sent across to a different system, to handle the processing of the order.Read article →

Drupal 10 upgrade: Deprecations

One of the 'new' features in Drupal 10 is that it has removed lots of deprecated code. One of the things that means for our Drupal 10 upgrade project is that some of the modules that this website used are no-longer in Drupal core. Either there's a replacement for each one or…Read article →

Migrating cropped images

One of our big Drupal 7 to Drupal 9 migration projects included bringing across image cropping functionality and data on a longstanding client's website. This site had used the Imagefield Crop module, but that was only for Drupal 7. We set up Image Widget Crop for the new site,…Read article →

Drupal 10 upgrade: Custom code upgrades

This one is entirely on us, we wrote the custom code, which makes us responsible for maintaining it.Read article →

Drupal 10: What's that all about then?

Years ago, when Drupal 8 was released not only did it usher Drupal into the modern age of PHP frameworks and CMSs but it changed how Drupal upgrades were managed and controlled. Gone were the days of painful major upgrades with frequent compatibility breaks; instead we got…Read article →

Drupal 10 upgrade: File to media

We're continuing our series on upgrading this very website to Drupal 10...but our first proper bit of work to upgrade this site is essentially nothing to do with Drupal 10!Read article →

Drupal 10 upgrade: Defining the project scope

Let's define the scope and goals of our project to upgrade this very website to Drupal 10.Read article →

Drupal 10 upgrade: Introduction

On 14th December 2022 Drupal 10 was released. We can't say we immediately set about the task of upgrading all our Drupal 9 sites, but we did start thinking and planning to move all our sites in 2023.Read article →

Meet Andrei

Great to have you as part of the team Andrei!Read article →

Allow editors to use HTML attributes by default

Drupal provides an excellent sanitisation system to filter the HTML content that editors might create. Think of it like a series of traffic cops that filter different vehicles into different lanes. Some content is allowed through to its destination, some has to be transformed…Read article →

PhpStorm coding tip for Drupal services

Here's a super simple tip to help you work with services for Drupal in PhpStorm (our favourite IDE). First, ensure you have enabled the Drupal Symfony Bridge and Symfony Support plugins; they're brilliant for auto-complete suggestions, and navigating around services,…Read article →