More onion drupal development blog
Here at more onion we're hosting most of our client's sites ourselves. This means we are hosting lots of sites which share most of their modules (ie. our standard Drupal installation). Reproducible setups, fast builds, sharing-module code among many sites -- This is where our new build-tool called dbuild.py comes in.
It started out as yet another wrapper around
drush site-installbut became a fully fledged download-extract-patch-symlink tool in the end.
There are times when you want to display parts of an entity to the user, pariticularily a specific list of fields that are attached (bundled) to that entity. Core doesn't offer functionality for this so I'll show you a simple function for extracting the form array structure for a selectable list of fields of an entity.
During development of the pgbar module I often ran into Notices for something in
$items. This time I said to myself: Let's get this straight once and for all. So I've inserted some debug code into my module to track which field related hook can manipulate data and in which order they are called. You can see the result in the dot-graph at the bottom.
Replacing checkboxes with itoggles is a usability improvement and makes Drupal administration more mobile friendly. After a lot of work we've managed to get it working and here is how...
I've created a sandbox on drupal.org where you can get the D7 port of webform_confirm_email.