Category Archives: tech blerf

jQuery Mobile swipe through history

Implementing swipe events with jQuery Mobile is really easy. This example shows how you can control the browsers back and forward buttons by swiping in the left or right direction.

Posted in tech blerf | Tagged , , , , , , , | Leave a comment

Using jQuery Mobile docs examples

What got me stuck for a while, building my first app with jquery mobile, A unified user interface system across all popular mobile device platforms, built on the rock-solid jQuery and jQuery UI foundation. , was the lack of an option to peek around in the code of the examples presented in the jquery mobile [...]

Posted in tech blerf | Tagged , , , , , , , , , | Leave a comment

Checking for ssl (secure http / https) in php

In order to find out how to check for the presence of a secure connection in PHP, I looked into some https related wordpress plugins and noticed that there are several ways to check for this presence. For example, checking for the server port 443, on which on agreement HTTPS traffic should run, assigned by [...]

Posted in tech blerf | Tagged , , , , , , , , , | Leave a comment

Comments don’t show on attachment.php in thematic

Recently I added attachment.php to my childtheme and noticed that the commentform displayed correctly, but the comments never showed. Snippet from attachment.php: thematic_belowpost(); comments_template(); The function call comments_template(); does not work as expected. When thematic’s own functions are used everything works fine:

Posted in tech blerf | Tagged , , , , , , , , | Leave a comment