Skip to main content
ComputerMinds

Articles · Page 7

Notes from the team.

Sometimes you just need to connect to earth: a desk chair story

Steven and I had been encountering (fairly savage) static electric shocks from our desk chairs.Read article →

Got a config schema error on saving a view?

We ran into an obscure error recently, when saving a view that used a custom views plugin. It was supposed to be a very simple extension to core's bundle (content type) filter:Read article →

Creating multilingual variables

A super quick blast from the past today; a Drupal 7 based article!Read article →

Rebranding ComputerMinds - Part 4: Pattern Lab

We didn’t see this project solely as a chance to rebrand and rebuild for ourselves, it was also an opportunity to try something new and expand our collective knowledge with the potential for using with clients in the future. We had been discussing using Pattern Lab for Front…Read article →

SA-CORE-2018-004

As with every other Drupal agency on the planet, it was another fun evening of frantic patching of client sites last night due to the release of the highly critical SA-CORE-2018-004 security update for Drupal, released on 25/04/2018.Read article →

Rebranding ComputerMinds - Part 3: Website design

Now that we had settled on the branding and had established and planned exactly what we needed to create, I could start looking at designing the new website.Read article →

Rebranding ComputerMinds - Part 2: SEO analysis, planning and Information Architecture

Before I could actually start designing, we needed a clear understanding of exactly what we wanted from the new site. We conducted a full SEO analysis to see which content was popular on our existing site and what was not often read and could be consolidated. We also discussed…Read article →

Rebranding ComputerMinds - Introduction

After 7 years of our brand and website, we felt the outdated look did not reflect the cutting edge work we were doing, so it was time for a change.Read article →

Rebranding ComputerMinds - Part 1: Branding

After seeing our logo alongside others in various places it was clear to us that we were starting to look outdated. The work we were doing was getting more and more advanced and our branding did not reflect this. We needed to rebrand.Read article →

Rendering Drupal fields (the right way)

Once upon a time, we wrote an article about how to render fields on their own in Drupal 7, which was really handy because Drupal 7 wasn't always intuitive. It's common to want to display a field outside of the context of its main entity page, like showing author information in…Read article →

Fixing Drupal, really quickly

Drupalgeddon2 happened! We got all but two of our projects updated within an hour, with those remaining trickier two fully patched another hour later. The key was planning the right process using the right tools. We actually use these tools for regular deployments every day,…Read article →

Patching Drupal without server access

If you don't have access to the file system on the server for a Drupal site, when a security issue like Drupalgeddon2 comes along, you are entitled to panic! Many sites are run by a combination of teams, so sometimes you really don't have control over the server... but that…Read article →

After drupalgeddon2, ComputerMinds to migrate all sites to brand new Perl based CMS.

In light of the recent Drupal security release we at ComputerMinds have taken the decision to rebuild all our client sites in a brand new bespoke CMS custom built in Perl.Read article →

Drupal security release SA-CORE-2018-002 - now the dust has settled

No one seems quite sure what to call SA-CORE-2018-002, although there does seem to be a trend towards drupalgeddon2. Whatever we call it, it's here and it is every bit as scary as everyone had feared - the key lines from the update :Read article →

Preparing for PSA-2018-001

If you are reading this, then you are probably already aware of the impending security update that is due to drop this evening (UK time). At this stage, it is not clear quite how serious the security update is, we are hoping it's not at the level of Drupalgeddon (PSA-2014-003 -…Read article →

Class naming for Javascript development in Drupal

We've settled on what we think is a best practice for class naming for Javascript in Drupal – let me explain what I mean and then talk you through our reasoning.Read article →

Render a Drupal 9 View programmatically (Render arrays FTW!)

Extra quick tip for developers working with Drupal 8 or 9: Adding views to your page content is now incredibly straightforward:Read article →

Quickly creating github pull requests from the command line

Following on from my feature branching bash script I thought I would do another quick post about a super handy tool I use to streamline my dev workflow a little more (marginal gains and all that).Read article →

A quick bash script to make feature branching a bit easier

During a typical working day I can easily flip between 15 projects, fixing small bugs or working on various features. Each flip normally requires a new feature branch, and i found myself repeating myself. A lot. I'm a parent so I'm pretty used to this, but in this instance I…Read article →

Avoiding sending Personally Identifiable Information (PII) to Google Analytics with Drupal

Having PII in Google Analytics is a big no no, it violates their terms of service and can cause you to have to remove all your analytics data - not fun.Read article →

Aegir is ten!

Ten years ago today Adrian Rossouw committed the first code for the Aegir project. ComputerMinds have been involved in Aegir for many of those years, particularly one of our senior developers: Steven Jones. We asked him some questions about it to mark the occasion.Read article →

Get the entity for a route

In Drupal 7, we had menu_get_object() to get the object in code for whichever node, term, or whatever entity makes up the current page. But in Drupal 8, that has been replaced, and entities can usually be operated on in a generic way. If you know the type of entity you want,…Read article →

Help Drupal help your configuration

TL;DR: Define a schema for any bespoke configuration, it's not too hard. It's needed to make it translatable, but Drupal 8 will also validate your config against it so it's still handy on non-translatable sites. As a schema ensures your configuration is valid, your code, or…Read article →

Drupal as a Server - Introduction

This post is the first in a series about getting Drupal to run as a persistent server, responding to requests without bootstrapping each and every time.Read article →