Change Typo3 template depending on column content

Diesen Artikel auf 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

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

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

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

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

The biggest CSS annoyance

Twitter, scrollbar layout overlay

I think this is one of the biggest design flaws, and I see it all the time when I surf the net. What surprises me is that I even see it on sites that have valid code, a nice design and offer valuable services. (more…)

HTML forms and onclick/onfocus

Diesen Artikel auf deutsch

When you use HTML forms it is often desirable to pre-fill some input fields. Your idea could be that you want to give your visitors some clue to what they’re supposed to fill in. (more…)