John Bloomfield - Web Designer/Developer

Feb 8, 2012

Drupal 7 - Change themes based on URL path

On a lot of our websites at work in Drupal 6 we were using Sections (http://drupal.org/project/sections) to display different themes. Sections isn't available for Drupal 7 yet but I think I came across a better way today.
Read More »
Jan 31, 2012

Drupal 7 - Building Blocks

When building web sites using Drupal there always comes a time within a design that we need to create blocks to go into regions. What I normally do is create my own module to create these blocks. So I thought I would share my process. To start off with I create a new module, so below is my .info file. If you are using a different version of Drupal then you can change the "version" and "core" to suit.
Read More »
Sep 5, 2011
Tags: 

Drupal 7 - Generate an image using an image style.

If you are trying to create an tag within a page template in Drupal 7, then you now need to use the following, instead of the old imagecache_create_url() function that we used to use, as ImageCache is now part of Drupal core and now called Image Styles.
Read More »
Dec 17, 2010

Setup Local Web Development using MAMP on OS X

A quick tutorial on how to setup MAMP to be able to run multiple virtual hosts on your local machine. We use this setup at work and I also use it on my Macbook to run multiple virtual hosts locally. You can download the latest version of MAMP from here: http://www.mamp.info/en/downloadsOnce you have MAMP installed, you need to decide where you are going to store all your websites, I tend to stick to the default OS X location in ~/Sites.  ~/ is a shortcut for your home directory.

Read More »
Dec 17, 2010
Tags: 

Setting up Drush on MAMP

A quick guide on how to setup drush on a local development environment using MAMP. Drush is a command line shell and scripting interface for Drupal, designed to make life easier when working with Drupal.
Read More »
May 1, 2009

Javascript Tip: Easy Fading Using jQuery

Check out my Easy Fading Using jQuery over at Dev-Tips.com.

Direct Link »

Read More »
Apr 29, 2009
Tags: 

18 jQuery scripts and tutorials to improve your portfolio.

JQuery can be a great tool to improve your portfolio, whether it's for eye candy, usability or functionalities. In the following collection you will find some great jQuery scripts and tutorials that's help you to get a better portfolio!

Direct Link

Read More »
Apr 27, 2009
Tags: 

The Mystery Of CSS Sprites: Techniques, Tools And Tutorials

CSS Sprites are not new. In fact, they are a rather well-established technique and have managed to become common practice in Web development. Of course, CSS sprites are not always necessary, but in some situation they can bring significant advantages and improvements, particularly if you want to reduce your server load. And if you haven't heard of CSS sprites before, now is probably a good time to learn what they are, how they work and what tools can help you create and use the technique in your projects.

Read More »
Mar 12, 2009

Grow up already and throw IE6 away!

In my day job as a Web Developer, I spend a great deal of my time getting our websites to work on IE6. It has to be the most frustrating experience of my job. It is about time people upgraded to IE7 at least, or change completely to a real browser like Safari or Firefox. At least these browsers know how to deal with the box model etc.

I came across this article about IE6 which made me chuckle so I thought I would share it.

Grow up already and throw IE6 away!

Read More »

Latest Work

Latest Tweets