My BlogAbout MePortfolioTemplatesArticlesWeb StoreMessage Board (Forums)Guestbook

Five perhaps not-so-known PHP tricks for leaner and cleaner code

Submitted by Jakob on 7 April, 2008 - 23:21.My Blog | Computers & Hardware | Drupal

In this article I'll give a few examples of powerful ways to program PHP that aren't obvious to many. The tricks I mention here are in themselves nothing new and experienced programmers probably know about them all but budding and intermediate PHP programmers can probably pick up a thing or two.

Checking in

Submitted by Jakob on 15 September, 2007 - 23:58.My Blog | Drupal | Internet | Personal | Travel

So I've been very busy the past few months. Barely time to do anything but seeing clients, working and lapping a little sunshine now and then. The farthest from Sweden I got was to Oslo (Norway) to spend a week there hanging out with friends and trying not to think about how expensive it was.

An easy way to display a customized menu in your Drupal theme

Submitted by Jakob on 3 February, 2007 - 01:07.My Blog | Drupal

I've been working on a theme where I needed to display a menu in Drupal given its menu id (mid), which is the unique identifier of the parent element of the menu's items. Usually, you can assign menus to different regions in your theme but the problem with that approach is that the menu will be rendered as a multi-level list (nested ULs). In this case, I wanted a flat list, and had written my own theme function to display the links on one line with delimiters, taking an array of menu items as argument. I ended up writing a function for this purpose using parts of the code from Drupal core, a function that others might find useful.

The new super-improved KogVet website is launched!

Submitted by Jakob on 10 October, 2006 - 01:09.My Blog | CSS | Drupal | Portfolio Updates | Web Design | XHTML
KogVet front page

The new website for the student association at the Cognitive Science program here at Link�ping University was launched two weeks ago but I haven't gotten around to posting about it until now. It's with a great feeling of accomplishment that we finally launched this site and we're thrilled at the thought of all its new features and what it will bring to the association and the students at the program. Continue reading in my portfolio...

Drupal for Solid Lifeforms

Submitted by Jakob on 4 September, 2006 - 20:32.My Blog | Drupal | Human-Computer Interaction | Web Design | XHTML

A beginners FAQ and guide to one of the most formidable content management systems on planet Earth

Some of you who frequent my site may have noticed that I work a lot with Drupal and now offer Drupal-related services such as customization and design. If youre curious about what Drupal is and what it can do for you, how you can build a better site - a site thats easier to maintain using a state of the art CMS, this guide is for you.

Problems are good for one thing: fixing

Submitted by Jakob on 9 May, 2006 - 20:11.My Blog | Drupal

When I added the Dreamfall review yesterday I realized certain things did not work as they should, and after investigating the problem further it turned out that there was a problem with blog type nodes. After receiving good advice in the #drupal at I began to troubleshoot, and in the process found a great way to set up a staging version of my site for testing new code and modules.

Related Nodes - my first Drupal module

Submitted by Jakob on 6 May, 2006 - 12:52.My Blog | Drupal

Many blogs list related blog entries as "Related Articles", however currently this isn't something that Drupal supports, nor could I find a module that does. It seemed I would have to write my own module, so yesterday I started working on what was to become my first Drupal module. It's called 'Related Nodes'.

XML feed