December 2011
2 posts
Dec 31st
1 note
Dec 6th
226 notes
September 2011
2 posts
Sep 24th
9,915 notes
5 tags
drupal_add_js + hook_form_alter
Interesting little gotcha I came across when working with the drupal form_api When you want to add a js or css to a page, drupal_add_js and drupal_add_css is usually the best way to do it rather than outputting <script> tags. I needed to do as we use some js to manipulate the node edit forms. But I found that if you use these functions are used in hook_form_alter the js/css files...
Sep 23rd
12 notes
March 2011
1 post
Mar 9th
February 2011
1 post
5 tags
Web experience on ipad
I spent some time fixing some bugs on a web site I was building that needed to work on an iPad. It was my first time doing this and learnt some interesting things in the past few days. Mouseover events Mouseover/hover events won’t work properly or as expected on an ipad as that concept doesn’t exist on the device. When you tap on the screen on the appropriate element, it will become highlighted...
Feb 28th
2 notes
December 2010
4 posts
4 tags
Dec 13th
11 notes
Dec 2nd
Dec 2nd
3 tags
List of Stadiums by Capacity →
Inspired by watching some of The Ashes highlights and quite surprised by the size of The Gabba. A lot of the biggest stadiums seem to be American College football which was a bit unexpected. Was also surprised by the capacity of the ‘smaller’ football team stadiums in the list of British Stadiums. 
Dec 1st
November 2010
3 posts
Nov 28th
Nov 26th
Nov 11th
October 2010
6 posts
3 tags
Spooky Chicken! →
This made me laugh! via LDN
Oct 30th
3 tags
Oct 27th
3 tags
Oct 21st
3 tags
Oct 7th
2 tags
Oct 4th
4 tags
Oct 3rd
September 2010
2 posts
4 tags
Sep 5th
Sep 4th
August 2010
3 posts
5 tags
How to associate file extension with syntax...
Using a windows machine at the latest contract work and have been using notepad++ as a lightweight text editor as well as eclipse for my main coding work. I wanted to open up .module and .inc files with php syntax colouring in notepad++ rather than having to change the language setting each time. To do this, edit the langs.model.xml and add ‘module inc’ to the php language node ext...
Aug 26th
3 tags
Aug 17th
Aug 11th
July 2010
2 posts
“I came here, to drink milk, and kick ass……and I’ve just...”
– Moss - Series 4 episode 2 “The Final Countdown”
Jul 7th
Jul 7th
June 2010
4 posts
WatchWatch
“You’ve Got to Love London” Nice little time lapse video Via LDN
Jun 25th
4 tags
“If the keeper was standing where he should have been, any reasonable person...”
– Dog Man Star  Comment on “World Cup 2010: Did Maicon really mean to score Brazil’s spectacular goal?”
Jun 16th
Jun 15th
4 tags
Jun 7th
May 2010
5 posts
3 tags
May 28th
347 notes
3 tags
May 19th
May 14th
2 tags
May 14th
74 notes
3 tags
May 14th
5,459 notes
April 2010
6 posts
Apr 15th
Apr 8th
Apr 7th
Apr 6th
2 tags
Apr 5th
4 tags
Apr 1st
March 2010
6 posts
3 tags
Mar 28th
4 tags
Mar 26th
1 tag
Mar 24th
3 tags
Mar 22nd
615 notes
3 tags
Mar 5th
3 tags
Four Lions →
Can I have 12 bottles of bleach as please? So why has she got her hands on her face Fez? ……cos she’s got a beard…… This makes me laugh. Can’t wait for it to come out.
Mar 5th
February 2010
6 posts
4 tags
Feb 28th
3 tags
WatchWatch
Misery Bear decides to visit London. The other videos are quite cute
Feb 14th
2 tags
Feb 14th