Archive for September, 2008
Tuesday, September 30th, 2008
This stuff can be seen as a continuation of an earlier tutorial integrating external search into a MODx site, i.e. a standalone search logic separate from MODx. This approach is however not limited to any kind of CMS or solution whatsoever, it’s totally agnostic through the use of Ajax. ... Read More
Tags: ajax, Javascript, jquery, PHP
Posted in Ajax, Javascript, jQuery | No Comments »
Monday, September 29th, 2008
I’ve recently had the opportunity to check out TextMate and it has a nice feature that lets you select some lines and automatically add # to the beginning of them in order to comment them out.... Read More
Tags: Ruby, scintilla, wxruby
Posted in Ruby, WxRuby | No Comments »
Tuesday, September 23rd, 2008
I had to start covering various Doctrine snippets for future reference. This post will be updated with more of them as they appear.... Read More
Tags: Doctrine, DQL, PHP
Posted in Doctrine, PHP | 2 Comments »
Wednesday, September 17th, 2008
I just went through the MODx blogging tutorial for real, with the intent of actually creating the exact same blog functionality myself. I ran into some problems with friendly/pretty URLs and this is a description of how I solved them.... Read More
Tags: MODx, taglinks
Posted in CMS, MODx | No Comments »
Monday, September 15th, 2008
Introduction... Read More
Tags: css, html, templavoila, TYPO3
Posted in CMS, TYPO3 | No Comments »
Monday, September 15th, 2008
Let’s begin with the menu. The below CSS listing is only concerned with the menu list itself, not the box that contains it, we’ll get to that later.... Read More
Tags: css, html, yaml
Posted in HTML + CSS | No Comments »
Saturday, September 13th, 2008
I’ve wanted to do automatic trackbacking by linking to posts that are linking to any given article of mine, for quite some time now.... Read More
Tags: atom, PHP, rss, trackback, zend feed, zend framework
Posted in PHP, Zend Framework | 1 Comment »
Friday, September 12th, 2008
A friend just needed help, he wants people to be able to put the YouTube insert code into a database. However it seems that there are some display related things in there he can live without that people might mess with and of course we don’t want that.... Read More
Tags: PHP, regex, regular expressions, youtube
Posted in PHP | No Comments »
Thursday, September 11th, 2008
Update: I now use this code for JSON which is based on Alex’s Rosetta Code example, the below should just be seen as a programming exercise.... Read More
Tags: json, Lisp, Pico Lisp
Posted in Lisp, Pico Lisp | No Comments »
Wednesday, September 10th, 2008
I should have done this a long time ago. I’ve probably redone the below adjustments five times already, wasting more than a full working day all in all, testing by trial and error.
Normally the YAML CSS framework looks like the picture to the left when you add a banner without changing anything. Unfortunately all the sites I’ve been involved in required the banner to have no borders. The below CSS will result in a look like in the picture to the right.... Read More
Tags: css, html, yaml
Posted in HTML + CSS | No Comments »