Write Drupal logs to rsyslog instead of to dblog

Instead of logging to the database, it could make more sense to log to the operating system. Why? Pro The OS has already a great way of maintaining logs, so…

Read more »

Which variables can you use in a Drupal-textfield with input format “php”?

This function will print a large list of all the variables that are declared in the current scope: An interesting variable is $node, but it is not always accessible.

Read more »

How to change the machine name of a content field in Drupal6

Once you have created a field in Drupal, the fieldname will haunt you forever. A spelling mistake will keep living, and refactoring is out of the question. It is however…

Read more »

A list with related nodes in Drupal 6

I wanted to make a list of “related nodes” based on the term that is attached to the node. Say I have 10 nodes that have the term “fruit”. With…

Read more »

Move RSS-feeds out of Drupal

Our main RSS-feed at DeWereldMorgen.be is the most requested page next to our homepage. It seems logic, think of how many rss-readers hourly check the feed. And, think of how…

Read more »

How to add a single on/off checkbox in a Drupal 6 admin form?

  The short answer: It’s not possible The long answer: In a simple user form it is possible to add a single on/off checkbox. $form[‘thermometer_enabled’] = array( ‘#type’ => ‘checkbox’,…

Read more »

Bamboo-invoice: Segmentation fault (11)

This concerns an error in Bamboo-Invoice. When I wanted to print a pdf, I got the following error in Apache: [notice] child pid 16395 exit signal Segmentation fault (11) (16395…

Read more »

C# Generic Collections

As an alternative to arrays in C#, the MS-programmers use “generic collections”; some kind of an array where the value could be any kind of object. There are 3 big…

Read more »

This blog is back on its original domain: uitgewerkt.be!

I used to blog on Uitgewerkt.be since 2004, but unfortunately it got in the hands of a domain pirate when I was no longer interested. Seems now that the pirate…

Read more »

How to move a WordPress from one domain to another?

To follow my example. This blog used to be on www.robinbrackez.be/uitgewerkt, and is now on www.developed.be 1) Backup/restore your database If you want the website to be on a new…

Read more »