development

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
••• (#)

Developer/Programmer (PHP)

pingVision is now accepting applications for the position of Developer for enterprise-level corporate and community websites and web applications.

We're looking for a talented, experienced, detail-oriented person with expertise in programming (including but not limited to PHP development) and an understanding of user experience. Familiarity with the Drupal content management system is desired, but not required. [More on that below.]

This is a full-time position. We're looking for people living in the Boulder/Denver area.

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).