Witty and insightful observations on the world? Sorry to disappoint, this is a techie blog purely for self reference - published online in the hope it will help others!

Magento URL Rewrites – custom url redirect for CMS page

OK, so why this post? Well there just wasn't very much (or indeed anything at all) on this in Google when I looked. There is loads on how to use Magento's built in url rewrite system from teh backend. And there's loads on Stackoverflow and Alan Storm's blog on how to create a custom controller to over ride the PageController and IndexController. Nothing on how to just create a custom redirect for a cms page though. I needed to do this because I am doing a project with Peter Warren at Synoptive (Magento product configurators) on a Magento multistore. It is for United Carports (custom built carports), I've made ... Read more

Enabling and using ImageMagick in PHP on Plesk 11

I am currently building a configurator in Magento - it's a native configurator using Magento's custom options on a simple product coupled with some javascript which I've coded up on separate custom product/view-custom.phtml and product/view/media-custom.phtml templates (applied to a specific product using this technique -> http://prattski.com/2010/11/04/magento-use-different-template-files-for-specific-products/). The concept is simple enough but I have had to create a script to generate all the images. I've used PEAR Math Combinatorics to handle all the images configurations but that involved enabling ImageMagick on the server. What a struggle that's been. Honestly, I couldn't be a server admin, desperate stuff. Anyway..... Maybe this might help some other poor unfortunate like myself a few frustrating hours. Read more

Magento: Remove all toplinks via local.xml

If you Google trying to fin out the best way to remove all the toplinks from the masthead of your Magento store you will be presented with a rash of different options on how and how not to do it. As always with Magento, there's a number of ways to skin a cat - some of the ones I found ranged from easy and efficient to completely ludicrous. Particularly ott are the ones suggesting it be done by modifying template files, but you also see suggestions about modifying/overriding multiple layout files, or disabling modules through the Advanced system config menu in the backend. You don't need to do any of that, your theme (should) have it's own local.xml file, you can ... Read more