Project and Blog Roll

Thank you for visiting Tomadoh.com! While we do allow the public to browse most of this site, it is primarily a testing ground for custom functionality which is largely unlinked. If you are interested in hiring us please use the contact form. We specialise in custom web apps and complex websites. We are not, however, design drivin, and while we can point you in the direction of some talented designers, we do not ourselves do design work.

Drupal 7 Autosubmit

Quick and easy way to add autosubmit to any form in the constructor function (this can also be done in a form alter). I have Ctools installed on every site I run, so this is the best way I have found to prevent duplicate code and ensure graceful degredation.


  $form['#attributes'] = array('class' => array('ctools-auto-submit-full-form'));
  $form['#attached']['js'][] = drupal_get_path('module', 'ctools') . '/js/auto-submit.js';
  $form['submit']['#attributes']['class'][] = 'ctools-auto-submit-click';
  $form['submit']['#attributes']['class'][] = 'js-hide';

Drupal Backup/Restore - Bash

Drupal vs. WordPress: Practical Application

In my last post we reviewed some of the broader implications of these excellent frameworks. In this installation of my weekly series we will discuss practical application of these frameworks as it relates to caching and user access. I know for some of you this may make your head spin, but believe me it’s important, and you’ll see why.

Drupal vs. Wordpress

If you have much experience with either of these frameworks, chances are that you’ve heard the arguments before. Well, I’m not going to pick a favorite, so if you’re looking for an answer, look somewhere else. I’m just going to point out some strengths of both to help you better decide which of these best suits your needs. Tale of the Tape: The biggest argument for Drupal is based on a misconception, that is that WordPress is for blogs. In it’s infancy WordPress was built as an easy to install, flexible, blogger framework, but that has changed dramatically over the years.

Facebook PHP SDK

These posts are intended for someone with a firm grounding in PHP, CSS, and HTML in need of a roadmap to connect their site to facebook. (jQuery is used for the sake of ajax calls, so it’s helpful to know.)

If you’ve spent any time trying to use Facebook connect, you have probably learned two things… You really want it to work, and sometimes it will do what you need it to… Not a glowing review I know, but I’ve spent many an hour integrating Facebook into websites, and I finally have the important stuff (mostly) figured out.