cdokus 0008 fixes multiple psr-2 code compliance

Soon to be released!Checkout github develop branch if you want to check this out. git clone

Cdokus reviewed on magento

Well obviously this weekend my wife and daughter are all out for swimming and I thought you know what ? Lets review the cdokus v0007 (latest) and see what all users will experience from Magento connect all the way to creating product and add some bunch pdf’s. The extension works pretty fine as [...]

Notice:Major server maintainance

Unfortunately this has to happen, as this blog is running under my machine which was built a while ago with x86 architecture.Finally starting on sunday till today I quite busy executing this make over to x86_64 My appologies for the invonience.So far so good most of the things are in place just [...]

Splitting Address in Magento

Zend_Debug::dump($address->getStreet(1)); Zend_Debug::dump($address->getStreet(2)); Zend_Debug::dump($address->getStreet(3));

ERROR 1449 (HY000) at line 16982: The user specified as a definer (‘user’@’localhost’) does not exist

/*!50013 DEFINER=`some_user`@`some_host` SQL SECURITY DEFINER */ As far as I know, there is not yet a flag for mysqldump to avoid DEFINER export. So, a solution is to replace DEFINER=`some_user`@`some_host` with DEFINER=CURRENT_USER

How to retrieve eav attribute’s database tables dynamically in Magento

This is a sample or example code where attributes database tables are being retrieved dynamically.In the end of the loop there is an example code where by some storeview level of the attributes are being removed as maintanance procedure or whatever someones wants to do. P:S **Notice the DELETE SQL [...]

Retrieving Attribute Options in Magento

This becomes handy if you intend to build a drop-down based on attribute options: < ?php   ini_set('display_errors', 1); require_once dirname(__FILE__) . '/../app/Mage.php'; Mage::app();   $results = Mage::getModel('eav/entity_attribute_source_table') [...]

Dumps && Logs – SF2

Dumping: use Doctrine\Common\Util\Debug; Debug::dump(__METHOD__.'#'.__LINE__); Log: REF:Symfony\Bridge\Monolog\Logger $logger = $this->get('logger'); $logger->info("foo");

Search Magento Products not attached to Categories – SQL

< ?php   ini_set('display_errors', 1); require '../app/Mage.php';   //init admin store Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID);   /** * @desc Search All Product that are not attached to Any Category in Magento */ $resource = Mage::getSingleton('core/resource'); $db = [...]
Screen Shot 2014-01-23 at 12.20.30

Configuration Dependency in system.xml

In system.xml the following setting(s) one is for production and one for testing/development.In this approach Magento reflects the UI based on the test mode, it will show the user which key to use.See screenshots for more clarification. Results in the backend – Development: Results in the backend [...]
Go to Top