Posts tagged with "Drupal"

Automated drupal deploys with drush make and Wercker

Posted: 11:18am 1st Nov 2016

I maintain a bunch of Drupal sites for friends and family, but due to the nature of these, they often have sporadic development. An issue I've been facing recently is that of security/module maintenance. This post describes how I automated and simplififed the process of updating many drupal sites using docker and automated deployment using the Wercker service.

How I use docker with drupal

Posted: 8:03pm 20th Aug 2015

I've already espounded the advantages of docker in other posts, but I'd thought it might be useful to share (and document for my own benefit), how I've been running my own personal drupal projects using docker. There are already some great pre-built drupal images out there on the docker registry, but partly because none quite fitted my workflow, and partly to better understand how it works, I setup my own. This post details the docker-compose config I use for my drupal projects.

Running views during hook_cron which require admin privileges

Posted: 10:24am 27th Jun 2011

When needing to set up scheduled task in custom drupal modules, it is common to handle these with a hook_cron function. When this hook is triggered, it usually runs as the drupal anonymous user, but in some situations you want to run code during cron which requires certain higher level privileges.

Removing module stylesheets in a Drupal 7 theme

Posted: 11:57pm 15th Feb 2011
The techniques for hiding module/core CSS links files in your HTML headers have changed for Drupal 7. Here's how to do it under the new world order :)

Using Yahoo pipes to remove the usernames from twitter RSS feeds

Posted: 12:17pm 11th Feb 2011

The twitter RSS feed for a user profile includes the redundant username field at the start of the RSS title and body text. Here's how to remove it with a little help from Yahoo Pipes and regular expressions.