Format post front matter and tags

This commit is contained in:
Oliver Davies 2021-07-09 17:32:30 +01:00
parent e36882ee20
commit 861e604a97
162 changed files with 733 additions and 731 deletions

View file

@ -1,7 +1,10 @@
---
title: 10 years working full time with Drupal and PHP
excerpt: 10 years ago today, I started working for Horse & Country TV in what was my full-time Drupal development role.
tags: []
tags:
- drupal
- personal
- php
date: 2020-07-19
---

View file

@ -3,9 +3,9 @@ title: 2014
date: 2015-03-20
excerpt: A look back at 2014.
tags:
- drupal-association
- drupalcamp-london
- personal
- drupal-association
- drupalcamp-london
- personal
tweets: true
---

View file

@ -5,9 +5,9 @@ excerpt:
I'm happy to report that the Accessible Bristol was launched this week, on
Drupal 7.
tags:
- accessibility
- accessible-bristol
- nomensa
- accessibility
- accessible-bristol
- nomensa
---
I'm happy to announce that the

View file

@ -3,12 +3,12 @@ title: Add a Taxonomy Term to Multiple Nodes Using SQL
date: 2010-07-07
excerpt: How to add a new taxonomy term to multiple nodes in Drupal using SQL.
tags:
- taxonomy
- drupal-planet
- drupal-6
- sql
- sequal-pro
- database
- database
- drupal-6
- drupal-planet
- sequal-pro
- sql
- taxonomy
---
In preparation for my Blog posts being added to

View file

@ -2,14 +2,14 @@
title: Adding Custom Theme Templates in Drupal 7
date: 2012-04-19
excerpt: >
Today, I had a situation where I was displaying a list of teasers for news
article nodes. The article content type had several different fields assigned
to it, including main and thumbnail images. In this case, I wanted to have
different output and fields displayed when a teaser was displayed compared to
when a complete node was displayed.
Today, I had a situation where I was displaying a list of teasers for news
article nodes. The article content type had several different fields assigned
to it, including main and thumbnail images. In this case, I wanted to have
different output and fields displayed when a teaser was displayed compared to
when a complete node was displayed.
tags:
- drupal-planet
- drupal
- drupal
- drupal-planet
---
Today, I had a situation where I was displaying a list of teasers for news

View file

@ -1,15 +1,13 @@
---
title: Announcing the Drupal VM Generator
date: 2016-02-15
excerpt:
For the past few weeks, Ive been working on a personal side project based on
Drupal VM - the Drupal VM Generator.
excerpt: For the past few weeks, Ive been working on a personal side project based on Drupal VM - the Drupal VM Generator.
tags:
- drupal
- drupal-planet
- drupal-vm
- drupal-vm-generator
- symfony
- drupal
- drupal-planet
- drupal-vm
- drupal-vm-generator
- symfony
---
For the past few weeks, Ive been working on a personal side project based on

View file

@ -3,8 +3,8 @@ title: Automating Sculpin Builds with Jenkins CI
date: 2015-07-21
excerpt: How to use Jenkins to automate building Sculpin websites.
tags:
- sculpin
- jenkins
- sculpin
---
As part of re-building this site with [Sculpin](http://sculpin.io), I wanted to

View file

@ -1,10 +1,9 @@
---
title: Back to the future with Gits diff and apply commands
date: 2018-04-23
excerpt:
How to revert files using Git, but as a new commit to prevent force pushing.
excerpt: How to revert files using Git, but as a new commit to prevent force pushing.
tags:
- git
- git
---
This is one of those “theres probably already a better way to do this”

View file

@ -3,8 +3,8 @@ title: Building Gmail Filters with PHP
date: 2016-07-15
excerpt: How to use PHP to generate and export filters for Gmail.
tags:
- php
- gmail
- gmail
- php
promoted: true
---

View file

@ -2,12 +2,12 @@
title: Building the new PHPSW Website
date: 2018-02-28
excerpt:
Earlier this week we had another hack night, working on the new PHPSW user
group website.
Earlier this week we had another hack night, working on the new PHPSW user
group website.
tags:
- phpsw
- symfony
- tailwind-css
- phpsw
- symfony
- tailwind-css
has_tweets: true
---

View file

@ -2,16 +2,15 @@
title: Change the Content Type of Multiple Nodes Using SQL
date: 2010-07-01
excerpt:
In this post, I will be changing values within my Drupal 6 site's database to
quickly change the content type of multiple nodes.
In this post, I will be changing values within my Drupal 6 site's database to quickly change the content type of multiple nodes.
tags:
- drupal-planet
- drupal-6
- drupal
- sql
- sequel-pro
- database
- content-types
- content-types
- database
- drupal
- drupal-6
- drupal-planet
- sequel-pro
- sql
---
In this post, I will be changing values within my Drupal 6 site's database to

View file

@ -3,11 +3,11 @@ title: Checking if a user is logged into Drupal (the right way)
date: 2013-01-09
excerpt: How to check if a user is logged in by using Drupal core API functions.
tags:
- drupal
- drupal-6
- drupal-7
- drupal-planet
- php
- drupal
- drupal-6
- drupal-7
- drupal-planet
- php
---
I see this regularly when working on Drupal sites when someone wants to check

View file

@ -1,7 +1,11 @@
---
title: Cleanly retrieving user profile data using an Entity Metadata Wrapper
excerpt: How to use Drupal 7's EntityMetadataWrapper to cleanly retrieve user profile field data.
tags: [Drupal, Drupal 7, Drupal Planet, PHP]
tags:
- drupal
- drupal-7
- drupal planet
- php
date: 2021-02-23
---

View file

@ -2,12 +2,12 @@
title: Conditional Email Addresses in a Webform
date: 2010-05-06
excerpt:
How to send webform emails to a different email address based on another
field.
How to send webform emails to a different email address based on another
field.
tags:
- drupal-planet
- drupal-6
- conditional-email
- drupal-6
- drupal-planet
- webform
---

View file

@ -2,14 +2,14 @@
title: Configuring the Reroute Email Module
date: 2014-12-22
excerpt:
How to configure the Reroute Email module, to prevent sending emails to real
users from your pre-production sites!
How to configure the Reroute Email module, to prevent sending emails to real
users from your pre-production sites!
tags:
- drupal
- drupal-6
- drupal-7
- drupal-planet
- email
- drupal
- drupal-6
- drupal-7
- drupal-planet
- email
draft: true
---

View file

@ -2,17 +2,17 @@
title: Create a Better Photo Gallery in Drupal - Part 1
date: 2010-08-11
excerpt:
How I started converting and migrating a Coppermine photo gallery into Drupal.
How I started converting and migrating a Coppermine photo gallery into Drupal.
tags:
- drupal-planet
- drupal-6
- photo-gallery
- sql
- views
- sequel-pro
- cck
- views-attach
- drupal
- cck
- drupal
- drupal-6
- drupal-planet
- photo-gallery
- sequel-pro
- sql
- views
- views-attach
---
Recently, I converted a client's static HTML website, along with their

View file

@ -3,11 +3,11 @@ title: Create a Better Photo Gallery in Drupal - Part 2
date: 2010-08-17
excerpt: Updating the galleries created and modified dates.
tags:
- drupal-planet
- drupal-6
- photo-gallery
- sql
- sequel-pro
- drupal-6
- drupal-planet
- photo-gallery
- sequel-pro
- sql
---
At the end of my last post, I'd finished creating the first part of the new

View file

@ -3,7 +3,7 @@ title: Create a Better Photo Gallery in Drupal - Part 2.1
date: 2010-10-22
excerpt: The missing code to get totals of galleries and photos.
tags:
- drupal
- drupal
---
Today, I realised that I hadn't published the code that I used to create the

View file

@ -3,7 +3,7 @@ title: Create a Better Photo Gallery in Drupal - Part 3
date: 2010-10-13
excerpt: Grouping galleries by category.
tags:
- drupal
- drupal
---
The next part of the new gallery that I want to implement is to group the

View file

@ -3,12 +3,12 @@ title: Create a Block of Social Media Icons using CCK, Views and Nodequeue
date: 2010-06-23
excerpt: How to create a block of social media icons in Drupal.
tags:
- drupal-planet
- drupal-6
- drupal
- views
- nodequeue
- oliverdavies.co.uk
- drupal
- drupal-6
- drupal-planet
- nodequeue
- oliverdavies.co.uk
- views
---
I recently decided that I wanted to have a block displayed in a sidebar on my

View file

@ -2,19 +2,19 @@
title: Create a Flickr Photo Gallery Using Feeds, CCK and Views
date: 2010-06-28
excerpt:
In this tutorial, I'll show you how to create a photo gallery which uses
photos imported from Flickr.
In this tutorial, I'll show you how to create a photo gallery which uses
photos imported from Flickr.
tags:
- drupal-planet
- drupal-6
- photo-gallery
- views
- cck
- imagecache
- feeds
- filefield
- flickr
- imagefield
- drupal-planet
- drupal-6
- photo-gallery
- views
- cck
- imagecache
- feeds
- filefield
- flickr
- imagefield
---
In this tutorial, I'll show you how to create a photo gallery which uses photos

View file

@ -2,16 +2,16 @@
title: Create Multigroups in Drupal 7 using Field Collections
date: 2011-08-28
excerpt:
How to replicate CCKs multigroups in Drupal 7 using the Field Collections
module.
How to replicate CCKs multigroups in Drupal 7 using the Field Collections
module.
tags:
- drupal-7
- drupal-planet
- cck
- fields
- field-collection
- entity-api
- multigroup
- cck
- drupal-7
- drupal-planet
- entity-api
- field-collection
- fields
- multigroup
---
One of my favourite things lately in Drupal 6 has been CCK 3, and more

View file

@ -1,16 +1,14 @@
---
title:
Create an Omega Subtheme with LESS CSS Preprocessor using Omega Tools and
Drush
title: Create an Omega Subtheme with LESS CSS Preprocessor using Omega Tools and Drush
date: 2012-04-16
excerpt: How to create an Omega subtheme on the command line using Drush.
tags:
- drupal-7
- omega
- theming
- less
- drupal-planet
- drupal
- drupal
- drupal-7
- drupal-planet
- less
- omega
- theming
---
In this tutorial I'll be showing how to create an

View file

@ -3,11 +3,11 @@ title: Create a Slideshow of Multiple Images Using Fancy Slide
date: 2010-05-25
excerpt: How to create a slideshow of images using Drupals Fancy Slide module.
tags:
- drupal-planet
- drupal
- drupal-6
- fancy-slide
- slideshow
- drupal
- drupal-6
- drupal-planet
- fancy-slide
- slideshow
---
Whilst updating my About page, I thought about creating a slideshow of several

View file

@ -2,13 +2,13 @@
title: Create Virtual Hosts on Mac OS X Using VirtualHostX
date: 2010-07-02
excerpt:
How to use the VirtualHostX application to manage virtual hosts on Mac OS X.
How to use the VirtualHostX application to manage virtual hosts on Mac OS X.
tags:
- drupal-planet
- drupal-6
- mamp
- virtual-hosts
- virtualhostx
- drupal-6
- drupal-planet
- mamp
- virtual-hosts
- virtualhostx
---
This isn't a Drupal related topic per se, but it is a walk-through of one of the

View file

@ -3,11 +3,11 @@ title: Create a Zen Sub-theme Using Drush
date: 2013-09-06
excerpt: How to quickly create a Zen sub-theme using Drush.
tags:
- drupal
- drupal-planet
- drush
- zen
- theming
- drupal
- drupal-planet
- drush
- zen
- theming
---
How to use [Drush](https://drupal.org/project/drush) to quickly build a new

View file

@ -1,7 +1,11 @@
---
title: Creating a custom PHPUnit command for DDEV
excerpt: How to create a custom command to run PHPUnit commands in DDEV.
tags: [DDEV, Drupal, Drupal Planet, PHP]
tags:
- ddev
- drupal
- drupal-planet
- php
date: 2020-08-28
---

View file

@ -2,15 +2,15 @@
title: Creating a Custom PHPUnit Command for Docksal
date: 2018-05-06
excerpt:
How to write custom commands for Docksal, including one to easily run PHPUnit
tests in Drupal 8.
How to write custom commands for Docksal, including one to easily run PHPUnit
tests in Drupal 8.
tags:
- docksal
- drupal
- drupal-8
- drupal-planet
- phpunit
- testing
- docksal
- drupal
- drupal-8
- drupal-planet
- phpunit
- testing
---
This week Ive started writing some custom commands for my Drupal projects that

View file

@ -3,11 +3,11 @@ title: Creating Local and Staging sites with Drupal's Domain Module Enabled
date: 2013-07-17
excerpt: How to use aliases within Domain module for pre-production sites.
tags:
- drupal
- drupal-planet
- databases
- domain
- table-prefixing
- databases
- domain
- drupal
- drupal-planet
- table-prefixing
---
The

View file

@ -2,13 +2,13 @@
title: Creating and using custom tokens in Drupal 7
date: 2013-02-16
excerpt:
This post outlines the steps required to create your own custom tokens in
Drupal.
This post outlines the steps required to create your own custom tokens in
Drupal.
tags:
- drupal
- drupal-planet
- drupal-7
- tokens
- drupal
- drupal-7
- drupal-planet
- tokens
---
This post outlines the steps required to create your own custom tokens in

View file

@ -1,12 +1,11 @@
---
title: Croeso PHP South Wales!
date: 2018-08-01
excerpt:
Last night was the first meetup of Cardiffs PHP South Wales user group.
excerpt: Last night was the first meetup of Cardiffs PHP South Wales user group.
tags:
- php
- php-south-wales
- meetups
- php
- php-south-wales
- meetups
has_tweets: true
---

View file

@ -1,11 +1,7 @@
---
title:
Debugging Drupal Commerce Promotions and Adjustments using Illuminate
Collections (Drupal 8)
title: Debugging Drupal Commerce Promotions and Adjustments using Illuminate Collections (Drupal 8)
date: 2018-10-24
excerpt:
Using Laravels Illuminate Collections to debug an issue with a Drupal
Commerce promotion.
excerpt: Using Laravels Illuminate Collections to debug an issue with a Drupal Commerce promotion.
tags:
- drupal
- drupal-8

View file

@ -1,7 +1,11 @@
---
title: Decorating an Entity Metadata Wrapper to add and refactor methods
excerpt: How to use the Decorator design pattern with Drupal 7's EntityMetadataWrapper to extend it, and add and refactor custom methods.
tags: [Drupal, Drupal 7, Drupal Planet, PHP]
tags:
- drupal
- drupal-7
- drupal-planet
- php
date: 2021-02-24
---

View file

@ -3,11 +3,11 @@ title: Display a Custom Menu in a Drupal 7 Theme Template File
date: 2012-08-18
excerpt: The code needed to display a menu in a Drupal 7 template file.
tags:
- drupal
- drupal-7
- drupal-planet
- php
- aria
- aria
- drupal
- drupal-7
- drupal-planet
- php
---
For reference, this is the code needed to display a menu in a Drupal 7 template

View file

@ -1,15 +1,12 @@
---
title: Display Git Branch or Tag Names in your Bash Prompt
date: 2013-04-27
excerpt:
Whilst watching Drupalize.me's recent Introduction to Git series, I thought it
was useful the way that the current Git branch or tag name was displayed in
the bash prompt. Here's how to do it.
excerpt: Whilst watching Drupalize.me's recent Introduction to Git series, I thought it was useful the way that the current Git branch or tag name was displayed in the bash prompt. Here's how to do it.
tags:
- drupal
- drupal-planet
- git
- terminal
- drupal
- drupal-planet
- git
- terminal
---
Whilst watching [Drupalize.me](http://drupalize.me 'Drupalize.me')'s recent

View file

@ -3,7 +3,7 @@ title: Display the Number of Facebook fans in PHP
date: 2011-03-15
excerpt: How to use PHP to display the number of fans of a Facebook page.
tags:
- php
- php
---
Replace the \$page_id value with your Page ID number (unless you want to show

View file

@ -1,16 +1,12 @@
---
title: Dividing Drupal's process and preprocess functions into separate files
date: 2012-05-24
excerpt:
If you use a lot of process and preprocess functions within your Drupal theme,
then your template.php can get very long and it can become difficult to find a
certain piece of code. Following the example of the Omega theme, I've started
separating my process and preprocess functions into their own files.
excerpt: If you use a lot of process and preprocess functions within your Drupal theme, then your template.php can get very long and it can become difficult to find a certain piece of code. Following the example of the Omega theme, I've started separating my process and preprocess functions into their own files.
tags:
- drupal
- code
- theming
- preprocessing
- code
- drupal
- preprocessing
- theming
---
If you use a lot of process and preprocess functions within your Drupal theme,

View file

@ -1,7 +1,8 @@
---
title: Docker resources
excerpt: A list of Docker resources that I've compiled.
tags: [Docker]
tags:
- docker
date: 2021-04-13
---

View file

@ -1,13 +1,11 @@
---
title: Don't Bootstrap Drupal, Use Drush
date: 2013-11-19
excerpt:
Avoid bootstrapping Drupal manually in your scratch files - Drush has you
covered!
excerpt: Avoid bootstrapping Drupal manually in your scratch files - Drush has you covered!
tags:
- drush
- drupal-planet
- php
- drupal-planet
- drush
- php
---
There are times when doing Drupal development when you need to run a custom PHP

View file

@ -3,9 +3,9 @@ title: Download Different Versions of Drupal with Drush
date: 2013-12-31
excerpt: How to download different versions of Drupal core using Drush.
tags:
- drupal
- drupal-planet
- drush
- drupal
- drupal-planet
- drush
---
If you use

View file

@ -3,8 +3,8 @@ title: 'Drupal 8.5.0 Released'
date: 2018-03-09
excerpt: This week, the latest version of Drupal 8 was released.
tags:
- drupal
- drupal-core
- drupal
- drupal-core
---
This week the latest minor version of Drupal 8, 8.5.0, was released.

View file

@ -1,13 +1,12 @@
---
title: "Drupal 8 Commerce: Fixing 'No Such Customer' error on checkout"
date: 2018-08-15
excerpt:
Fixing a Drupal Commerce error when a user tries to complete a checkout.
excerpt: Fixing a Drupal Commerce error when a user tries to complete a checkout.
tags:
- drupal
- drupal-8
- drupal-commerce
- stripe
- drupal
- drupal-8
- drupal-commerce
- stripe
---
Recently I was experiencing an issue on the Drupal 8 website Im working on,

View file

@ -3,8 +3,8 @@ title: Drupal Association
date: 2014-05-03
excerpt: Next week, I'll be working for the Drupal Association.
tags:
- drupal
- personal
- drupal
- personal
---
Today was my last day working at [Precedent](http://www.precedent.com). Next

View file

@ -1,7 +1,8 @@
---
title: Drupal automated testing workshop notes
excerpt: If you attended my automated testing with Drupal workshop this weekend, here are the links.
tags: [Drupal]
tags:
- drupal
date: 2020-11-15
---

View file

@ -1,11 +1,16 @@
---
title: Drupal Bristol Testing Workshop
date: 2018-06-28
excerpt:
Yesterday evening, I did my first workshop, held at the Drupal Bristol user
group.
excerpt: Yesterday evening, I did my first workshop, held at the Drupal Bristol user group.
tags:
[composer, docksal, drupal, drupal-8, drupal-bristol, php, phpunit, testing]
- composer
- docksal
- drupal
- drupal-8
- drupal-bristol
- php
- phpunit
- testing
---
Yesterday evening, I did [my first workshop][16] (and I believe, the first

View file

@ -2,7 +2,9 @@
title: Drupal VM Generator 2.9.1 Released
date: 2016-12-30
excerpt: Ive released some new versions of the Drupal VM Generator.
tags: ['drupal-vm-generator', releases]
tags:
- drupal-vm-generator
- releases
---
The main updates are:

View file

@ -3,16 +3,14 @@ title: DrupalCamp Bristol 2018 Statement
date: 2018-01-30
excerpt: Unfortunately, we wont be running DrupalCamp Bristol this year.
tags:
- drupal-planet
- drupalcamp-bristol
use:
- posts
- drupal-planet
- drupalcamp-bristol
meta:
image:
url: /images/blog/drupalcamp-bristol-17-logo.jpg
width: 228
height: 448
type: image/img
image:
url: /images/blog/drupalcamp-bristol-17-logo.jpg
width: 228
height: 448
type: image/img
---
Its with heavy hearts that we are announcing there wont be a DrupalCamp

View file

@ -1,10 +1,11 @@
---
title: Speakers and sessions announced for DrupalCamp Bristol 2019
date: 2019-05-31
excerpt:
DrupalCamp Bristol is returning next month, and the accepted speakers and
sessions have just been announced.
tags: [drupalcamp, drupalcamp-bristol, dcbristol]
excerpt: DrupalCamp Bristol is returning next month, and the accepted speakers and sessions have just been announced.
tags:
- dcbristol
- drupalcamp
- drupalcamp-bristol
---
<p class="lead" markdown="1">DrupalCamp Bristol is returning next month for a one-day, single-track conference, and we have just finished announcing the accepted sessions and speakers. It includes a mixture of new and returning speakers, presenting sessions including **Drupal in a microservice architecture**, **Automate to manage repetitive tasks with Ansible** and **Doing good with Drupal**.</p>

View file

@ -1,20 +1,18 @@
---
title: DrupalCamp Bristol 2017 - Early Bird Tickets, Call for Sessions, Sponsors
date: 2017-05-15
excerpt:
In less than two months time, DrupalCamp Bristol will be back for our third
year.
excerpt: In less than two months time, DrupalCamp Bristol will be back for our third year.
tags:
- drupal
- drupal-planet
- drupalcamp
- drupalcamp-bristol
- drupal
- drupal-planet
- drupalcamp
- drupalcamp-bristol
meta:
image:
url: /assets/image/blog/drupalcamp-bristol-17-logo.jpg
height: 228
width: 448
type: image/jpg
image:
url: /assets/image/blog/drupalcamp-bristol-17-logo.jpg
height: 228
width: 448
type: image/jpg
---
<p class="text-center" markdown="1">![DrupalCamp Bristol 2017 logo](/images/blog/drupalcamp-bristol-17-logo.jpg)</p>

View file

@ -3,10 +3,10 @@ title: DrupalCamp London 2014
date: 2014-02-09
excerpt: It's all booked, I'm going to be attending DrupalCamp London.
tags:
- drupal
- drupalcamp-london
- git
- git-flow
- drupal
- drupalcamp-london
- git
- git-flow
---
It's all booked, I'm going to be attending

View file

@ -1,14 +1,12 @@
---
title: DrupalCamp London 2019 - Tickets Available and Call for Sessions
date: 2018-11-20
excerpt:
DrupalCamp London early-bird tickets are now available, and their call for
sessions is open.
excerpt: DrupalCamp London early-bird tickets are now available, and their call for sessions is open.
tags:
- conferences
- drupal
- drupalcamp
- drupalcamp-london
- conferences
- drupal
- drupalcamp
- drupalcamp-london
has_tweets: true
---

View file

@ -1,10 +1,13 @@
---
title: Testing Workshop at DrupalCamp London 2020
excerpt: This year, Im teaching a workshop at DrupalCamp London.
tags: [drupal, drupalcamp, testing]
tags:
- drupal
- drupalcamp
- testing
date: 2020-02-05
lead_image:
url: /images/blog/testing-workshop-drupalcamp-london/lead.jpg
url: /images/blog/testing-workshop-drupalcamp-london/lead.jpg
---
![]({{page.lead_image.url}}){.p-1 .border}

View file

@ -1,10 +1,9 @@
---
title: Easier Git Repository Cloning with insteadOf
date: 2019-03-07
excerpt:
How to simplify 'git clone' commands by using the insteadOf configuration
option within your .gitconfig file.
tags: [git]
excerpt: How to simplify 'git clone' commands by using the insteadOf configuration option within your .gitconfig file.
tags:
- git
---
When working on client or open source projects, I clone a lot of

View file

@ -1,10 +1,11 @@
---
title: Easier Sculpin Commands with Composer and NPM Scripts
date: 2017-01-07
excerpt:
In this video, I show you how I've simplied my Sculpin and Gulp workflow using
custom Composer and NPM scripts.
tags: [composer, gulp, sculpin]
excerpt: In this video, I show you how I've simplied my Sculpin and Gulp workflow using custom Composer and NPM scripts.
tags:
- composer
- gulp
- sculpin
---
In this video, I show you how I've simplied my Sculpin and Gulp workflow using

View file

@ -1,13 +1,11 @@
---
title: Easily Embed TypeKit Fonts into your Drupal Website
date: 2011-02-14
excerpt:
How to use the @font-your-face module to embed TypeKit fonts into your Drupal
website.
excerpt: How to use the @font-your-face module to embed TypeKit fonts into your Drupal website.
tags:
- drupal-planet
- drupal-6
- typekit
- drupal-6
- drupal-planet
- typekit
---
To begin with, you will need to

View file

@ -1,13 +1,12 @@
---
title: Programmatically Load an Entityform in Drupal 7
date: 2015-12-22
excerpt:
How to programmatically load, render and embed an entityform in Drupal 7.
excerpt: How to programmatically load, render and embed an entityform in Drupal 7.
tags:
- drupal
- drupal-7
- drupal-planet
- entityform
- drupal
- drupal-7
- drupal-planet
- entityform
---
I recently had my first experience using the

View file

@ -1,15 +1,13 @@
---
title: Experimenting with events in Drupal 8
date: 2018-08-21
excerpt:
Trying a different way of structuring Drupal modules, using event subscribers
and autowiring.
excerpt: Trying a different way of structuring Drupal modules, using event subscribers and autowiring.
tags:
- drupal
- drupal-8
- drupal-planet
- php
- symfony
- drupal
- drupal-8
- drupal-planet
- php
- symfony
promoted: true
---

View file

@ -2,7 +2,9 @@
title: Finding the last commit that a patch applies to
excerpt: How to find the last commit in a Git repository that a patch applies to.
date: 2020-03-26
tags: [bash, git]
tags:
- bash
- git
draft: true
---

View file

@ -1,15 +1,13 @@
---
title: Fixing Drupal SimpleTest issues inside Docker Containers
date: 2017-05-05
excerpt:
How I managed to get my Drupal SimpleTest tests to run and pass within Docker
containers.
excerpt: How I managed to get my Drupal SimpleTest tests to run and pass within Docker containers.
tags:
- docker
- drupal
- drupal-planet
- simpletest
- testing
- docker
- drupal
- drupal-planet
- simpletest
- testing
---
Ive been a Drupal VM user for a long time, but lately Ive been using a

View file

@ -3,11 +3,11 @@ title: Forward one domain to another using mod_rewrite and .htaccess
date: 2012-05-23
excerpt: How to use the .htaccess file to forward to a different domain.
tags:
- .htaccess
- code
- drupal
- apache
- mod_rewrite
- .htaccess
- apache
- code
- drupal
- mod_rewrite
---
How to use the .htaccess file to forward to a different domain.

View file

@ -1,14 +1,12 @@
---
title: git format-patch is your Friend
date: 2014-05-21
excerpt:
An explanation of the "git format-patch" command, and how it could be used in
Drupal's Git workflow.
excerpt: An explanation of the "git format-patch" command, and how it could be used in Drupal's Git workflow.
tags:
- patches
- drupal
- drupal-planet
- git
- drupal
- drupal-planet
- git
- patches
---
An explanation of the "git format-patch" command, and how it could be used in

View file

@ -2,7 +2,10 @@
title: Coloured output with PHPUnit and GitHub Actions
excerpt: How to have colours in your PHPUnit output when running with GitHub Actions.
date: 2020-08-12
tags: [PHPUnit, Testing, GitHub Actions]
tags:
- github-actions
- phpunit
- testing
---
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">If you&#39;re using GitHub Actions to run tests for your PHP projects and want colours in the output, append `--colors=always` to your phpunit command. <a href="https://t.co/0AVwxCP4Bv">pic.twitter.com/0AVwxCP4Bv</a></p>&mdash; Oliver Davies (@opdavies) <a href="https://twitter.com/opdavies/status/1260608152225157121?ref_src=twsrc%5Etfw">May 13, 2020</a></blockquote>

View file

@ -1,12 +1,10 @@
---
title: Going to DrupalCon
date: 2013-07-26
excerpt:
Precedent are sending myself and two of our other Drupal Developers to
Drupalcon Prague.
excerpt: Precedent are sending myself and two of our other Drupal Developers to Drupalcon Prague.
tags:
- drupalcon
- precedent
- drupalcon
- precedent
---
[Precedent](http://www.precedent.co.uk) are sending myself and two of our other

View file

@ -2,7 +2,7 @@
title: Going "Full Vim" for my development work
excerpt: I've recently been using Neovim for all of my coding, as well as for my blog posts and slide decks.
tags:
- Vim
- vim
date: 2021-07-08
---

View file

@ -3,13 +3,13 @@ title: How to add a date popup calendar onto a custom form
date: 2012-05-23
excerpt: How to use a date popup calendar within your custom module.
tags:
- forms
- form-api
- date
- calendar
- drupal-7
- drupal-planet
- drupal
- calendar
- date
- drupal
- drupal-7
- drupal-planet
- form-api
- forms
---
How to use a date popup calendar within your custom module.

View file

@ -3,10 +3,10 @@ title: How to Create and Apply Patches
date: 2010-10-10
excerpt: How to create and apply patches, ready for the Drupal.org issue queues.
tags:
- drupal-planet
- drupal-6
- modules
- patches
- drupal-6
- drupal-planet
- modules
- patches
---
Earlier this year, I posted a solution to

View file

@ -1,12 +1,10 @@
---
title: How to fix Vagrant Loading the Wrong Virtual Machine
date: 2014-10-06
excerpt:
Here are the steps that I took to fix Vagrant and point it back at the correct
VM.
excerpt: Here are the steps that I took to fix Vagrant and point it back at the correct VM.
tags:
- vagrant
- virtualbox
- vagrant
- virtualbox
---
A few times recently, I've had instances where

View file

@ -3,9 +3,9 @@ title: How to Install and Configure Subversion (SVN) Server on Ubuntu
date: 2011-10-19
excerpt: How to install and configure your own SVN server.
tags:
- svn
- ubuntu
- version-control
- svn
- ubuntu
- version-control
---
Recently, I needed to set up a Subversion (SVN) server on a Ubuntu Linux server.

View file

@ -1,13 +1,10 @@
---
title:
How to put your PHP application in a subdirectory of another site with Nginx
title: How to put your PHP application in a subdirectory of another site with Nginx
date: 2018-03-12
excerpt:
How to configure Nginx to serve a PHP application from within a subdirectory
of another.
excerpt: How to configure Nginx to serve a PHP application from within a subdirectory of another.
tags:
- nginx
- php
- nginx
- php
---
In January, [Chris Fidao][0] posted a video to [Servers for Hackers][1] showing

View file

@ -3,12 +3,12 @@ title: How to run Drupal 8 PHPUnit Tests within Docksal from PhpStorm
date: 2018-07-19
excerpt: How to configure PhpStorm to run automated tests within Docksal.
tags:
- docksal
- drupal
- drupal-8
- phpstorm
- phpunit
- testing
- docksal
- drupal
- drupal-8
- phpstorm
- phpunit
- testing
promoted: true
---

View file

@ -3,9 +3,9 @@ title: How to Use Environment Variables for your Drupal Settings with Docksal
date: 2018-06-04
excerpt: How to leverage environment variables with Drupal and Docksal.
tags:
- drupal
- drupal-planet
- docksal
- docksal
- drupal
- drupal-planet
---
Within the [Docksal documentation for Drupal settings][0], the example database

View file

@ -1,7 +1,11 @@
---
title: Ignoring PHPCS sniffs for PHPUnit tests
excerpt: How to exclude certain PHPCS sniffs within your PHPUnit tests, so that you can write your tests methods how you'd like without getting coding standards errors.
tags: [Drupal, Drupal Planet, PHP, PHPUnit]
tags:
- drupal
- drupal-planet
- php
- phpunit
date: 2021-01-04
---

View file

@ -3,8 +3,8 @@ title: Imagefield Import Archive
date: 2011-05-23
excerpt: I've finally uploaded my first module onto Drupal.org!
tags:
- drupal-planet
- imagefield-import
- drupal-planet
- imagefield-import
---
I've finally uploaded my first module onto Drupal.org!

View file

@ -3,9 +3,9 @@ title: Improve JPG Quality in Imagecache and ImageAPI
date: 2010-06-02
excerpt: How to fix the quality of uploaded images in Drupal.
tags:
- drupal-planet
- drupal-6
- imagecache
- drupal-planet
- drupal-6
- imagecache
---
Whilst uploading images for my Projects and Testimonials sections, I noticed

View file

@ -3,10 +3,10 @@ title: Include CSS Fonts by Using a SASS each Loop
date: 2014-11-18
excerpt: How to use an SASS each loop to easily add multiple fonts to your CSS.
tags:
- compass
- drupal-planet
- fonts
- sass
- compass
- drupal-planet
- fonts
- sass
---
How to use an @each loop in SASS to quickly include multiple font files within

View file

@ -3,10 +3,10 @@ title: Include environment-specific settings files on Pantheon
date: 2014-11-27
excerpt: How to load a different settings file per environment on Pantheon.
tags:
- drupal
- drupal-planet
- pantheon
- settings.php
- drupal
- drupal-planet
- pantheon
- settings.php
---
I was recently doing some work on a site hosted on

View file

@ -1,18 +1,14 @@
---
title:
Include a Local Drupal Settings file for Environment Configuration and
Overrides
title: Include a Local Drupal Settings file for Environment Configuration and Overrides
date: 2014-12-20
excerpt:
How to create and include a local settings file to define and override
environment-specific variables.
excerpt: How to create and include a local settings file to define and override environment-specific variables.
tags:
- drupal
- drupal-6
- drupal-7
- drupal-8
- drupal-planet
- settings.php
- drupal
- drupal-6
- drupal-7
- drupal-8
- drupal-planet
- settings.php
---
How to create and include a local settings file to define and override

View file

@ -1,15 +1,12 @@
---
title: Install and Configure the Nomensa Accessible Media Player in Drupal
date: 2012-07-14
excerpt:
This week I released the first version of the Nomensa Accessible Media Player
module for Drupal 7. Here's some instructions of how to install and configure
it.
excerpt: This week I released the first version of the Nomensa Accessible Media Player module for Drupal 7. Here's some instructions of how to install and configure it.
tags:
- accessibility
- drupal
- drupal-planet
- nomensa
- accessibility
- drupal
- drupal-planet
- nomensa
---
This week I released the first version of the Nomensa Accessible Media Player

View file

@ -3,9 +3,9 @@ title: Installing Nagios on CentOS
date: 2012-04-17
excerpt: How to install Nagios on CentOS.
tags:
- nagios
- centos
- linux
- nagios
- centos
- linux
---
A great post details that details the steps needed to install

View file

@ -1,7 +1,10 @@
---
title: Interview with a Drupal Expert (with Code Enigma)
excerpt: I recently did an interview with Code Enigma for their blog.
tags: [Drupal, Interview, Personal]
tags:
- drupal
- interview
- personal
date: 2020-08-31
---

View file

@ -3,8 +3,8 @@ title: Introducing the Drupal Meetups Twitterbot
date: 2017-06-09
excerpt: Ive written a twitterbot for promoting Drupal meetups.
tags:
- twitter
- php
- php
- twitter
---
<p class="text-center" markdown="1">![](/images/blog/drupal-meetups-twitterbot.png)</p>

View file

@ -1,13 +1,11 @@
---
title: Leaving Nomensa, Joining Precedent
date: 2013-04-20
excerpt:
Yesterday was my last day working at Nomensa. Next week, I'll be starting as a
Senior Developer at Precedent.
excerpt: Yesterday was my last day working at Nomensa. Next week, I'll be starting as a Senior Developer at Precedent.
tags:
- nomensa
- precedent
- personal
- nomensa
- personal
- precedent
---
Yesterday was my last day working at

View file

@ -2,10 +2,10 @@
title: Live Blogging From SymfonyLive London 2019
date: 2019-09-13
tags:
- conference
- symfony
- symfonylive
- php
- conference
- php
- symfony
- symfonylive
---
Inspired by [Matt Stauffer](https://twitter.com/stauffermatt)'s

View file

@ -1,14 +1,12 @@
---
title: Looking forward to DrupalCamp London
date: 2018-02-27
excerpt:
This weekend is DrupalCamp London 2018. Ill be there along with a number of
my Microserve colleagues.
excerpt: This weekend is DrupalCamp London 2018. Ill be there along with a number of my Microserve colleagues.
tags:
- drupal
- drupalcamp
- drupalcamp-london
- speaking
- drupal
- drupalcamp
- drupalcamp-london
- speaking
---
This weekend is [DrupalCamp London 2018][1]. Ill be there along with a number

View file

@ -3,9 +3,9 @@ title: Yay, the Mediacurrent Contrib Half Hour is Back!
date: 2018-03-02
excerpt: Mediacurrents "contrib half hour sessions" are back.
tags:
- contribution
- drupal
- open-source
- contribution
- drupal
- open-source
has_tweets: true
---

View file

@ -2,7 +2,10 @@
title: 'Migrating to Drupal 8: Introduction'
excerpt: An introduction to the 'Migrating to Drupal 8' blog post series.
date: 2020-08-12
tags: [Drupal, Drupal 8, Drupal Planet]
tags:
- drupal
- drupal-8
- drupal-planet
---
I recently finished porting this website from a static site generator to Drupal 8, meaning that this site has now been powered by three different major versions of Drupal (6, 7 and 8) as well as by two static site generators since it was first launched in early 2010.

View file

@ -3,15 +3,14 @@ title: How to Define a Minimum Drupal Core Version
date: 2015-04-03
excerpt: How to define a minimum Drupal core version for your module or theme.
tags:
- drupal
- drupal-7
- drupal-planet
- drupal
- drupal-7
- drupal-planet
meta:
og:
title: 'How to Define a Minimum Drupal Core Version'
excerpt:
'How to define a minimum Drupal core version for your module or theme.'
type: article
og:
title: 'How to Define a Minimum Drupal Core Version'
excerpt: 'How to define a minimum Drupal core version for your module or theme.'
type: article
---
This week, my first code patch was

View file

@ -2,7 +2,9 @@
title: My first blog post published for Inviqa
excerpt: My first blog post has been published on the inviqa.com website.
date: 2020-04-29
tags: [drupal, testing]
tags:
- drupal
- testing
---
My first blog post was published on the Inviqa website last week. Is an introduction to automated testing in Drupal, which also includes a recap of the workshop that I recently gave at DrupalCamp London.

View file

@ -3,12 +3,12 @@ title: My new Drupal modules
date: 2012-07-12
excerpt: After a busy few days, I've released two new contrib Drupal modules.
tags:
- accessibility
- drupal
- drupal-modules
- drupal-6
- drupal-7
- drupal-modules
- drupal-planet
- accessibility
---
After a busy few days, I've released two new contrib Drupal modules.

View file

@ -1,14 +1,9 @@
---
title: My Sublime Text 2 settings
date: 2012-10-25
excerpt:
<a href="http://www.sublimetext.com/2" title="Sublime Text 2">Sublime Text
2</a> has been my text editor of choice for the past few months, and I use it
at home, in work, and on any virtual machines that I run. So rather than
having to manually re-enter my settings each time, I thought that I'd document
them here for future reference.
excerpt: <a href="http://www.sublimetext.com/2" title="Sublime Text 2">Sublime Text 2</a> has been my text editor of choice for the past few months, and I use it at home, in work, and on any virtual machines that I run. So rather than having to manually re-enter my settings each time, I thought that I'd document them here for future reference.
tags:
- sublime-text
- sublime-text
---
[Sublime Text 2](http://www.sublimetext.com/2) has been my text editor of choice

View file

@ -1,10 +1,9 @@
---
title: Nginx Redirects With Query String Arguments
date: 2017-01-31
excerpt:
How 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.
tags: [nginx]
excerpt: How 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.
tags:
- nginx
---
This is an example of how my Nginx configuration looked to redirect from an old

View file

@ -3,12 +3,12 @@ title: Null Users and System Users in Drupal
date: 2018-08-16
excerpt: Announcing the Null User and System User modules.
tags:
- drupal
- drupal-7
- drupal-8
- drupal-modules
- drupal-planet
- php
- drupal
- drupal-7
- drupal-8
- drupal-modules
- drupal-planet
- php
---
Have you ever needed to have a 'special user' to perform tasks on your Drupal

View file

@ -3,9 +3,9 @@ title: Open Sublime Text 2 from the Mac OS X Command Line
date: 2012-11-17
excerpt: How to open Sublime Text from the command line.
tags:
- sublime-text
- mac-os-x
- terminal
- mac-os-x
- sublime-text
- terminal
---
How to open Sublime Text from the command line.

View file

@ -2,7 +2,14 @@
title: Presenting on Tailwind CSS and Ansible at CMS Philly
excerpt: I'll be presenting on Tailwind CSS and deployments with Ansible at CMS Philly on May 1st.
date: 2020-04-24
tags: [conference, speaking, tailwind-css, ansible, ansistrano, drupal, drupal-planet]
tags:
- ansible
- ansistrano
- conference
- drupal
- drupal-planet
- speaking
- tailwind-css
---
![](/images/blog/presenting-on-tailwind-css-and-ansible-at-cms-philly/cms-philly-logo.png){.mx-auto}

View file

@ -1,7 +1,8 @@
---
title: Presenting from PDF slides using pdfpc (PDF Presenter Console)
excerpt: My notes from using pdfpc (PDF Presenter Console).
tags: [Speaking]
tags:
- speaking
date: 2021-04-23
---

View file

@ -1,13 +1,11 @@
---
title: Prevent Apache from displaying text files within a web browser
date: 2012-05-23
excerpt:
How to prevent Apache from displaying the contents of files like
CHANGELOG.txt.
excerpt: How to prevent Apache from displaying the contents of files like CHANGELOG.txt.
tags:
- apache
- code
- drupal
- apache
- code
- drupal
---
When you download [Drupal](http://drupal.org/project/drupal), there are several

View file

@ -3,7 +3,7 @@ title: Proctor & Stevenson
date: 2011-03-31
excerpt: Im moving jobs.
tags:
- personal
- personal
---
2 weeks ago, I handed in my notice of resignation to

View file

@ -1,12 +1,10 @@
---
title: Proctors Hosting the next Drupal Meetup
date: 2011-05-20
excerpt:
Proctor & Stevenson are going to be hosting the next Bristol & South West
Drupal meetup.
excerpt: Proctor & Stevenson are going to be hosting the next Bristol & South West Drupal meetup.
tags:
- meetups
- drupal-bristol
- drupal-bristol
- meetups
---
My employer, [Proctor & Stevenson](http://www.proctors.co.uk), are going to be

View file

@ -1,8 +1,14 @@
---
title: Using PSR-4 Autoloading for your Drupal 7 Test Cases
excerpt:
How to use the PSR-4 autoloading standard for Drupal 7 Simpletest test cases.
tags: [drupal, drupal-planet, drupal-7, testing, simpletest, php, psr]
excerpt: How to use the PSR-4 autoloading standard for Drupal 7 Simpletest test cases.
tags:
- drupal
- drupal-planet
- drupal-7
- testing
- simpletest
- php
- psr
date: 2020-02-04
---

View file

@ -2,6 +2,10 @@
title: Published my first Docker images on Docker Hub (ADR Tools, Sculpin, rst2pdf)
excerpt: I recently released my first images to the Docker Hub, for ADR Tools, the Sculpin site generator, and rst2pdf.
date: 2021-04-20
tags:
- docker
- rst2pdf
- sculpin
---
I've used Docker for some time for local development, making use of container images from Docker Hub and creating my own project-specific images, but I hadn't pushed any to [my Docker Hub profile](https://hub.docker.com/u/opdavies) for anyone else to use - until now.

Some files were not shown because too many files have changed in this diff Show more