Samsung ML-1610 on Debian GNU/Linux

Tagged Debian

I bought this printer a long time ago and it was connected to my Mac until that box died. I tried to install it once but never tried again after I didn’t get it to work in less than five minutes. Well, this time I did invest like ten minutes and it works just fine. (more…)

Password protecting the wp-admin directory

Tagged lighttpd

Several places recommend to block the WordPress admin area with a password. While this certainly is a good idea, implementing it properly is non-trivial. (more…)

How to add support for navigation menus to your WordPress theme

Tagged WordPress

The new navigation menus system in WordPress 3.0 looks promising, but in my opinion it’s not very usable yet. Anyway, here’s one way to add navigation menus to your theme while maintaining backward compatibility:

In your theme’s functions.php add something like the following code: (more…)

Change Typo3 template depending on column content

Tagged Typo3 Deutsch

Let’s assume you don’t just want to inject some HTML if there is content in a column, but you want to use a completely different layout. This isn’t hard to accomplish, see the example: (more…)

Change template if content exists in Typo3

Tagged Typo3 Deutsch

If you build sites with Typo3 you might want to use a smart template that uses different markup for different pages. Of course you can define as many templates as you like in Typo3. But what if you want to use a two and a three-column layout, depending on if content in one column exists, and if you don’t know in advance if there is content in that column? The solution is rather easy, do something like in this example: (more…)

Using any Debian box as a wireless access point

Tagged Debian

I just lost an hour trying to configure a Thinkpad T41 as a wireless access point. Most of that time was due to problems with the built-in wlan interface and a kernel recompile to use a prism54-based PCMCIA card. This is mostly a post to remind myself what to do, and how to do it on Debian. It’s not the first time I create an access point, but I do it so infrequently that I always forget something. (more…)

Mailman, HTTP POST and 301 redirects

After changing my domain configuration a little (do 301 redirects from nkuttler.de to www.nkuttler.de/ etc.) I noticed that my mailman web interface stopped working. I tried to moderate, change settings etc., but once the form was submitted nothing happened. (more…)

Typo3 in 15 minutes

Tagged Typo3

Ok, the title is a little exaggerated. You’ll need to install Typo3 yourself and I assume that you can log into the backend. But if those are given, you’re pretty close to creating your first Typo3 site. (more…)

Very simple Typo3 navigation

Tagged Typo3

Sometimes I get asked how to build a menu in Typo3. It’s really easy, but TSref isn’t very verbose. So here’s how to build a basic, valid Typo3 navigation: (more…)