Recent Posts


Reference for Magento Block Action Methods


Frustrated by Magento? Then you’ll love Commerce Bug, the must have debugging extension for anyone using Magento. Whether you’re just starting out or you’re a seasoned pro, Commerce Bug will save you and your team hours everyday. Grab a copy and start working with Magento instead of against it.

Updated for Magento 2! No Frills Magento Layout is the only Magento front end book you'll ever need. Get your copy today!

I get a lot of email from Magento developers who are looking for a reference to all the different action methods they might use from a Layout XML file

<action method="whatCanICall" />

If they’re savvy, I can usually just say “look at the block class methods”, and that’s enough to get them where they need to go.

However, if they’re new to the platform, purely front-end developers, or just having a bad day, it can be tricky teaching them enough about the layout system and class aliases such that they understand where to look for action methods. With that use-case in mind, I present the Interactive Block Action Reference.

I’ve bundled this up as a Magento Connect extension and it’s working its way through the approval process. For folks who know how to manage packages outside of Connect, you may also down the extension package here. I’ve released this under the MIT open source license.

I’m hoping to grow this new Developer Manual extension into a resource for the community (and as a compliment to my more commercial endeavors; seriously, why haven’t you bough a copy of Commerce Bug yet?). If you’re interested in joining forces with an idea for the extension, or you have some design chops you want to showcase, then get in touch.

Originally published January 16, 2011
Series Navigation<< An Unremove Tag for Magento Layout XMLDjango Routes with Magento and Simple Page >>

Copyright © Alana Storm 1975 – 2023 All Rights Reserved

Originally Posted: 16th January 2011

email hidden; JavaScript is required