Tips and tricks

19 08 2008 : 5 reasons why not to use panels (and 4 reasons to use them)

Drupal’s block system is far from ideal. It was designed back in the threecolumn-era, was improved to work beyond three-columns-content-in-middle layouts, but is still unsuited for more complex layouts.

If you want real complex layouts, you will have to turn to Panels, or Panels2. Or so they say.

A client of mine, a large Dutch media company uses Drupal for all its new sites -about four, five each month-, and untill today used panels in these sites.


31 07 2008 : HOWTO include krumo in devel module with svn externals

Svn has a very useful concept, called externals.

The idea, in a nutshell, is that you include code from another subversion server (and repository) into your own subversioned project. Instead of simply copying the code into your project, you link to existing code. That way you simply update remote projects, when working from thirdparty development releases (that library the other team is developing on the sidetrack), and/or switch to new or stable versions when they are released.


11 02 2008 : Drupal CVS Quickref Sheet

This quickref cheat-sheet summarises the CVS documentation at drupal.org into a one A4 printable sheet.


Crossbrowser DOM inpector with Javascript

Crossbrowser DOM inpector with Javascript

Probably everyone here know the Firebug plugin and the Web developer toobar for firefox and the one for Internet Explorer.
But for those running Mac, or Linux (using, e.g. wines ie4linux) the Internet explorer toolbar will not be usefull, if it works at all.


17 10 2007 : Online Internet Explorer screenshot makers

When creating a theme or design for your site, you should test your CSS designs on several browsers. First thing, off course, is to make sure your CSS validates. Second thing is to make sure it renders good on Safari, Opera or Konqueror, for they are the only browsers that are truly standards compliant when it comes to CSS. The good thing is that these are available on Mac and Linux. But both do have problems with running Internet explorer. And as we all know, IE is not particularly good at rendering your well designed CSS properly. So you will need to test and debug your designs on IE


27 09 2007 : Snipplr Drupal's code snippet feed

Nice tip for all the Drupal hackers out there: snipplr code snippets for Drupal. It also has an RSS feed. Obviously, as with any unknown source, one should never ever use these snippets (except when you know PHP well).

Oh, and there is a nice jQuery feed too.