Categories


Recent Posts


Archives


Category: Uncategorized

Below you'll find all the Uncategorized articles on the site, followed by a chronological listing of the same. You may also browse the 8 series directly via the following links. Miscellaneous Magento Articles, SugarCRM for PHP MVC Developers, Magento 2: Advanced Javascript, Magento 2 UI Components, Accelerated Mobile Pages, Pestle, Sylius for Magento and PHP Developers, and, Containers, Containers, Containers.

Javascript Debugging in Magento

Hard to believe I haven’t mentioned this one before, but if you’re going to be doing javascript development in Magento, you’ll want to look in the following file js/varien/js.js and comment out or nullify the following code if (!("console" in window) || !("firebug" in console)) { var names = ["log", "debug", "info", [...]

astorm

PHP’s WSDL Caching Files

Although the latest version of Magento offers the ability to control how PHP caches the SOAP server’s WSDL file, and my own Mercury API extension offers similar functionality for older version of Magento, sometimes the WSDL caching can still bite you in the butt. While the above features control the caching at the server level, if [...]

astorm

Widget Data and How Hard Can It Be?

Widget Data and How Hard Can It Be? This Stack Overflow question is a nice example of how something that seems simple (querying for and updating a widget instance’s data paramaters) can be harder than you think. Most Magento projects go off the rails because someone assumes something like this is easy, and then modern company [...]

astorm

Can’t echo a Child Block?

If you’re having trouble with a call like echo $this->getChildHtml('foo'); returning an empty string, add the following debug code to your template var_dump(array_keys($this->_children)); This will print out all the children of the current block. If you don’t see the block you’re trying to echo above, that means [...]

astorm
email hidden; JavaScript is required