articles

Drupal 6 Attachment Views

13th Apr
2010

drupal6_attachment_views_book.jpgThe kind folks at Packt Publishing have decided to send me a copy of the newly published Drupal 6 Attachment Views. This book aims to "teach Drupal developers across the experience spectrum how to use Attachment displays in Views, to make quick progress in functionality and [give] added value to users."

Publisher's overview:

  • Quickly learn about painlessly increasing the functionality of your Drupal 6 web site
  • Get more from your Views than you thought possible
  • Topics provide rapid instruction and results
  • Concise, targeted information rather than voluminous reference material
  • An informal, interactive style

Views has become the most-installed contributed module for Drupal - its also one of the first installed for most of our projects at Leafish. I'm looking forward to reading it and I'll be writing my thoughts here at some point soon.

Quick and dirty jQZoom with Drupal e-commerce and imagecache

2nd Apr
2010

jqzoom_drupal.pngRecently I integrated the nifty jQZoom jQuery plug-in into a client's site built on Drupal 5 and Drupal e-commerce 5.x-3.6. A jQZoom module for Drupal does exist, but here I'm going to outline the few simple steps required to get the script working with images output via a node template (or the Contemplate module).

For starters, on the site we have the following Imagecache presets:

  • product_full: "full-size" version, actually scaled to an width of 600px;
  • product_main: the "main image", used for display on a product node;
  • product_thumb: a thumbnail, used in product node teasers and for switching between product images.

The product nodes are templated to output several product images, something like this:

#webbands - twitterings

10th Feb
2010

OK, I don't normally do trends on Twitter, but this one on #webbands is sort of up my street and some of them genuinely made me spoil my cheap-ass keyboard with cold tea. They've just started to get a bit lame/obscure/overdone (delete as appropriate) but here's some of my faves, attributed where I can:

New, wider theme!

29th Sep
2009

framework_theme.pngI've updated this site's theme- wait, scrap that. I've completely replaced the old, aging theme with a new one based on Framework. Just like Vision Express, Framework allowed me to finish the theme "in about an hour", simply copying what CSS was needed from the old theme with a fair bit of poking with Firebug. To quote @berkes, "I can hardly believe there ever was a time I did CSS-ing without #firebug. How on earth?" I am inclined to agree.

Anyway, Framework is a great theme to build on - thanks andregriffin!

Tags:

Reference

6th Jul
2009

Reference for when someone asks me what music I'm into because I always seem to draw a blank. Made with this.

Top bands by last.fm plays for leafish_paul

Tags: