Drupal Planet
Drupalcon SF 2010: DrupalCon Mobile Site is Live
Hello everyone, if your wireless drops or if you do not have a laptop just use your smart phone. The mobile site has a useful interface to view the schedule by day and by track.
I am hosting a BOF in room 206 at 4:15pm today, Monday to present how we created the mobile version of the DrupalCon website. The mobile version will automatically load for all webkit based smart phones.
Pantheon Systems: Pantheon Demonstration Screencast
Thanks to all of you waiting patiently while we are heads-down building Pantheon.
We’re just back from Copenhagen, where we gave a sneak peek at what we’ve been up, and we wanted to share that demo with you as well. You can watch our screencast here:
Gizra.com: OG7 session in Drupalcon Copenhagen
Finally, we've been able to collect all the movies and edit them together. Unfortunately the quality isn't great in the first few minutes, but it's getting better and I hope you'll enjoy watching it.
Thanks to our "camera guys" - David Mollière and Peter Stumpf (that as it turns out, is really working for the UN and uses OG for that!)
For those who want too see the technical stuff from the session I gave should follow this link. I hope this will encourage people o try out Organic groups for Drupal 7 and help in making it a great module.
Fredrik Jonsson: Four power tips for the command line
This post assumes that you are familiar with the unix command line. If you are not then I recommend the video from Addison Berry session “The command line is your friend” from DrupalCon Copenhagen 2010.
I have something of a passion/obsession with removing annoying obstacles in my every day tasks. I want good tools that are adapted to the way I like to work. Here follow my best tips for making the command line a pleasant place to get work done.
Advantage Labs: Call for Drupalcon Copenhagen BoF session notes
Birds of a Feather (BoF) sessions have quickly become an integral and essential feature of the evolving Drupalcon format. The open BoF format provides a platform for participatory discussions and focused collaborative work sessions. For many topics not included in the official Drupalcon schedule, this format is much more appropriate.
Metal Toad: Mechanizing Git bisect: Bug hunting for the lazy
Git bisect is a powerful automated tool for searching deep into a project's history. Instead of searching for relevant commit messages (git log) or patches (git log -S), bisect actually allows you to run a functional test on each revision until the first bad commit is identified. (Okay, it doesn't test every revision, it performs a binary search, which results in at most log2(N) tests. This allows a relatively large history to be searched quickly.)
The test can be done interactively, with the human performing each check, or mechanically if you can supply a testing script. Randy Fay has done a nice screencast on the interactive method; this post will instead focus on mechanizing the process.
Tigerfish: Fancy working with us in Cheltenham?
Here's a great chance to work with a passionate bunch of Drupal-istas in Cheltenham. We love making Drupal sites, but there aren't enough of us to get everything done, so we need someone like you!
We're taking on a designer and a developer, and both are potentially immediate starts. If you're an agency, thanks, but we don't want to hear from you. Otherwise, head over to look at the jobs and come join us!
Midwestern Mac, LLC: Druplicon Golf Ball (DrupliGolf)
After having seen DrupliBacon and DrupliCake (there are other great adaptations of the Druplicon as well!), I decided I wanted to get some creative juices flowing this weekend. I present, DrupliGolf!
Drupligolf is the result of a round of golf, an addiction to Drupal, and a love for the best OSS mascot in existence. (The latter reason will definitely strike a chord with anybody who's shared a drink with the Druplicon in #drupal... and actually drank).
TimOnWeb.com: How To Separate Drupal Taxonomy Terms Output By Vocabulary
Happy Autumn everyone! Several days ago I got a question from one of drupal users about „How to output drupal taxonomy terms separated by vocabulary”. By default, Drupal outputs all terms despite of their vocabulary in one list, which isn’t great at all. On the output we want to get something like this:
Now I will explain you how to achieve this.Read on →
Randy Fay: Form API Changes for Drupal 7, Part 2: AJAX/AHAH Changes
Continuing from Form API Changes for Drupal 7, Part 1: $form_state changes.
One of the many pleasant improvements to the Drupal Form API is that AJAX Forms are now really easy. Really easy. We used to call them AHAH forms, and the concept was the same, but they were so complicated that few people attempted them. In D7 we even changed the name to distance ourselves from "AHAH" :-)
In Drupal 6 you had to make a menu entry in hook_menu() that pointed to an AJAX callback handler that was complete black magic. (See a sanitized example.) People did this part differently, and it was hard to figure out the right way. (If you're doing D6 AHAH, the gory details and resources are here.)
In Drupal 7 there is none of that. But we still have to start with the basics so that you'll understand what's going on:
NodeOne: You say "ballad", I say "GPL"
OK, so there were some things in Your Theme to My Module that weren’t perfect. For example, “power ballade” isn’t really an accepted term in the English language. (Yet.) Q: What to do about it? A: Submit a patch!
Edison Wong: Patch Drupal Colorbox module with Image Assist support
I have been using Drupal Lightbox2 module (http://drupal.org/project/lightbox2) for more than 2 years. BTW, it looks too buggy now a day when combine with other new modules, e.g. jquery_update, jquery_ui, img_assist, and so on. Its time for me to search for another replacement solution.
There is a complete comparison between different Lightbox-type modules in http://drupal.org/node/266126. Typically base on the usage statistics Thinkbox (http://drupal.org/project/thickbox) should be a good Lightbox2 replacement, but as its project page mentioned Colorbox (http://drupal.org/project/colorbox) would be a recommended upgrade path in Drupal 7.x. So I give a try with it.
OpenSourcery: Drupalcon Copenhagen wrap-up
I've recently returned from an amazing time at Drupalcon Copenhagen, and wanted to highlight some of my favorite sessions, events, and departing thoughts (this also serves as preparation for the impossible task of summarizing such an epic and comprehensive conference in 15 minutes for this week's Portland Drupal group). While I can't cover them all, the complete list of videos from Drupalcon Copenhagen can be found here.
Jeremy Keith and the Design of HTML 5Jeremy Keith, not only touched on the core functionality and concepts of HTML 5, but also spent a great deal of time focusing on the history and reasoning behind the design.
Randy Fay: Drupal 7 File API Changes
Drupal 7 has had a major (read huge, life-altering) change to its file API. Hopefully it's all good, but you definitely need to understand it if you're porting or developing any D7 modules.
There are two key changes, which I'll deal with one at at time:
Lullabot: Podcast 88: Copenhagen Loves Bon Jovi
Angie Byron, Addi Berry, Nate Haug, and Jeff Robbins report back from DrupalCon Copenhagen.
Davy Van Den Bremt: Three things we learned from indexing a Drupal site with millions of nodes in Apache SOLR
For one of our clients, we are running a Drupal site with about a millions of nodes. Before launch, those nodes are imported from another database and then indexed into Apache SOLR. The total time to index all of these nodes in an empty SOLR instance is measured in days rather than hours or minutes.
A bit too long to do this import regularly. So me and my (XDebug) profiler delved into the Apache SOLR module code to look where we could scrape of a few hours/days of the execution time.
Seemed like in our case, there were 3 components responsible for a large share of the execution time. Let's have a look.
BTW. We are using the latest dev build of version 2 of the Apache SOLR module.
Lullabot: Command Line presentation
I had a great time at Drupalcon Copenhagen! Thanks to everyone who made it happen. I did one presentation this time around, "The Command Line is your friend." It covered the basic commands for getting around and doing things, most of which are covered in more detail in the Command Line Basics video series. One thing that was new and that I ended up not having time to get to in Copenhagen was showing how to install Drupal from the command line. A number of people expressed interest in seeing that part, so I promised I'd make a video of it, and now I've gotten it done. I'm attaching the slides from the presentation here as well, so please have some fun playing around on the command line.
SthlmConnection: Exportable configuration with CTools – revisited
A while ago I wrote about how to provide exportable configuration presets in Drupal modules. While I was taking advantage of CTools' exportables API rather than building this functionality from scratch, we still ended up with quite a lot of code for what was supposed to be a standardized feature. Since then, however, CTools' exportables API has evolved and now also provides a UI out of the box.
Jake Strawn: Relaunch of Himerus.com in Drupal 7 and the Gamma theme indroduction...
The video here is a short (14:00 min) summary of the upgrade of himerus.com to Drupal 7, and also a quick look into the Gamma sub-theme, a new inclusion in the Drupal 7 branch of the Omega theme.
Thanks for taking the time to view it, the new site, and any feedback on the Gamma subtheme moving forward!!
Fleet Thought: Changing the Length of User Sessions in Drupal
I was recently trying to figure out exactly how long my users' sessions were lasting on an existing Drupal site that I had built. Generally it seemed like users were remaining logged in for an extremely lengthy period of time. I did some research and finally discovered that this setting is actually configured in the default settings.php file that ships with Drupal. There's a line in the settings file that initially reads:
ini_set('session.cookie_lifetime', 2000000);