Drupal LogoSorry Drupal, but it’s time we broke up. I’d like to say it’s not you, it’s me, but that would be lying. I’ve left you for the warm, comfortable, welcoming embrace of WordPress.

This blog has been running on Drupal since January 2007. I started it out on Drupal 5, and systematically upgraded through versions 6 and 7. As a content management system, I was intrigued by the possibility of having different content types on one site and theming them as I saw fit with a combination of Views and CSS.

Continue reading

Drupal 7 image

Oh, hello! If you’re reading this, it’s the first entry I’ve posted to my blog since upgrading the site to Drupal 7!

A major version upgrade like this isn’t something to be taken lightly. I’ve had to drop certain modules along the way and make a full backup of my site’s database and files. There’s a certain kind of anxiety one experiences when doing a major version Drupal upgrade, so I thought I would share my upgrade process with others. Other Drupal users are invited to share their experience and tips on upgrading at the end of the post!

Continue reading

Drupal LogoTonight sees me writing a very frustrated Drupal post, but I’ve googled until my eyes went googly and I can’t see a solution.

So I turn to you, lovely people of Drupal Planet. I need your expertise and advice. And possibly a sample .tpl.php file…

Here’s my problem – I’m using views to create a block for the sidebar of my site. What I want to do is display a list of latest content showing the title of the post and an ImageField thumbnail. Examples of what I’m trying to achieve are on Daily Mail and Holy Moly – both on their right-hand sidebars.

Continue reading

The 5 or 6 regular readers of this blog may remember that a while back our Unreality Shout site was attacked by spammers and pretty heavily vandalised. I asked for suggestions for workflow solutions that would prevent a repeat of this, but without making it harder for established members to post content.

Drupal LogoSome of you Drupallers kindly sparked off some great ideas, and after flirting with the Workflow module, I decided to go with Modr8 and Modr8 Bypass. Modr8 provides the basic functionality to hold back content from being published. Modr8 Bypass then gives you the ability to choose users (based on role) who should be allowed to bypass those rules and go straight to publishing their content.

Continue reading

Nginx logoThis is a quick tip post to show you how to redirect the www version of a domain to it’s non-www equivalent using Nginx.

The reasons for doing this are quite technically dense, so a knowledge of web hosting and SEO might be useful. Basically, having the same site available at both www.yoursite.com and yoursite.com means that there are two identical copies of your site on the web.

Continue reading

WordPress logoI’m throwing in the towel with Dreamhost. The downtime problems that started in the summer and seem to be intermittently reappearing have caused me to completely lose hope in DreamHost.

I signed up for a Media Temple Grid Server (affiliate link) account a few weeks back and have been gradually porting my blogs across one-by-one. With other people following suit, I thought I’d share my notes for moving a WordPress install over to Media Temple.

Naturally, this guide assumes that you have existing blogs on Dreamhost and a Grid Server account with Media Temple!Continue reading

I’ve been working on a couple of projects recently where I’ve had to retain legacy databases and integrate them into new websites.

In order to do this without damaging the original tables, I find it useful to make a copy of the original database table and use that for the development work. Since I do all of my bespoke CMS development on hosted Microsoft SQL Server databases, I had to hunt down a quick method to copy an existing database table into a new one.

Continue reading

WordPress logoWordPress‘ default theme (Kubrick) is great, but I’ve always had a problem with the title tags that the Kubrick theme generates. They could be so much more search engine friendly, don’t you think?

	<?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?>

This usually results in the title reading like Interweb World » Perfecting WordPress Title Tags, which is fine.

Continue reading