The random eclecticisms of loonytoons

Magento – add custom layout template

Current magento version – 1.3.2.4 This is what you need to do to add a new layout template, eg 4 column page layout. Copy app/code/core/Mage/Page/etc/config.xml to app/code/local/Mage/Page/etc/config.xml. Creating this new file will allow magento core updates to occure without over-writing your changes (you’ll probably have to look out for...

Read more

Magento – url functions

Current magento version – 1.3.2.4 Magento had some very handy functions that easily allow you to find some fundamental urls of your site from your phtml files so you can avoid hardcoding them. These are: $this->getBaseUrl() – returns the base url of your store (funnily enough) $this->getSkinUrl() – returns...

Read more

Introduction to Magento

Current magento version – 1.3.2.4 This is a very brief introduction to Magento, a powerful php based open-source e-commerce platform. I am currently working on my first ever Magento project, and given the flexibilty and complexity of Magento and it’s code base, it seems a good idea to write...

Read more

Creating title images on the fly

I was recently working on a site where the main page headings where required to display in fluxfont (to match some images / icons, plus it looks prettier too). Now this is not a regular font that everyone has installed on their machines, so I needed to come up...

Read more

Tips on Decreasing Air Consumption – Scuba Diving

Most divers want to decrease the amount of air that they use on each dive, and those who don’t use much air are often asked just what the secret is. So seeing as I seem to have gained a reputation as one of these people that “just don’t breathe”,...

Read more

Virtual Hosts in Apache on Windows

This is more of a reminder for me but this might also help somebody else. I’ve had to set up virtual servers for apache on windows a couple of times (using php5.2.6 and apache 2.2 on XP and Vista) and can never quite remember exactly what it is that...

Read more

Jquery .live and .livequery

I recently had a problem where I was trying to insert some product information into a page, with the information shown changed depending on which product was selected from a drop down list. Here is the select list and the div that I wanted the extra information to be...

Read more

101 things in 1001 days

My 101 Things in 1001 days list: Start day – 01/06/2009 End day – 27/02/2012 – so clearly failed on most of these but I’ll try again with a new list

Read more

CSS firefox margins

I recently spent quite a while creating a template for a new site, so was not happy to find that sometimes a large chunk of white space would appear at the top, pushing down my background image and basically distorting the whole look of the page. And it only...

Read more

Skin Bends

As a relatively experienced diver (100+ dives), I was greatly disturbed to find my DCI (decompression illness) knowledge shown up on my last scuba diving holiday, especially as the affected diver was actually my mum! Now all divers should be aware of the common symptoms of DCI. They are,...

Read more

1 2 3 4