Here is a roundup or recent articles relating to code and coding. With the rise of frameworks such as node.js and angular.js and content management systems like Drupal, code is frequently something re-used or deployed rather than created for a specific task. That being said, it is still the foundation of all sites and needs to be chosen and deployed accurately.

Git submodules, Composer and DeployHQ

Posted on Tue, 09/04/2018 - 11:11
Git submodules, Composer and DeployHQ

After enormous amounts of frustration, I've finally worked out a recipe for working with composer, git and deployHQ - the submodules were the fly in the ointment, here is how to work with them.

First, create a new Drupal project using composer

>$ composer create-project drupal-composer/drupal-project:8.x-dev my_site_name_dir --stability dev --no-interaction

Next, rename web to public_html - so it plays nicely with cPanel

edit composer.json file - swap this in to replace the extras section renaming web to public_html

Drupalgeddon 2 Averted - or How we Patched Everything in 2 Hours

Posted on Wed, 04/04/2018 - 14:29
Drupal Security

Last week we had advanced warning of a critical security update to Drupal core versions 6, 7 and 8. The message was that we should do these updates immediately as a remotely exploitable hole was being fixed.

The patches were due for release at  7pm GMT and we waited with developers across the world as the Drupal site crashed briefly. By 8pm we had the new code and by 10pm all of our sites were either patched with the short term fix supplied by Drupal or updated to the new secure release.

Web Design Workflow, Reliability Through Drupal & Git

Posted on Wed, 05/03/2017 - 11:29
drupal git workflow

One of the biggest changes in the way we work over the last few years has been the introduction of version control into our workflow. As systems get ever more complex, we need better tools to manage them and this has led to using something called "Git". Git is great because it allows us to easily manage our workflow of "dev", "staging" and "live". Let's break that all down a bit and explain what it means.

CiviCRM Drupal - Transfer to New Server

Posted on Wed, 05/04/2016 - 12:13
CiviCRM Drupal Backup and Migrate

CiviCRM Drupal is a winning combination, but they can be very fussy and demanding about how they are set up. Foreign key checks on database tables make it difficult to manage backups and site migrations for a CiviCRM data site in the way you would normally handle a Drupal website - but it can be done.

Commerce Kickstart - How to Get Rid of Git Submodules

Posted on Tue, 03/22/2016 - 11:04

If you wish to remove the submodules, you can do so with the commands

git rm --cached profiles/commerce_kickstart/libraries/jquery.bxslider ​
git rm --cached profiles/commerce_kickstart/libraries/jquery_expander
git rm --cached profiles/commerce_kickstart/libraries/jquery_ui_spinner
git rm --cached profiles/commerce_kickstart/libraries/selectnav.js

Once you've done this commit and push your code and you should be able to deploy once more.

If you still have problems, try this:

12 Drupal Modules That You Need To Know About

Posted on Tue, 02/09/2016 - 20:51
Drupal modules

Drupal is an open source modular system, there are lots of modules out there but they are not all as good as they might seem. Over the years we have researched and tested hundreds of modules for different tasks, here are some of our favourites for Drupal 7.

1. Backup and Migrate

https://www.drupal.org/project/backup_migrate