«My Five Cents»
April 24th 2013

Order Posts in WordPress by Multiple Custom Fields

I’ve found several solutions to order posts in WordPress by multiple custom fields. Unfortunately, none of them worked. However, they pointed me to the right direction.

March 27th 2013

Adding Responsiveness And Other WordPress Improvements

Finally I have found time to add responsiveness to my website. But not just that – I rebuilt my custom WordPress theme from ground up based on _s. Thereby I was able to fix a lot of bugs and got rid of superfluous code.

Furthermore, I switched to WordPress-Skeleton for the git repository layout and WP-Stack for deployment.

February 21st 2013

How to use WordPress 3.5 Media Uploader in Meta Box Plugin

WordPress convinces me more and more, and some of the plugins make the wellness package complete. One of them is Meta Box.

Using the thickbox_image field type makes it incredibly easy to add sets of images to pages and posts, which can then be used for custom sliders or galleries.

However, the plugin uses the pre WordPress 3.5 media uploader which doesn’t handle as nicely as the new one. In my usage scenario, it was the missing ability to select multiple images that bugged me in the old version.

Fortunately it was quite simple to change this fact.

January 21st 2013

Full Width Menu with Equally Padded Elements using jQuery

My latest project had a new challenge ready for me – a menu which sits on top of the main container taking up its full width and has equally padded menu elements.

As an exercise, I made a jQuery plugin out of it.

January 10th 2013

Embedded Font Oddities in Firefox

This could be an episode from a story called “New Adventures in CSS cross browser compatibility”.

I thought that font embedding in CSS is a robust concept, once you understand the basic rules. And in no way, I thought about testing it in Firefox specifically.

However, reality proved me wrong.

January 10th 2013

Fill Form values using jQuery

Due to the imposed turning away from Flash / Flex development, JS gained importance in my daily business as well.

In a recent project, I had to set up multi step forms. During development and testing,
I needed a simple way to fill the form with predefined values and selections.

July 6th 2012

NetBeans hide and show TopComponent

NetBeans RCP really simplifies the development of fully fledged Java desktop applications – once you got grip. However, small things – such as the hiding and reopening of a TopComponent - are a pain to implement. For this particular pain, I’ve found a cure .

April 5th 2012

Install yum on CentOS 5 x86 using RPM

Based on the Information found here, I created a more up-to-date list of packages to install yum using rpm.

January 17th 2012

iTunes Like Flex Search TextInput

While thinking about how to implement and style a slick text based filter for data shown in a Flex DataGrid I stumbled upon the solution when searching for some of my favorite songs in iTunes.

The search field in iTunes offers exactly the functionality I was looking for, packed in Apple’s usual understated style.

Well, this was definitely a challenging task for me in terms of skinning.

January 10th 2012

Prevent Google Apps Mail Service from Rewriting the Sender Address

I recently set up the mail service for my new smartcode domain using Google Apps. Subscription and setup of the Google Apps account with some mail addresses is a simple and straightforward process.

However, when I sent mails from my server (using sSMTP) with sender addresses like blog@smartcode.ch or wiki@smartcode.ch, they all arrived in my inbox with the sender address set in the ssmtp.conf file.

Read on for instructions to configure Google Apps mail service to allow some kind of alias addresses for a mail address.