Drupal 6

Backreference

The Backreference module allows you to link two nodereference fields so that when you use one to add a link from A to B, that it automatically links B back to A.

Pregnancy.org case study

Pregnancy.org home page screenshot

Since 2001, Pregnancy.org has been an informational and community resource for women about fertility, pregnancy, labor and child care. In November 2008, Pregnancy.org was relaunched in Drupal 6, with a new design and development by pingVision.

Apr 7 2009

Multi-step Forms in Drupal 6 using variable functions

I recently had to write a multi-step form in Drupal 6. Of course, I turned to documentation to see how others are doing it. Pro Drupal Development offers the basics, so do the 5 to 6 upgrade notes, and others. I felt that many approaches suffered from design flaws that made the code cumbersome to manage beyond a couple steps. I set out to develop a multi-step form method with the following goals:

  • One form builder with nested conditional statements is difficult to manage, each step should be its own form array function
  • Steps shouldn't be numbered, e.g. to move to the next step don't $form_state['storage']['step']++
  • Each step should be able to have its own validate and submit handlers
  • Steps should be form alterable
••• (#)

pingVision Pocket Guide to Drupal 6 Development

pingVision Pocket Guide to Drupal 6 DevelopmentThis Pocket Guide contains a full listing of module hooks, some tips on security best practices, hook_node operations, and more.

Electronic versions coming soon. If you have a Drupal User Group that needs some printed copies, contact us with the details and we'll mail you some (within the U.S. - customs can be a bear in mailing to other countries, sorry).

Jan 22 2009

Drupal's Spam module: can your own spam!

The bane of administrators, the muck of the internet, the reason for CAPTCHAs - Spam just sucks. There are just two approaches to keeping Spam off your site, filter users (who can post), or filter content (what gets posted). To combat Spam you need automatic systems which only really work well on filtering content. Third-party services like Akismet and Mollom [currently in use on this site] are useful, but sometimes you need to have more control and don't want a subscription-based service for large sites.

••• (#)