A custom login/register page for Drupal 6

This tutorial explains how to created a single page with a login form an a register form in Drupal6. To accomplish this, we have to go through some concepts first:

Read more »

PHP 5.4 & Drupal 6: it doesn’t work and it won’t

I upgraded my Ubuntu 10.04 to Linux Mint 14. After installing LAMP I got a Drupal WSOD on a previously well working site. As it turned out most errors came…

Read more »

Admin menu in Drupal6 disappears or is incomplete (solution)

This post applies when The admin menu suddenly disappears The admin menu is incomplete (menu-items are missing) Following scenario causes this behaviour: The records of table “menu_links” with menu_name “admin_menu”…

Read more »

Difference between PathAuto and PathRedirect

It’s difficult to get around Drupal-modules that appear to have the same functionality. This is particularly the case when you want to set-up decent SEO-friendly url’s. The two main modules…

Read more »

How to change the machine name of a content field in Drupal6

Once you have created a field in Drupal, the fieldname will haunt you forever. A spelling mistake will keep living, and refactoring is out of the question. It is however…

Read more »

A list with related nodes in Drupal 6

I wanted to make a list of “related nodes” based on the term that is attached to the node. Say I have 10 nodes that have the term “fruit”. With…

Read more »

How to add a single on/off checkbox in a Drupal 6 admin form?

  The short answer: It’s not possible The long answer: In a simple user form it is possible to add a single on/off checkbox. $form[‘thermometer_enabled’] = array( ‘#type’ => ‘checkbox’,…

Read more »

Drupal: user suddenly logged out

In case you’ve installed Varnish but not Pressflow (for Drupal 6), following scenario may happen: User A logs is, gets sessionid A User A changes something and loads a new…

Read more »

How to speed up Drupal

Let’s face it: Drupal can be a snail. When you attract lots of visitors, or have a lot of content, you performance will go down. To speed up Drupal, you…

Read more »