Posts tagged with "Drupal"
Automated drupal deploys with drush make and Wercker
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
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
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
Using Yahoo pipes to remove the usernames from twitter RSS feeds
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.