Blog

Cleaning Up Node Edit Forms

Every time you build a new application in Drupal you *always* have to carefully govern the number of options available to normal site editors, or their heads will explode. (Literally. I've seen it.)

Drupal 6.x And Ubuntu 8.04 (Hardy)

Tutorial on how to bring a Debian and Ubuntu server up to spec to run Drupal 6.

A few weeks ago I wrote a post about how to bring a stock CentOS 5 server up to spec to run Drupal 6. It seems only fair I do the same for Debian and Ubuntu, since it seems they too are not without their little issues when a stock install.

Sometimes The API Just Won't Do It

So I've been having lots of fun (read: horrible pain) this week thanks to some quirks of Drupal that only really present themselves when you are looping through, loading, saving and manipulating nodes quickly.

Drupal 6.x And CentOS 5.x

This is more a bookmark for my reference than anything, but if you have a stock CentOS 5.x installation (maybe from a VPS image or a clean install on a dedicated box) you're going to have issues with Drupal 6.x.

Framework, Product Or Both?

Ask any Scottish whisky maker, distilling is not an easy process. Only when the hot gases cool can you see the real results of your labours.

This Author Sees A Long Drupal Slope

Anyone who follows the community will know much is made of a developer/designer divide. To be honest, I still don't quite get why this is. I don't personally feel it.

I'm prompted to write a post that is a bit less technical and more of a muse on the state of the Drupal project.

Restoring The MySQL Root User

Very quick post today. I rather foolishly didn't look at a back-up of a MySQL database someone sent to me this morning. I didn't realise it contained a copy of *their* mysql table. So when I restored it, all my user data got replaced with their user data. Frack.

AHAH, Node Forms And Select Lists

There are a number of decent resources helping you to make your first steps in to AHAH with Drupal 6.x. I won't try and create another start-to-finish tutorial.

Very Slick Site Maps

Short one today. This collection of links caused a mini stir in the #drupaluk IRC channel yesterday (thanks to longwave). Nothing dazzling, just a nice and easy approach to a really pretty site map for your Drupal website.

Avoiding Loops In Preprocess Hooks

I've just released a new module (fanfare) which seems to work pretty well. I have a couple of silly bug fixes to put up tonight (knew I should've called it "beta") but other than that it works great. It's called Node Reference Variables:

Filtering Search Results On CCK Fields

This is a quick HOWTO on altering the core Search module's database query in Drupal 5.x and 6.x. I think this will be different in 7.x, as there seem to be new, better hooks for manipulating queries, but we're not there yet.

Using Views To Create DMOZ-Style Sub-Categories

This is a quick Drupal 6.x, Views 2.x blog tutorial about creating the classic DMOZ-style sub-categories plus node listings above/below. Something Drupal does not do out of the box, but is fairly easily achieved.

Database Download Script

Just thought I'd throw this one up there. It's a Linux bash shell script I wrote this morning. You know when you want to take a copy of your production database down to localhost for testing? Not rocket science, but a bit of a pain. This dramatically speeds things up.

Pages