Skip navigation

Drupal 5

Spring Cleaning Your Drupal Site

Many people celebrate spring by doing an intensive cleaning of their house, getting rid of stuff that isn't needed any more, putting away the winter clothes/jackets and cleaning in those places that you don't get to on a daily basis.  It occurred to me that most CMS admins should take on a practice like this at least every year when I started looking at broken links. 

Checking for Bad Links

Now the dead links are inevitable in any website that's up for any length of time.  I was looking for a way to provide a list of broken links when I came upon the Dead Link Checker site.  Just read that if the spider finds a link towards their site, the bot will crawl deeper into your website, cool. This trolls through a site for up to 45 minutes collecting and looking for broken links.  Quite a useful service, and like so many on the web it is free.  There are other ways to check an entire site's links, but generally most free services only allow you to check by the page.  That's useful for any site and is pretty painless (other than tracking down and deciding what to do with the old links). 

Earth Hour Drupal Module - Learning to Turn Off

Tell all your visitors you support the efforts of Earth Hour. It's a simple measure for the environment.

With the Earth Hour module for Drupal you can easily show your support and have your site automatically "shut off" for the hour, no matter where in the world you are.

The plugin counts down to earth hour, counts how many other sites are using this plugin, and share the link to earthhour.org with your visitors.

Using SimpleTest in Drupal 5

I have been writing a unit test for the connect module using the simpleTest module. The following is a discussion of my experiences. This article from Lullabot is what I mainly used as a reference. Note that if you are following this article be sure to read the comments at the bottom. Especially that hook_simpletest is not required.

Installing SimpleTest

In Drupal 5 simpleTest uses a PHP library for its testing. In later versions of Drupal this library is not used. Once you have finished downloading the simpleTest module read the INSTALL.txt file. The only extra step to configuring this module is to download the simpleTest PHP library and placing it in the ...all/modules/simpletest/simpletest directory.

Updating CCK_Time Widget from Drupal 5 to Drupal 6

Introduction:
This discussion references the upgrade process for cck_time module. One should look at the cck_time.module for Drupal 5 and Drupal 6 while reading the discussion of the functions and what they do.

Useful links:
Updating CCK Modules from 5.x to 6.x
CCK Handbook
Drupal 6 Form Api Reference

Creating a drupal photo gallery site with cck and views

In this blog entry I outline the process I used to develop a fully functioning web gallery for my photography with drupal5. varunbaker3.png With good old google search by my side, being the great wealth of knowledge that it is, this turned out to be a simple process of just following a few tutorials.

Find a suitable theme

First off I wanted to find a suitable theme, something simple yet stylish. I was looking for a dark grey or black minimalist background so as not to distract from the impact of the images. I settled on this theme

Setting Up an Internal Wiki for Our Site

To set up a wiki for the OpenConcept site, I followed instructions on how to set up a wiki with Drupal 5 (an archived version of the instructions here ).

Below, I indicate which of those instructions I followed, and where I deviated from the instructions. In any case where I deviated from the instructions, I have indicated this with CAPITAL LETTERS.

Note that there is one patch that was applied, which affects the img_assist module and the pearwiki_filter module.