Rearranging comments in Drupal

Moving comments around in Drupal is not (yet) straightforward. There is an experimental module that aims at providing this type of funcitonality, but the maintainers strongly discourage you in using it on live sites. If you're a daredevil, just go ahead and play with the comments table. You might ruin your comment structure though… unless you want to understand how Drupal manages comments. After reading this post you should be able to move comments without fear.

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).

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:

Linux to the Rescue of Windows Vista

This weekend my parents bought a new Acer desktop that comes preloaded with Windows Vista. Upon first boot you have to choose the OS language. Usually from then on the setup works flawlessly. This time it didn't.

Some Vista users are caught forever in a reboot lock after undoing an OS update. In this case you can either be happy to have a Vista recovery DVDs at hand (which we obviously didn't have), or the only remaining option is a partition editor.

Experimental - add POIs and new icon for gas stations to your Mio C620 GPS

Read this first!

  • The description below will only work for the Mio C620 and Mio C620T models. Reasons for this are: (1) the C620 unit uses an internal format for storing POIs where a couple other models provide support for Google Earth '.kml' format through POIloader; and (2) I never tested this on another model.
  • I take no responsibility for the description given below. You may ruin your GPS unit if you attempt what is described below. Do not even attempt at performing the steps below before ensuring you fully understand every single step outlined below.

You have been warned. Now read on :-)

If you own a Mio C620 GPS you may have noticed that you can not add POIs (points of interest) out of the box, unless you key in the details directly on your GPS unit. Since I wanted to add about 60 gas stations this was not an option. Hence I have been searching for a way to upload my list of gas stations to the Mio C620 GPS unit. And add a custom icon for these new POIs.

Syndicate content