Drupal

Reflections on DrupalCon Denver 2012

DrupalCon Denver

Having just returned last Saturday from a trip to the annual North American DrupalCon in Denver, I wanted to reflect a bit on the importance of the events of the week.  First of all, I'm grateful to Music City Networks for sending Joe Stewart and I for another year to further our education and network amongst peers.  This is my second conference and Joe's third, and we agree it seems to get better every year.  For those of you who may be new to this DrupalCon thing, I'll post some highlights.

CSS and Javascript Theming Functions

In the last article, CSS in Drupal 7, I discussed ways of incorporating CSS/Javascript smartly in a Drupal theme.  Specifically, providing alternatives to the standard .info file method, which is really only best for site-wide CSS/javascript.

CSS in Drupal 7

I have always been impressed with Drupal's ability to handle and aggregate CSS/javascript files "out-of-the-box."  After all, I can just add those files to the .info file and my theme and be up-and-running in seconds.  The solution is easy and the aggregation simple when going live.  However, as the sites I've been developing have scaled, I have found myself wanting more.  Thankfully, Drupal 7 comes through with a few different but still easy ways of handling CSS that I'm very excited about.  Here's the breakdown:

Drupal Nodes & Google Maps: Let Users Share Their Stories

Dierks Bentley's Home Stories Map

As a newb in Drupal a few years back, Views, Gmap, and Location were very intimidating to me.  I knew these 3 modules enabled me to show users and/or nodes on a Google Map, and I even had some Views written by more qualified co-workers to guide me, but I remember just feeling overwhelmed in general (Views was enough to do that back then).  Now that I'm more comfortable, I wanted to give a tutorial on how I accomplished one such project recently, hopefully putting some of those same feelings to rest for anyone else new out there to this functionality.

AJAX and AHAH for Drupal themers.

Harnessing the Power of Drupal.behaviors and Drupal.attachBehaviors

One of the most frustrating situations I've run into in Drupal has been how to make use of jQuery AJAX/AHAH calls in a theme (will just call it AJAX for simplicity's sake). I say frustrating because we have all the tools we need to accomplish this task out-of-the-box in Drupal. We have jQuery, we can easily add custom .js files in the theme and we have nearly endless control over the display of information that we want to use through templating, CCK, Views, Context, etc.

Subscribe to RSS - Drupal