Happy Pixels

Florian Loretan's blog on Drupal, creativity and more

Having a real physical keyboard is definitely an advantage of the G1, but what happens when you want to send an e-mail in a language that uses accents or other characters which are not present on an american qwerty keyboard? I accidentally found the solution: use a combination of the alt and shift key.

Diacritics

Press alt + shift + e, w, i, u or n respectively for an acute accent, grave accent, circumflex accent, unlaut oor tilde, followed by the letter on which you want the accent.

SimpleTest has brought a technology to Drupal, but also a methodology, both of which have greatly enhanced the Drupal development process. The test automation methodology is common to all testing frameworks. It is the topic of this article and will also serve as an introduction to the Intro to SimpleTest session this Friday at DrupalCon DC.

A user of the HappyPixels theme asked me how to modify the header image, and I thought I would share the response here.

If you download the HappyPixels theme, you might notice a folder named "svg". In this folder, you can find the original SVG document used to create the theme. This document can be edited with the open-source program Inkscape and others like Adobe Illustrator.

I was recently faced with the same problem in two different projects: forcing the creation of an image derivative with imagecache so that it is available in the submit handler of the same form in which the image was uploaded. By default, imagecache generates images on demand triggered by an HTTP request, which is ideal for most cases. However, this design doesn't make it possible to trigger the generation of images programmatically, which is why I created the following code snippet.

I was wondering what it would look like if you put all of Drupal's code into wordle. It turns out that Drupal has a lot of arrays, functions and forms, which is not too surprising. What's more interesting is a comparison between different versions of Drupal, and developers shouldn't take long to find some key differences... take a look!

With an attendance of 80 to 90 people, and participants from all over the United States and even Ecuador, the first SANDCAMP (San Diego Drupal Camp) was a success.

Here's a little snippet of jquery code that I wrote during our discussion about client-side form validation at DrupalCamp Germany. It simply adds an "error" class (typically a red border around textfields) when you move away from a required field while leaving it empty. While it's functional, it's probably not the best way to write it, I'm just posting it here for informational purpose.

The year 2009 is starting pretty strong with a lot of events in the Drupal community. The first one for me will be DrupalCamp Germany in Köln this coming week-end, closely followed by DrupalCamp San Diego in a week. DrupalCamp Germany will be the first national Drupal event in the country, and got a lot of attention from being mentioned on Dries Buytaert's blog. DrupalCamp San Diego is also starting its first edition with a nice schedule of presentations and a documentation sprint hosted by add1sun!

A few reports have already been written about the "Fields in Core" coding sprint that was held December 15th - 19th at the Acquia offices in Andover, Massachusetts. While some of them are more technical, I decided to try to give you a good idea of what we spent our time doing. For the more technical ones check the "field in core" group.

Just today I had a last-minute opportunity to change my travel plans to make a one-week stop in Boston on my way to Germany and participate in the Fields in Core coding sprint hosted by Acquia.

Subscribe to Happy Pixels RSS