Author Archives: ian

Find total rows by day created with PHP and MySQL

I was recently asked by a client to produce a report of content posted by day. My first instinct was to query the database for all rows of the particular content type and handle the counting in PHP. First Idea … Continue reading

Posted in Uncategorized | Leave a comment

The Power of Knowledge Sharing

The web is constantly developing and growing at a fast pace. I often wonder how beginners even know where to start and marvel at their ability to not be daunted by the myriad of options available to today’s developers. I … Continue reading

Posted in Uncategorized | Leave a comment

Drupal 7 Views Sort by Two Date Fields

To achieve this you will need to implement hook_views_query_alter() in a custom module. I did not do this in Views UI. A recent project at Headscape required me to build view listing two different content types that would use two … Continue reading

Posted in Web Development | Tagged | Leave a comment

Stepping back to move forward with ReactJS

I’ve been using ReactJS as I have been exploring Headless / Decoupled Drupal and have so far found it to be very nice to work with. However, as I am not overly familar with it I’ve found myself looking up … Continue reading

Posted in Web Development | Tagged , , | Leave a comment

Headless / Decoupled Drupal 8 First Go

The installation of a minimal Drupal setup is very quick and easy. From there I enabled a few modules and a theme to help me create some data. Modules enabled Field UI Image Views View UI RESTful Web Services I … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Testing SSL certificates without a domain name

Recently at Headscape we were setting up a new server ready to launch a redesign of a site. Whilst testing we were accessing the site using the server’s IP address which works fine for checking everything is working, apart from … Continue reading

Posted in Uncategorized | Leave a comment

Drupal Commerce, TeamCity and Git Submodules

At Headscape we use TeamCity as our Continuous Integration server and I recently came across an error when trying to build Drupal Commerce Kickstart. The main parts of the error message were Failed to build patch for build… due to … Continue reading

Posted in Uncategorized | Leave a comment

Enjoying getting it wrong

This post also appears on the Headscape site as part of our blog. During my teens and twenties I spent a lot of time skateboarding. It’s quite a unique sport in the way it influences your life as a whole. … Continue reading

Posted in Web Development | Leave a comment

Boagworld article Do people see you as a roadblock

Paul Boag has recently posted an article titled “Do people see you as a roadblock?” that includes some very nice mentions about me. So in a shameless act of self promotion I’m going to link to it. You can read … Continue reading

Posted in My work, Web Development | Leave a comment

Codeception Database Helper

I’ve been using Codeception for some acceptance testing recently. The project has a large database and using the standard Codeception database module that rebuilds the entire DB from an SQL dump was too slow. All I needed to do was … Continue reading

Posted in Uncategorized | 2 Comments