News and Blog

CodeIgniter Google Maps V3 API Library

July 2nd, 2010 - Posted by Steve Marks to Javascript / jQuery, PHP, Web Development.
Looking for a Laravel implementation of this library? You’re in luck. Click here. In early May 2010 I wrote a Google Maps API library for CodeIgniter. This used Version 2 of the Google API and was pretty limited. Well, I’ve been working tirelessly over the past weeks to get a n...

When JW Player Doesn’t Play On IE

June 22nd, 2010 - Posted by Steve Marks to Flash, Javascript / jQuery, Web Development.
I’ve used the JW Player flash player for lots of projects now. It’s free, customisable enough and has a lot of documentation, plus community support, to help when something isn’t working right. I ran into an issue during my latest project however where JW Player was worki...

Attributes Not Appearing in Magento’s Comparison Popup Table

May 27th, 2010 - Posted by Steve Marks to Magento, Web Development.
Comparing products in Magento is a useful feature that allows potential customers to handpick a selection of items that they are interested in and view the differences between them side-by-side in a single grid. When recently developing a Magento site and including this ‘Compare̵...

Losing CodeIgniter Sessions

May 21st, 2010 - Posted by Steve Marks to PHP, Web Development.
I had a scenario earlier today where I was setting a session using the CodeIgniter Session library, it was being set fine but then as soon as I navigated to another page it was being lost. After much research and testing it turns out it was due to the fact my session name contained an [......

Stopping Spam Via Web Forms Without Using a CAPTCHA

May 18th, 2010 - Posted by Steve Marks to (X)HTML / CSS, Web Development.
Personally I hate spam (who doesn’t!), but I also have a strong disliking towards methods used on site’s forms to stop it. CAPTCHA’s, questions like ‘1+1’ or ‘Is water wet or dry’, they’re all in place to separate the genuine Human Being user...

Grab a Client’s Attention: A Cool Little Javascript Number Input Box

May 12th, 2010 - Posted by Steve Marks to Javascript / jQuery, Web Development.
A web application could contain equations and processes that Stephen Hawking himself would be proud of, but there’s one little feature I use in my work that always guarantees an instant reaction from users. Hell, I’m sure it’s even won me jobs before when showing it to po...

Google Maps API Library for CodeIgniter Framework

May 1st, 2010 - Posted by Steve Marks to Javascript / jQuery, PHP, Web Development.
UPDATE: I have now released a new version of this library that uses Version 3 of the Google Maps API. Click Here to Read More I am pleased to announce that the first release of my Google Maps API library for the PHP framework CodeIgniter is now ready and available for download. Seeing as e...

Reducing Analytics Inaccuracy as a Result of Website Development

April 29th, 2010 - Posted by Steve Marks to Javascript / jQuery, SEO, Web Development.
If you’re anything like me and work on a multitude of various websites you’ll have different versions of sites all functioning at the same time; maybe a copy running on your localhost for development, a staging version and the live production site visible to the public. With an...

Adding Numbers Correctly with Javascript using parseInt()

April 25th, 2010 - Posted by Steve Marks to Javascript / jQuery, Web Development.
Are you adding 2 and 2 together and getting 22? It’s a common problem with adding numbers, especially if the numbers are being passed via a user’s input in a textfield. The problem here is that the numbers are being treated as strings and doing something like below will result ...

Enabling $_GET Variables when using CodeIgniter

April 23rd, 2010 - Posted by Steve Marks to PHP, Web Development.
The PHP framework CodeIgniter, by default, does not allow the use of passing parameters via the URL query string, forcing developers to use URL segments to pass information between pages. There are however some scenarios where you do need to access the $_GET array, for example when integra...