Persistent Login module provides secure "Remember Me" functionality

I released the Persistent Login module version 1.1 for Drupal 4.7 and 5 today. The module provides the common "Remember Me" checkbox on the Drupal login block and page. Using Persistent Login is a substantially more secure method of allowing users to remain logged in across browser sessions than is having a long-life PHPSESSID cookie.

Image Pager module: Dynamically switch among images with prev/next links

Image Pager, a new Drupal module I just contributed, provides a block that displays a selected subset of a page's images. The images are shown one at a time; the user can dynamically switch among them using previous/next links. Each image's alt and title text is shown as a caption. This article's original location demonstrates Image Pager with photos from my 2006 summer vacation.

Image Pager is designed to work with existing node types and themes without requiring changes to either. When the Image Pager block is displayed, it uses jQuery to scan the web page, identify the images to be shown in the Pager, hide them so they are not shown in their original location on the page, and redisplay them within the Pager.

Removing unwanted colons from form field titles

I just created the first poll on my web site and was annoyed by having a colon appear after the question mark in the block title, like this:

Notice the annoying colon right after the question mark.

Procrastinate with Scheduled Actions

The Scheduled Actions module allows you to tell Drupal to perform some action (publish a node, send an email) at a later time. With it, you can obey that ancient dictum, "Never do today what can be put off until tomorrow."

To use Scheduled Actions, you must first install the Actions module and the Scheduled Actions module. Enable both modules, then visit administer >> actions to initialize the Actions module. Go to administer >> access control and grant the schedule actions permission to the appropriate roles. Finally, you must have cron enabled for your site.

External links in new windows without using 'target'

The default Drupal 5.0 theme (and previous default Drupal themes) uses XHTML Strict. There are reasons this is probably a bad idea but, in the spirit of eating my own dogfood, I'm going with it for now.

One gotcha I discovered right away is that the <a> tag does not allow the "target" attribute in XHTML Strict (nor does it in HTML Strict). However, the behavior of <a target="_blank"'> can be replicated in XHTML Strict with semantic markup and scripting.