All items tagged with "Drupal"All items tagged with "Drupal"

Multiple image input buttons and IE6/IE7

Drupal 5.x does not support HTML image inputs (<image type="input" src="..."/>) out of the box. A common solution to this limitation is to provide your own theming function to handle any buttons you want to turn into images, as described at http://drupal.org/node/144758.

Debugging the Mysterious "An illegal choice has been detected. Please contact the site administrator." Error

The Drupal Form API is a wonderful thing... once you've been using it long enough, it's easy to forget all of the laborious validation and post-submit processing you used to do by hand for each and every HTML form in your solution.

The FAPI does things its own way, though, and if you're building especially complex forms that involve multiple steps or dynamically generated options, you may encounter the following error upon submitting your form:

Value List 5.x-1.2 released for Drupal

After some debugging yesterday, I released a new version of the Value List module for Drupal 5.x. It fixes a small bug that can intermittently occur due to whitespace between list items.

Value List 5.x-1.2 is available at http://drupal.org/project/valuelist.

The Inestimable Value of a PHP Debugger

(This falls squarely under the "Well, duh!" category, but remembering how long I used PHP without the benefit of a debugger myself, I figure it bears repeating.)

The flip side of Drupal's elegant and flexible system of hooks is that when you’re building a site that relies on lots of different modules, things can start to get a little bit slippery if you need to troubleshoot which module is hooking into the core and how/where/when.

Western Mass. Drupal Meetup - March 11 in Amherst

The Western Massachusetts Drupal group will be meeting tomorrow night (March 11) in Amherst, at the Lord Jeffrey Inn from 6-9 PM.

We'll be trading impressions from Drupalcon Boston last week, and discussing Drupal in general. All levels of experience are welcome.

Hope to see you there!