movable type

Whee, Wii!

This weekend has been a good one. I slacked -- which by my standards means debugging Drupal theme code and setting up a new site. The excitement from Friday's post about the Movable Type compatability theme for Drupal caught me off guard, and it's cool to see the reaction. (My first digg. Wheee!) I've ironed out some kinks in the 1.0 release, and it deals better with multicolumn scenerios. It also supports a neat MT-like 'Powered by Drupal' sidebar element. Normally I'd ditch that, but it became apparent that the lack of the 'moduled-powered' div was actually messing up a number of MT styles, so I slipped it back in.

I've set up Gutenberg as a demo site for a number of the cool styles that are out there. It's nothing special, just some demo content, but it's a nice example of how a simple Drupal site, with a couple of modules (Views for archives and Custom Pagers for the archive navigation headers) can take a huge bag full of 'stock' MT styles and look right spiffy. I've started emailing back and forth with Byrne Reese, one of the brains behind the excellent Style Contest web site that generated so many top-notch designs. He's hard at work planning improvement to the standard that could make it more platform agnostic and more flexible. It's exciting stuff -- folks who want to build a really customized system will always end up writing a theme from scratch (or creating their own templates, in Movable Type land), but these kinds of skinning systems are the bomb for blog sites that have similar content footprints.

In other news, it looks like Nintendo unplugged a drain somewhere: after months of hunting in vain for a second remote for the beloved Wii, I walked into target tonight and found kajoodles of them. There were even a couple racks of Classic controllers and Nunchuck remotes thrown in for good measure. Wow. I snagged a wiimote/nunchuck combo, so now Catherine and I can play two-person Elebits and indulge in matrimonial WiiBoxing whenever we want to. Let the good times roll!

Styles On a Train

This week, Matt and I have been in Chicago working with the folks from After School Matters, an amazing organization that puts together tons of after school learning projects for the city's high school students. As part of the process, we took them through building Drupal modules, converting a static HTML/CSS design to an active Drupal theme, and so on. I'd never seen the latter in action (or at least, I'd never seen it done as quickly as Matt was able to) and I was impressed. So, I decided I'd do something I've been meaning to for a while.

Movable Type is a venerable blogging/web publishing tool that's been around since the early days of blogging. TypePad runs on it, and until I found Drupal, it's what ran Via Positiva as well. It has a lot of downsides, but one real strength is an active community of CSS designers cranking out new layout styles for it. Since Movable Type tends to have a very structured HTML output, and most people stick to skinning that with CSS, I always thought it should be relatively easy to make a Drupal theme that outputs the right MT-compatible HTML to use those styles.

So. On the train rides to and from the city, I did it. Most of the tricky stuff involved overriding certain Drupal theme functions in template.php to ensure our 'helpful' default styles didn't collide with Movable Type's. Once that was in place, though, I started downloading MT styles from sites like The Style Archive and dropping them in. Lo and behold... they worked!

A few styles are unhappy when they don't see VERY specific MT structures there (like the 'categories' sidebar) but the vast majority work nicely, and many even intelligently adjust to Drupal's flexible appearing-and-disappearing sidebars. The net result is that hundreds of existing Movable Type visual styles can now be used with Drupal.

It's a really awesome example of how Drupal's flexible templating system allows it to adapt, squeezing into more restrictive structures when necessary. And tinkering with it has helped me feel a bit more confident when messing around with complicated bits in the templating system. Hooray for open source!

styles.gif


Theme & Icons by N.Design Studio

Syndicate content