Olivier's blog

FireFox Extension for Cloudy Nights Forums: version 1.0.0 has been released!

The first public version of cn_ubb_enhance , a free FireFox extension that enhances your Cloudy Nights user experience, is a fact! You can download it here: http://shutterfreak.net/xtra/firefox/cn_ubb_enhance/cnubbenhance-1.0.0.xpi Version 1.0.0 is a complete rewrite since version 0.5 as a 100% native FireFox addon. No more GreaseMonkey meddling and related potential security issues. This version contains the following fixes and changes:

PHP 5.3 and Drupal 6 don't play nice... yet

Apparently Drupal 6 is not yet PHP 5.3 compliant. I noticed this today while updating a Drupal couple modules. When I wanted to run update.php I got a nice white screen with tons of messages about the ereg method.

Updating Drupal core from the Linux command shell

If you want to easily update Drupal core, then this is right for you. This approach will first compare your deployed Drupal with the original Drupal source code to do a pre-update sanity check. Then the old Drupal files are deleted one by one, the empty directories as well, and then the new Drupal is deployed.

If you follow this approach, updating your Drupal core version should take you less than 5 minutes.

If you have no shell access to your hosting provider, you can still apply the approach described in this article if you have a mirror copy (a perfect replica) of the deployed Drupal server on a host you have shell access to. Apply the changes on the mirrored files on your local host (steps 1 to 5, skip step 6), then synchronize the changes with the webhost, and finally run update.php (step 7).

Drupal theme hacking - creating a sub-theme

In a previous blog post I introduced the basics of how Drupal themes work. Let's dig a bit deeper and create our own sub-theme. What you need, is a working Drupal environment and at least one custom theme installed in sites/all/themes. During this tutorial I will create a sub-theme for the Colourise theme. If you want to use a different starting theme, the explanation below should still apply (apart from the name of the parent theme).

Bulk tagging existing content in Drupal with Views Tagger

If you have your own Drupal site for a while, and you want to add or update the tags of your content, you have to edit every single node and update the tags by hand. This is a rather tedious job.

Fortunately you don't have to hack the Drupal database to tag your content en masse: the Views Tagger module leverages the Views module and provides a dedicated view to tag all your nodes at once.

Drupal theme hacking - the basics

So you have this Drupal theme project you're working on, and you wonder where to start. This blog post tries to assist you in this endeavor. It assumes you're working with the default template engine: PHPTemplate.

First, let's zoom into how Drupal processes a theme. Most theme related information is stored in files in the theme directory. Usually, the my_theme theme files will reside in sites/all/themes/my_theme. An overview of typical files you will encounter in the theme directory:

Mashing up Drupal themes Colourise and Acquia Slate

Today I started mashing up the Acquia Slate theme with the Colourise theme and managed to port the Acquia slate implementation of taxonomy terms into Colourise. In addition I implemented a configurable theme registry rebuild flag and added a configurable taxonomy term separator into the theme:

Partial eclipse of the Moon on Dec 31st, 2009

On December 31st, 2009 most of us will be treated by a partial lunar eclipse. Indeed, the Moon will be darkened by part of Earth's shadow on this year's last Full Moon, and this month's second Full Moon (sometimes called a 'Blue Moon'). Only the Americas will not be able to witness this eclipse.

Do you like the new layout?

As you may have seen in the past few weeks I have been trying out new layouts for my website. I moved from the Acquia Slate theme to the Colourise theme and customised it a bit.

Personally I'm starting to like this layout, I even tried to create some artwork Laughing

Media Center Exploration Part 1 - Basic requirements and use cases

Since it's winter time and it's currently snowing, I resumed thinking in a more structured way on what I would define as being a good ‘media center’ solution.

Syndicate content