Sep 6, 2012 ·
1 minute read
php
Exciting times in the php world, Zend Framework 2.0 stable has been released! Magento is currently based on the 1.x branch of Zend, and Magento 2 is aiming to be on Zend Framework 2 (ZF2) so this puts the world one step closer to Magento 2.0. The full announcement is here
Sep 5, 2012 ·
1 minute read
linux
One of the things that has not yet been fixed in mate is that the physical calculator button available on a lot of keyboards is mapped to “gcalctool” still but mate calls this “mate-calc” A quick and easy fix is to ensure you have a bin folder inside your home directory (e.g. /home/edmondscommerce/bin/ ) and run the following commands at a shell :- cd ~/bin ln -s `which mate-calc` gcalctool This means that anything that calls gcalctool will call mate-calc by default.
Read On →
Sep 5, 2012 ·
2 minute read
linuxlinux mint
With the Gnome world moving on to Gnome Shell and Unity some of us are finding frustrating the lack of ability to tweak and configure afforded to us by Gnome 2. MATE has gone a long way to ensuring that we can continue to use the familiar desktop environment without the worry of using an outdated and insecure version of your favourite distribution. One such area where an immense ability to configure our DE is Compiz which is no longer compatible with Gnome Shell.
Read On →
Sep 4, 2012 ·
1 minute read
linux
If you have incremental backup requirements but would rather avoid something heavy and perhaps over featured and complex such as Bacula then Backup2L could be just the thing. Written in BASH, it comprises only a small number of files that you can read directly to see how it works. There is a configuration file that is installed to /etc/backup2l which you will need to edit a little and then after that its just a case of running backup2l -b to initiate your backups.
Read On →
Aug 30, 2012 ·
1 minute read
linux
If you have a long running script that is designed to run as cron but may be run manually from the terminal then you may want to enforce screen so that the process can’t be aborted by the SSH terminal being closed for whatever reason. We already blogged about how to force running as screen here. This is an extension of this that also checks for running as Cron and if so, does not force screen.
Read On →
Aug 29, 2012 ·
1 minute read
magento
In certain places in Magento, you can simply access the data from an object by property, but beware! For instance, in the product template the following two code snippets have the same effect :- $_qty = $_product->stock_item->stock_qty; and $_qty = $_product->getStockItem()->getStockQty(); However only the latter will work if you call it from the category view. This is because the product is not fully loaded, and even doing a $_newproductobject = Mage::getModel('catalog/product')->load($_product->getId()); will not help!
Read On →