This is the personal website of Paul Byrne, web developer and partner at leafish.co.uk: providing dynamic sites and supported hosting based around Drupal. Please visit our company site for more information.

Here there are some Drupal ideas and code, blatherings about music and some stuff about other stuff for anybody out there who cares.

Leafish Web Development

Contact LeafishLeafish is a web development partnership based in North Wales, United Kingdom.

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: