Blog

  • Publishing Sculpin Sites with GitHub Pages

    13th July 2017

    Earlier this week I moved this site from my personal Linode server to GitHub Pages.

    This made sense as I already kept the source code in on GitHub, the issue was that GitHub Pages doesn’t know how to dynamically parse and generate a Sculpin site like it does with some other static site generators. It can though parse and serve HTML files, which is what Sculpin generates. It’s just a case of how those files are added to GitHub.

    Read more →
  • Introducing the Drupal Meetups Twitterbot

    9th June 2017

    The Drupal Meetups Twitterbot is a small project that I worked on a few months ago, but hadn't got around to promoting yet. It’s intention is to provide one Twitter account where people can get the up to date news from various Drupal meetups.

    Read more →
  • Turning Your Custom Drupal Module into a Feature

    20th May 2017

    Yesterday I was fixing a bug in an inherited Drupal 7 custom module, and I decided that I was going to add some tests to ensure that the bug was fixed and doesn’t get accidentially re-introduced in the future. The test though required me to have a particular content type and fields which are specific to this site, so weren’t present within the standard installation profile used to run tests.

    I decided to convert the custom module into a Feature so that the content type and it’s fields could be added to it, and therefore present on the testing site once the module is installed.

    To do this, I needed to expose the module to the Features API.

    Read more →
  • DrupalCamp Bristol 2017 - Early Bird Tickets, Call for Sessions, Sponsors

    15th May 2017

    DrupalCamp Bristol 2017 logo

    In less than two months time, DrupalCamp Bristol will be back for our third year! (July seems to come around quicker each year). This is this year’s schedule and venues:

    Read more →
  • Fixing Drupal SimpleTest issues inside Docker Containers

    5th May 2017

    I’ve been a Drupal VM user for a long time, but lately I’ve been using a combination Drupal VM and Docker for my local development environment. There were a couple of issues preventing me from completely switching to Docker - one of which being that when I tried running of my Simpletest tests, a lot of them would fail where they would pass when run within Drupal VM.

    Here’s an excerpt from my docker-compose.yml file:

    Read more →
  • Nginx Redirects With Query String Arguments

    31st January 2017

    This is an example of how my Nginx configuration looked to redirect from an old domain to a new one, and also to redirect from the root example.com domain to the canonical www subdomain.

    Read more →
  • Easier Sculpin Commands with Composer and NPM Scripts

    7th January 2017

    In this video, I show you how I've simplied my Sculpin and Gulp workflow using custom Composer and NPM scripts.

    Read more →
  • Drupal VM Generator 2.9.1 Released

    30th December 2016

    I spent some time yesterday working on the Drupal VM Generator, and have released versions 2.8.1, 2.9.0 and 2.9.1.

    Read more →
  • Building Gmail Filters with PHP

    15th July 2016

    Earlier this week I wrote a small PHP library called GmailFilterBuilder that allows you to write Gmail filters in PHP and export them to XML. I was already aware of a Ruby library called gmail-britta that does the same thing, but a) I’m not that familiar with Ruby so the syntax …

    Read more →
  • Simplifying Drupal Migrations with xautoload

    3rd May 2016

    How to use the xautoload module to autoload migration classes within your Drupal 7 migration modules.

    Read more →
Drupal Association Individual Member
Acquia Certified Developer - Drupal 8 Exam Badge
Acquia Certified Back End Specialist - Drupal 8 Exam Badge

Availability

  • Currently have limited part-time capacity
  • Currently no spare full-time capacity.