Sorry, you need to enable JavaScript to visit this website.

Drupal,

Web Development

Extending Twig Templates with Blocks in Drupal 8

One of the many good things about Drupal 8 is the introduction of Twig. It's a lovely templating engine that, in my opinion, is far superior to PHPTemplate. For us frontenders, it has a much nicer user syntax that's more akin to handlebars or other JS templating engines. Imagine this scenario (I'm sure many developers have encountered this before): you're building a…

Feb 14, 2018 Extending Twig Templates with Blocks...

Drupal,

Web Development

Setting up Drupal Code Sniffer

A few weeks ago I had to go through the process of setting up php code sniffer on my new computer, and realised how confusing most of the blog posts out there are and how many loops and posts you have to jump through to get it set up. I decided to write a quick post with all the commands in one place and small descriptions for most of the commands: Installing Drupal…

Mar 7, 2016 Setting up Drupal Code Sniffer

Drupal,

Hosting,

Platform Development

Still on Drupal 6? Here are your options!

With the imminent release of a Drupal 8 Release Candidate , which could potentially be announced as soon as the end of September at Drupalcon Barcelona , the clock has just started ticking a lot louder for those sites still on Drupal 6 with the looming Drupal.org support transition policy about to kick in: Drupal 6 core and modules will transition to unsupported…

Sep 4, 2015 Still on Drupal 6? Here...

Drupal,

Web Development,

Platform Development

Local .htaccess environment conditionals, HTTPS example

Adapted from a post by the Nerdary that basically deals with the problem of having .htaccess files that are different on your local and other environments. This example deals with the headache of https and not wanting your local environment to automatically redirect to HTTPS. I am only posting the relevant code that sets up the environment variable. <IfModule mod…

Sep 1, 2015 Local .htaccess environment conditionals, HTTPS...

Drupal,

UX & Web Design

Theming in Drupal 7 just got easier!

Theming in Drupal 7 has always been a bit fiddly at the best of times. Unbeknown to me a small feature crept into a Drupal 7 release without me realising - the backport of theme debug settings from the much anticipated Drupal 8. This feature allows you to view debug information directly in the mark-up and not have to go chasing template suggestion names from within…

Jun 26, 2015 Theming in Drupal 7 just...

Drupal,

Design,

Digital Marketing

A review of Responsive Day Out - The Final Breakpoint

Last Friday saw another Responsive Conference take place at the Dome in Brighton. I had previously heard a lot about the conference, this being the third and (I believe) final outing I was thrilled that we managed to secure some tickets for myself and a selection of the Zoocha team members. From seeing the impressive list of speakers I was sure it would be a great…

Jun 24, 2015 A review of Responsive Day...

Drupal,

Web Development

The Front End of the FCA

As part of the front end team, I was quite excited to be introduced into the project on the sites for FCA. We knew the sites would all be running on the same Drupal pre base using several modules to ensure smooth operation with different domains. What we needed to focus on was dealing with five independent themes including a theme folder which was to be the basis for…

Jun 10, 2015 The Front End of the...

Drupal,

News

DrupalCon Los Angeles 2015

This Los Angeles native has gone home to do some learnin' about Drupal. Note: this is a heavily dev-based view of the conference. Apologies to frontenders, designers, wombats, etc, but there is only one me and about 10 sessions per slot. For a full list of everything check out https://www.youtube.com/user/DrupalAssociation/videos and https://events.drupal.org…

May 14, 2015 DrupalCon Los Angeles 2015

Drupal,

Digital Marketing,

Ecommerce

Implementing Google Certified Shops code in Drupal

Introduction Google have made available their Google Certified Shops feature in the UK. Any online shop who applies to become a Google Certified Shop and implements the code on their site, will go through a ‘verification period’ which lasts from 30 days to 3 months (depends on the amount of orders you get per month); and at the end of the period you will become an…

Oct 31, 2014 Implementing Google Certified Shops code...

Drupal,

Web Development

Handling the Gruntwork of Frontend DevOps

Introduction With frontend development getting more and more complex every day, there are more and more steps we as frontend devs need to go through in order to get the job done. Of course there is still something to be said for crafting your HTML / CSS, but this isn't always required / possible. Tools like Markdown and HAML can take the 'load' off writing raw HTML…

Oct 24, 2014 Handling the Gruntwork of Frontend...