Skip to Content

Category Archives: Development

Jquery Trigger onchange() Event.

Written on June 30, 2011 at 8:34 am, by Matthew

While developing a subscription module i required the need to trigger an onchange event. I had a <select> which displayed all the products and when the selected option value changed it would perform an ajax request and load the products options to be displayed below the product. This worked like a charm however I neededContinue Reading

Error parsing XML; message from parser is: The entity “Acirc” was referenced, but not declared.

Written on May 31, 2011 at 4:12 pm, by Matthew

Recently I stumbled upon an error while trying to pass a shopping cart to the payment provider Google Checkout. The error was: “Error parsing XML; message from parser is: The entity “Acirc” was referenced, but not declared.” After hunting around and a bit of searching on the net, the issued stemmed from having a `£`Continue Reading

Magento – Change Layered Navigation Category Text

Written on February 18, 2010 at 10:35 am, by Matthew

This is just a quick post about how to change the “Category” wording on the layered navigation of a site. I needed to change it to “Brand” and it took me a few minutes to locate the correct files as the developer guide lines were not showing up. I thought for this reason I willContinue Reading

Magento Change “My Cart” to “My Basket”

Written on February 11, 2010 at 1:16 pm, by Matthew

A site we were developing needed to have the wording “My Cart” changed to “My Basket” in the header links of the site. To do this we made a translate.csv file under “/app/design/frontend/default/default/locale/en_GB/” The “en_GB” could be whatever locale you are using. Our store is setup for the UK so it is “en_GB” the USContinue Reading

Copyright Year.

Written on January 4, 2010 at 9:23 am, by Matthew

Just a quick post but it is one that I had to use recently so thought I would quickly make a note of it so that it helps others out. With the new year coming I had to update a sites copyright year which was displayed in the footer. It was a simple enough thingContinue Reading

Remove sound from an FLV

Written on September 9, 2009 at 10:40 am, by Matthew

Today I needed to remove sound from an a flash video that was playing in the website. I was hoping that I would not have to get the DVD out and re-encode it for the web as this took me quite some time to get it to the required level of quality/size. After a bitContinue Reading

PHP Scaffolding Class

Written on August 15, 2009 at 9:11 pm, by Matthew

Im uploading this scaffolding class so that hopefully some other people can find use for it. It is based on the excellent tutorial on building a scaffolding class by Ben Hirsch which can be found here http://www.shadow-fox.net/site/tutorial/39-Creating-A-Scaffold-like-Class-in-PHP-or-An-Automatic-CMS-For-a-Table Sadly i can’t seem to find the original post however I’m sure its nothing a quick google can’tContinue Reading

Howto scrape an entire website

Written on August 4, 2009 at 6:22 pm, by Matthew

I had the need to backup an entire site and its content when I couldn’t get access to the FTP details quickly. Luckily the site was just static content so I was able to just use one of the many tools available in a regular linux shell. Here is the code I typed into myContinue Reading

PHP Singleton Database Class

Written on May 12, 2009 at 9:14 pm, by Matthew

A php singleton database class which allows your database queries to be performed quickly and with very few lines of code.