Archive for the ‘Code’ Category

How do you put a Drupal website in maintenance mode via the database?

October 22, 2011Matt No Comments »

I recently had a website that we proving quite problematic, it got to the point where I couldn’t even access the Drupal maintenance page without getting memory errors (I suspect the result of a well and truly oversold shared server). It became necessary that when migrating it to a new server, to ensure there were [...]

read More »

Adding a Drupal Cron Job with cPanel

June 27, 2011Matt No Comments »

This is as much for my reference for each time I setup a Drupal site as it is for anyone wondering how to setup a cron job to automatically run cron on a Drupal site through cPanel. Log into cPanel Click “Cron Jobs” In the “Add new cron job” section, select “Once an hour” from [...]

read More »

The Perpetual Beta – SourceForge

May 11, 2011Matt No Comments »

Overview Founded in 1999 (n.d.) SourceForge was one of the first hosted solutions providing a collaborative software development management system that incorporates version control through a web based interface. It is a fantastic example of a web application that makes use of the perpetual beta concept because of the irony behind it. SourceForge is a [...]

read More »

Peekaboo Internet Explorer 7

February 13, 2009Matt 3 Comments »

I posted yesterday regarding a problem I was having with Internet Explorer 7 rendering some JavaScript controlled pop ups incorrectly in one of my current projects. I ended up fixing it by applying a position: relative; and z-index: 100; to each <p> tag. Nothing below 100 would display the text. It turns out its a [...]

read More »

JavaScript and IE Problem

February 12, 2009Matt 1 Comment »

IE and problem in the same sentence, not surprising is it? I’m working on a project at the moment where I’ve come up against a rather frustrating problem in Internet Explorer. I have a series of pop ups on a particular page that are opened with JavaScript when help links are clicked. The JavaScript for [...]

read More »

Accessible CSS – Azimuth and Elevation

February 9, 2009Matt No Comments »

This morning, I came across this CSS property that I’ve not seen before whilst I was having a look at whats available in CSS for special devices, like screen readers. CSS 2 introduced the azimuth CSS property which is effectively targetted at users browsing the web with screen readers. I’m not sure that any of [...]

read More »

Disabling Form Input

October 21, 2008Matt No Comments »

Since I don’t have much time today, but I think I should write something for you to enjoy, I’ve decided to explain how to disable the input in a X/HTML form.Disabling the input to a form using XHTML or HTML is actually really easy, but it’s not very well known. All you need is one [...]

read More »

Where Have I Been?

October 14, 2008Matt 1 Comment »

It’s been a while, and how I’ve missed you my poor, neglected blog and readers, it’s been so empty without you. So what have I actually been doing for the past month? Yep, it’s been a month already! Or it would have been if I had waited two more days to write this, but I’m [...]

read More »

Computational Art Assignment

June 11, 2008Matt No Comments »

I had an assignment due on Monday for KKB210: Computational Arts 1, where I had to create 3 computational art works. This has kept me pretty busy over the past week or so, especially since I had another assignment due on Tuesday, just a 1500-1800 word essay fortunately, so it didn’t take up too much [...]

read More »

Bookmark a Page With Javascript

June 3, 2008Matt No Comments »

I have been asked a few times how to add a bookmark link within a HTML page, so that people can just click the link and the website will be added to their bookmarks. This is pretty straight forward to do, here is the code you would need: This will create something like this: Bookmark [...]

read More »