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

Displaying a smaller banner in an Openx zone

Did you ever want to chain a zone with smaller banners after a zone with big banners in Openx? This sounds like useful feature. We don’t live in the 90s anymore where every page had a pixel-precise table layout. The world has learned how to build fluid layouts. (more…)

Opera and the <noscript> tag

When you build websites and test them in various browsers there always are some problems in some browsers. Usually it’s the one you expect who displays things incorrectly. But a few days ago I was surprised when Opera insisted on showing me the contents of a <noscript> tag (more…)

WordPress 2.7 and the comment pager

Tagged WordPress

Comment paging is a great new feature in WordPress 2.7. However, how do you not display the pager when there are no previous or next comments? After digging through the code for quite a while and chatting with some people here’s a solution: (more…)

Track clicks with mootools

Tagged mootools

Why would I want to track clicks you may ask. Well, for me it’s about usability and user flow optimization. If I do some ajax/dynamic stuff on a page, I want to see what the users are doing. As they leave no visible traces in the logs, I need to add some. (more…)

Mooified focus onload but keep backspace intact

Tagged mootools

You may have heard about Harmen Janssen’s technique to focus input fields on pageload and keep the backspace button’s history back function intact. I wanted to play with it any my first step was to mooify his ideas. (more…)