By Gábor Hojtsy , 20 February, 2008

Drupal 5 Themes Earlier this month, I got a copy of "Drupal 5 Themes" for some reading pleasure. I just arrived to the end, and after submitting a bunch of non-major errata entries, I thought it would be a good idea to share my thoughts with you.

A lot of people wondered in the drupal.org thread whether such a book is any valuable now that Drupal 6 is out. Well, after reading it through, I can state as well that it certainly has value for people interested in a comprehensive Drupal theming introduction. Book publishing is not a quick process, the CSS reference of the book was updated for Drupal 5.2 (admittedly not much changed in later versions as far as CSS goes, if anything), and the author mentions writing parts of the book while Drupal 5 was just briefly out. Implementing ground-breaking changes is not much easier however, so Drupal 6's new theme flexibilities and features does not require unlearning Drupal 5 knowledge. People familiar with Drupal 5 theming will be able to pick up the new stuff in Drupal 6 much more easily.

Back to the contents of the book, the various chapters definitely provide a decent introduction to Drupal 5 theming. While I don't agree with some approaches (like the chapter on starting a theme from scratch really starting from empty files instead of copying default PHPTemplate files over), the book gives lots of tips which are hard to pick and gather from the Drupal forums. The author also takes liberty of reiterating some basic points multiple times, so it is easy to jump into relevant chapters (eg. modifying an existing theme) without reading all the others. This might feel like a bit too much repetition for people reading from start to end however.

The pages include lots of reference material, like the last chapter with a listing of major forms to theme or chapter 4 completely filled with a list of themeable functions. I think these would have been better put to the appendix as reference chapters, but they are findable where they are nonetheless.

The book does not delve into advanced style sheets and layouts, so the examples provided are of the really basic looks. Those looking for creating top-notch themes still need their own creativity, but this should not be much of news for anyone. The book strives to provide a picture on how HTML and CSS attach to Drupal not how one does things like Sliding doors (a CSS technique) or SIFR (Flash text replacement) work. The author also skips advanced Drupal topics like how to use color module in your themes, although this does not feel like missing since color module would only be used in contributed (reused) themes most of the time, definitely not in purpose-built site themes. The themes produced in the book examples will not compete with Garland regarding their looks either.

Even a site building recipe is included, with things like block visibility settings, custom blocks and some essential blocks explained; showing off that building a site theme is not a generic task most of the time, but it needs to consider site specific needs including blocks, menus and settings even.

So all-in-all I'd recommend this book to all, who are new to Drupal theming, and would like to get a head start on integrating their HTML and CSS techniques to Drupal.

By Gábor Hojtsy , 15 February, 2008

Early in 2007, I was discussing the possibility of being the Drupal 6 maintainer with Dries. Dries was just collecting candidates at that time and it was not for some months after work on Drupal 6 started, that he selected me as a maintainer. Through the discussions, we reiterated the point multiple times, that core maintainership requires a significant dedication and time from the maintainer. I never thought I will be able to work this much on Drupal 6 though.

In mid-April, when Dries announced me as the selected core committer, I was still at university, completing my MSc thesis, and that my thesis was focused on internationalization features for Drupal 6 helped my involvement a great deal. It was a perfect match. Then after finishing university, I went on to work in Google Summer of Code 2007, where my application was accepted earlier. In part, I continued the multilanguage improvements for Drupal 6 (with localization advancements) and taken over Localization Server from Bruno Massa to take it to new heights and eventually make it an official tool for Drupal translators.

A few hours after I blogged about graduating, I was approached by Dries and Jay Batson to work for Acquia full time as a Drupal core developer. Being an open source contributor for at least 7 years, I was amazed by the possibility. While it was a lifetime opportunity for me, Drupal 6 benefited most with this offer. I have been working on Drupal 6 full time after finishing Google Summer of Code, right from the next business day, August 21st (months before Acquia was even announced).

I just checked out the data about the volume of my involvement in Drupal 6, and it is fantastic to see that how this all made possible to enable the community to contribute with a higher pace then ever. My commits reflect all your combined work, multiple contributors working on each improvement or fix to Drupal 6. If Acquia's priority would not be to contribute to Drupal 6 and help me enable the improvements and fixes to land in core, we would not be here with a release of this quality in this timeframe. The difference between the parts of this commit graph when I was working on Drupal 6 in my spare time and full time really shows the difference.

So while there are lots of thanks coming my way, let me pass on some to Acquia. Let's meet in the Drupal 7 issue queue as well, we have fun stuff to do in the next release as well!

By Gábor Hojtsy , 12 February, 2008

Magna Cum Laude is an up and coming team of musicians in Hungary with most their songs getting to the radio top lists quite surprisingly. They bring a fresh style to the Hungarian pop scene, and I must admit I love their music. Their clips also show a certain affinity to good humor. Some of their hits are up on YouTube, so you can check them out (warning: Hungarian lyrics). One of my faves is Visszhang ("Echo" in English):

Only time will tell whether they manage to keep up with creating hits at this pace. Also check out Te légy most ("Be with me" in English), Színezd újra ("Recolor your life" in English) and Minden állomás ("Every station" in English) if you like this one.

By Gábor Hojtsy , 7 February, 2008

Just one week before DrupalCon Boston, some well known faces from the Drupal community will gather in Brussels, to host a Drupal Developer Room as part of the FOSDEM conference.

On February 24, Sunday, the developer room offers a great program with well known names. Talks include "What's new in Drupal 6" by Dries and myself, Drupal theming, usability and integration with web services and the ApacheSolr project, the Asset module, Drupal and MySQL high availability, just to name a few.

FOSDEM offers a great program otherwise as well, with Andrei Zmievski talking about Unicoding in PHP 6, Mark Finkle talking about Mozilla Prism (desktop web apps!) and Rogan Dawes talking about OWASP WebScarab-NG (HTTPS interception), just to name a few of my picks.

Let's meet there!

By Gábor Hojtsy , 1 February, 2008

One of the rules with Drupal.org hosted projects is to not introduce radical API changes (or depending on your understanding even new features) in point releases of stable branches of contributed modules, so you are supposed to open a new branch. The hell starts to break loose however, if you don't have an eye on what is actually happening in your branches. This happened to me and it affected the Drupal 6 translation efforts so it was just the right time yesterday to finally clean it up. Here's the story.

By Gábor Hojtsy , 28 January, 2008

Several people asked me to post about the status of the localization server, so here it goes. This project was started originally by Bruno Massa, then picked up by me as part of Google Summer of Code 2007 aiming to replace the Gettext and CVS based workflow for translators, providing a fully web based translation interface. One of the cool things of working full time on Drupal at Acquia is that I have capacity for spare time developments like this one. That's great.

By Gábor Hojtsy , 17 January, 2008

I still remember the days, when I was working into the late nights (rather early mornings) to translate pages of the PHP documentation, and wondered how I can bare the load, without eye sight problems or pains in my body. Well, years of contributing over-hours and practicing bad posture shows its result after all, and after back pains for some time now, since a few weeks ago, I suffer from RSI in my arms as well. Knowing this will happen, I am going out swimming regularly for some time now, and I tried to set up an environment where I can work with better posture.

AntiRSI

Welcoming a MacBook Pro to my work environment this last fall, I worked using the laptop on its own for some time, but then realized I'd rather try to integrate it to a better environment using a bigger and better positioned external monitor and an external keyboard. The Apple aluminum keyboard is great, although it's keys are a bit farther away from each other, compared to traditional keyboards I am used to, it is a great experience. But connecting my MacBook to an external display resulted in unexpected problems.