Setting Drupal File Paths in settings.php

Setting Drupal File Paths in settings.php

Working in Drupal, we often pull databases from different environments for debugging and general development. Every time we did that, we had to update the files locations inĀ /admin/config/media/file-system. It only takes a few seconds to update, but it’s a pain....
Setting Drupal File Paths in settings.php

Putting a line-break in a Drupal menu item

Working on a client site today, I came across a requirement to put a line-break in a menu item. I checked out the Drupal.org website, but there wasn’t much in there apart from fixes by people who were hacking core, so I had to work it out myself. Here’s...
Setting Drupal File Paths in settings.php

Fixing Cron problems in Drupal

For the last few weeks I’ve had a problem with a client site not indexing all content. Cron would run as normal, then redirect to a page in the website. Indexing would never get past 26%, and I couldn’t find anything in the Drupal log or the Apache logs to...
Setting Drupal File Paths in settings.php

Patching Drupal

I’ve just built a new server for a client, so naturally – as a completionist – I wanted to install the latest and best of everything. So I did. That includes PHP 5.3, and for a Drupal website (I’ve learnt), that’s a bad thing…. a...