Recursive Layout Updates won’t Work in CMS Page Model Meaning you can’t use the <update handle="foo"/> syntax when you’re entering a custom layout update to use on a specific XML field. I encounter this bug about a once a year.
astorm
Magento 1.13 and MySQL Triggers I know “no more consulting” was a great business move for Varient/Magento Inc./etc., but the folks building Magento’s core are slowly loosing touch with the day-to-day needs of working developers. I’m glad there’s folks like Robert willing to suffer the slings and arrows of [...]
astorm
Alan Storm: Magento Admin Hello World Revisited I rewrote my original Magento admin console hello world article to be more, um, correct. My original Magento articles weren’t based on a mystical deep knowledge of the system — they were plain old trial, error, and analysis. For the most part I figured out what the core team was on [...]
astorm
Today we're going to revisit an old topic. Back in 2010 I wrote an article on setting up admin routes in Magento. While the article was technically sound, the techniques it described are not sanctioned by the Magento core team, which has led to
astorm
Long Running Admin Page Requests Blocking Other Requests The dark art of PHP session management.
astorm
Stop me if this sounds familiar. Hey look, a Magento Connect extension, let’s try it out Oh, right, I need to be logged in to get the extension key Where’s that password again? [knocks over pills] Waiting for Magento site to log me in [Still waiting] There are, of course (I assume), reasons for Magento to force a sign-in [...]
astorm
Over the weekend I released an upgrade to Commerce Bug 2. There's full details over at the Pulse Storm blog, and this is a free upgrade for registered Commerce Bug 2 users. One new feature I want to dawn attention to here is the
astorm
Maybe if I write this down I’ll remember it. You probably know all Magento admin console URLs need a nonce/key in the URL http://magento.example.com/admin/catalog_product/edit/id/174/key/c4df66cd2118cb5422c9fb5eff7eq4f0/ That’s why we use the Mage::getModel('adminhtml/url') model object to generate URLs. What I always forget [...]
astorm
This article is part of a longer series covering the n98-magerun power tool Now that we’ve got a build environment up and running, we can get to work creating our first n98-magerun command. Our end goal for today is to add a helloworld command to n98-magrun $ ./n98-magerun.phar list //... Available commands: helloworld Displays a [...]
astorm
I was about to update the n98-magerun article with some positive developments on those phpunit dependencies when, much to my surprise, this happened All the XML in code blocks is gone. Vanished. Something something other people’s free blogging systems. Fortunately the post is mostly available via the V1 API (with entity encoded [...]
astorm
This article is part of a longer series covering the n98-magerun power tool Today we’re going to run through setting up your own n98-magerun development environment. This will allow you to develop your own features and contribute bug fixes back to the main repository. This one’s a little longer than our normal Magento [...]
astorm
Vinai/fix-sample-data.php And Vinai’s fix for the duplicate URL problem partially/previously mentioned below. I try not to be hypercritical of Magento Inc./eBay because I know how hard these things are, but it really sounds like they pushed EE 1.13 out the door to have a Magento Imagine announcement. Fortunately the partner firms [...]
astorm
What’s wrong with the new url-keys in Magento? – Fabrizio Branca Some musings by Fabrizio Branca on changes to Magento’s product URL handling. I haven’t dug deeply into this, but it sounds like there’s a new typed (vs. a varchar), per store EAV attribute for product URL keys with unique indexing, but the [...]
astorm
This article is part of a longer series covering the n98-magerun power tool The database: That which, as Magento programmers, we’re not supposed to touch. Use the native objects is a refrain I’ve sung on more than one occasion, and it’s still what I recommend to people starting out with Magento. Of course, even if we [...]
astorm
This article is part of a longer series covering the n98-magerun power tool We’re almost at the end of our n98-magerun command review. Today we’re going to blitz through the remaining commands on our plate $ n98-magerun list local Available commands for the "local-config:generate" namespace: local-config:generate Generates [...]
astorm
This article is part of a longer series covering the n98-magerun power tool Today we’ll be covering the n98-magerun system (or sys) commands. $ n98-magerun.phar list sys sys:check Checks Magento System sys:cron:history Lists last executed jobs sys:cron:list Lists all cronjobs sys:cron:run Runs a cronjob by job code sys:info Prints [...]
astorm
This article is part of a longer series covering the n98-magerun power tool Last time we covered the toggle related commands under the dev category. Today we’ll be covering the remaining development commands dev:console Opens PHP interactive shell with initialized Mage::app() (Experimental) dev:ide:phpstorm:meta Generates meta data [...]
astorm
This article is part of a longer series covering the n98-magerun power tool Today we’re going to start in the on the n98-magerun commands under the dev category. $ n98-magerun.phar list dev ... dev:console Opens PHP interactive shell with initialized Mage::app() (Experimental) dev:ide:phpstorm:meta Generates meta data file for [...]
astorm
This article is part of a longer series covering the n98-magerun power tool Similar to the already covered admin commands, n98-magerun also has commands for managing customer accounts. $ n98-magerun.phar list customer Available commands for the "customer" namespace: customer:change-password Changes the password of a customer. [...]
astorm
This article is part of a longer series covering the n98-magerun power tool Magento is a module based system — each code module has a file named config.xml which contains configuration information related to the module. Magento will merge all the config.xml files into a single global configuration tree. This tree is then available for [...]
astorm