Feed items

Don't Interrupt cron.php When Debugging

If you want to see what’s going on when Drupal’s cron.php script runs, one thing you can do is to set a breakpoint in a module’s implementation of the hook_cron() function, and call cron.php directly from your debugger. There you can step through your breakpoints, examine variables, and hopefully zero in on your problem.

read more

Drupal: Combining the Login and Registration Forms

It’s easy to take Drupal’s built-in user management features for granted… out of the box, you can configure your site to allow user registrations, reset forgotten passwords, and handle user logins. We had a use case where we wanted to combine the login and registration forms into a single landing page for anonymous users, to encourage users without an account to sign up with a single click rather than hiding the registration form behind another link.

read more

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.

read more

Mississippi Sawyer

Old-time fiddle tune in D. Pardon my rust.
From: usonian
Views: 140
2 ratings
Time: 01:12 More in Music

Good Morning

Usonian posted a photo:

Good Morning

View Large & On Black

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:

read more

Reuben's Train

AKA Reuben. A little something while I wait for a leftover half of a reuben sandwich to reheat. Dredged up from the depths of my "know it, but haven't played it in forever" repertoire… I need to relearn what few flourishes I knew for this tune. As it is, I kept it short, since these tunes with no B part get repetitive in a hurry! G tuning, gDGBD
From: usonian
Views: 536
2 ratings
Time: 00:46 More in Music

Sarah Armstrong's Tune (Old Reel)

I got hooked on this tune thanks to Donald Zepp's demo MP3 page (http://www.zeppmusic.com/MP3/). It's a simple tune, but it's hard to stop playing! aDADE tuning. Sorry for the dimly lit scene… there's not much one can do against these long winter nights.
From: usonian
Views: 491
3 ratings
Time: 02:02 More in Music

Sandy Boys

Old-time fiddle tune in A (banjo tuning aEAC#E). This tune seems to share some DNA with 'Lonesome John'.
From: usonian
Views: 297
5 ratings
Time: 01:43 More in Music

Big Sciota

in open G tuning. AKA Big Scioty, AKA Big Scioto. I figured out how to multitrack some rhythm guitar and mandolin, nothing spectacular.
From: usonian
Views: 1642
7 ratings
Time: 01:21 More in Music
Syndicate content

Twitter

  • RT @Crell An obituary for an old friend: http://bit.ly/gNdVIl #Drupal #Git #CVS 5 years 32 weeks ago
  • (That is to say, in hook_views_data(). #views #drupal) 5 years 32 weeks ago
  • #drupal #views3 gurus: Is it possible to declare a relationship with an intederminate base table & field? (TBD by the handler?) 5 years 32 weeks ago
  • I wrote a module and someone else figured out how to use it to pull Webform data into #Drupal views. http://bit.ly/hGDGGi 5 years 38 weeks ago
  • RT @nquabbinlodge Meeting tonight in Athol MA! Work of the evening: confer the 3rdº on 1 candidate. Dinner at 6, lodge opens at 7. 5 years 43 weeks ago

Older

Contact

Andy Chase
(978) 297-6402
andychase [at] gmail.com
GPG/PGP Public Key