Drupal Tutorials

Add an additional validation function to an existing Drupal form

There are many reasons why you might want to add extra validation rules to a Drupal form. This is a simple tutorial on how to add a validation function to an existing form that is generated from a module that you have not created yourself. It could be in a core or contributed module.

Drupal base URL for hard coded images on a local environment

EDITED 10 AUG 2010: There is an alternative solution on Drupal Coder (as kindly pointed out in one of the comments). I'd recommend checking it out: http://www.drupalcoder.com/story/18-portable-sites-with-base-href-baseur...

Images paths are often incorrect when developing/testing a Drupal website on a local machine.

User can’t edit a node – Drupal troubleshooting

From time to time a user may not be able to edit a Drupal node and you end up tearing your hair out trying to figure out why. Sometimes the solution is obvious, and sometimes it is not. This post will take you through some of the main reasons for the problem along with suggested solutions.

Drupal Multisite

How to configure a Drupal multisite setup

One of the core features of Drupal is the ability to run a multisite setup. That means that you can run multiple websites from the same code base. The advantage is that is makes upgrading the core and contributed modules a lot easier and faster, as you just have to upgrade once, rather than multiple times.

How to upgrade to a new version of Drupal 5

Upgrading to a new version of Drupal puts the fear of god into a lot of people. However, it does not need to be scary or time consuming. Because Drupal is highly modular, upgrading is a fairly painless exercise. Furthermore, it is necessary to maintain the latest version of your Drupal branch to ensure that you have the latest security patches.

Changing existing URL paths in pathauto

Using the Pathauto module is a quick and easy way of automatically creating meaningful URL's. Instead of having to type in a URL path manually for each node (page, story etc) yourself, it will do it automatically based on set criteria, like the category it belongs to and the title.

Script to update Drupal teasers

One of the annoying things about changing the number of characters for teasers in Drupal is that you have to edit and save every single node (page, story etc) for the change to take effect. Thats ok if you only have 10 pages, but what if you have 1000 or even 10,000 pages? Nightmere times.

Preventing the White Screen in Drupal

If you are using Drupal on share hosting, you have probably experienced a white screen. You see nothing on the screen. You had might as well be skiing in a blizzard. This generally happens when PHP runs out of memory and is one of the biggest problems with shared hosting.

But do not panic. It is fairly easy to fix in most cases.

Improving Drupal Speed

Drupal is a fantastically powerful content management system. But that power comes at one very significant cost, speed. A Drupal powered site may suffer from slow page loads.

This very blog is powered by Drupal, and I admit that at times its speed is on the slow side. I have recently found a few ways to improve the speed.

Make Drupal SEO Friendly

Drupal does have some SEO holes when used straight out of the box. In this article, I will list the major flaws and how to overcome them.

Learn how to become a Drupal developer

Does Drupal development make your head explode and drive you crazy?

Why not learn from someone who has paved the way instead?

Sign up to my upcoming learning series.

Syndicate

Syndicate content

Hello!!

I am Blair Wadman and this is where I write about Drupal, PHP, CSS etc

Stuff

© Blair Wadman
2005 - 2011