PHP
Checking if an object is empty – PHP
As of PHP 5, objects with no properties are no longer considered empty. Therefore is you use empty() to test if an object is empty will always return true.
The easiest way to check for an empty object is to cast it to an array:
$objAsArray = (array)$object;
if ( empty( $objAsArray ) {…}
Incidently there are a [...]
Magento FCKEditor Product Validation
Implementing WYSIWYG editing is fairly straightforward in Magento using either TinyMCE or FCKEditor. However, a known issue means that TinyMCE doesn’t work within the CMS section. So FCKEditor is the only real option at the moment.
There is however one issue to sort out. The product description field is mandatory; when you enter text into this [...]
Magento Migration
As with most things Magento, it isn’t too straightforward moving an installation from one domain to another.
I have provided this post as an outline on how to approach migrating your Magento installation.
PHP Alternative Syntax for UI
PHP has a slightly underused alternative syntax for control structures, which generally is more effective in template files than the standard block-style code.