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 »

Which variables can you use in a Drupal-textfield with input format “php”?

This function will print a large list of all the variables that are declared in the current scope: An interesting variable is $node, but it is not always accessible.

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 »