Recently I had to create a custom grid column renderer, to display clickable icons in an admin grid column.
Read MoreOverride Magento Admin Grid Row click
23/05/2013 3:42 pm
The magento grid has built in functionality to call an action when a grid row is clicked.
This is great, but at times, you may need to prevent that default event from fireing.
Read MoreCollection of products in all child categories
23/05/2013 3:47 pm
A task I had to accomplish was to itterate all categories, and disable the categories which had no products enabled, or had no products assigned to them (filtering down the category tree, thus an anchor category, that has children with no products was also to be set disabled, filter all the way up the tree.
Read MoreUpsell and Related Produts appear the same
23/05/2013 3:49 pm
A frustrating issue appeared on a site I manage, where the related and upsell products appear as the same product.This is directly related to cache, as it appeared as soon as cache gets enabled.
Testing, I find that if I clear the BLOCK_HTML cache, then they work once, then stick to the first product. Clearly a cache issue
Read MoreTrap double click event on magento grid row
23/05/2013 3:51 pm
Magento's grid functionaly has a hidden, a d not well documented feature to allow you to trap double click events on a grid row.
Read MoreFail2Ban to limit DDOS attacks on http webserver
23/05/2013 3:55 pm
A site I am managing recently came nder a massive DDOS attack from around the globe.
To limit the attack, I used fail2ban to setup a ban system to help mitigate the issue.
Read MoreClear queued mail in postfix RHEL6
23/05/2013 3:56 pm
A recent botnet attack on a site I manage createded a massive amount of emails in the mail queue.
Read MoreIntercept Log Writing
26/05/2013 11:25 pm
Magento generally logs events to either system.log or exception.log, but what if you want to do some additional action when those logs are written to?
Read MoreThe awesomeness that is New Relic
3/06/2013 8:21 am
So you have an awesome, popular website, be it e-commerce based, or just information based. No matter how awesome your site, one of the leading factors to break the awesomeness is site speed. Plainly put, if customers find the site loading time frustrating, they will move on to another site.
So, how to improve your site performance?
One of the best ways will be to hook up with New Relic
Read MoreMagento Design Matched Expression
12/07/2013 11:07 am
It is possible to target mobile devices to load a seperate mobile theme. This method is becoming a bit 'old-school' since responsive themes are the 'new wave' of targetting all device types.
Read More