One common theme I've seen with developers new to Magento is not knowing where to start. Magento's default index.php bootstrap and Mage application class offer few surface clues on how a developer should start working with the system.
astorm
One common theme I've seen with developers new to Magento is not knowing where to start. Magento's default index.php bootstrap and Mage application class offer few surface clues on how a developer should start working with the system.
astorm
Appologies for the month of radio silence here on ye 'olde personal tutorial website, but I've been hard at work finishing up a long delayed project. I'm finally done, and am proud to announce the immediate availability of Commerce Bug 2.
astorm
Debugging Magento Configuration Depends Issues Here’s a few useful code locations for debugging Magento configuration “depends” issues.
astorm
What is a Magento Area? This is a Magento 2 presentation so take everything in there with a grain of salt, but this is the first time I’ve heard anyone from Magento Inc. describe what a Magento “area” is. (Or more specifically, what an area was intended to be — it looks like Magento 2 will implement and refine this [...]
astorm
Just a quick note to let you know the Magento Pulse Storm Launcher application is now available via Magento Connect. Big thanks to the Connect team for a fast turnaround and approval.
astorm
There's a number of Magento tasks that, despite four plus years with the platform, I'm still bad at. One task is remembering to test my code for compatibility with the flat category and flat product collection mode.
astorm
Adding New Magento Cache Types A simple configuration recipe for adding new cache tags to the Magento backend’s “clear cache” feature.
astorm
There’s no official Magento “startup” event, but the first “safe” event to listen for in Magento is probably the controller_front_init_before event. I say probably, because there are a few events that fire prior to this one. In a stock installation of Magento 1.7 these events are resource_get_tablename [...]
astorm
Cart Related Magento Events Ben Marks chases down the white whale of Magento cart events.
astorm
Deleting Product Images Programmatically A Stack Overflow answer covering how to delete an image from a product via PHP code. It’s also a good example of using the business logic encapsulated in API resource models without the overhead of SOAP, XML-RPC, REST, etc.
astorm
When is a Template not a Template? Just because a block has the word “Template” it its class name doesn’t make it a template block.
astorm
Thanks to everyone who downloaded and re-tweeted my announcement of the Magento Pulse Storm launcher. There were a few bugs related to style in Magento 1.6, as well as a few related to existing Magento admin ajax pages. These bugs have been fixed
astorm
TL;DR; Technical people are users too. I've built a new, open source Magento extension for lightening fast admin navigation. You can get it from the Pulse Storm GitHub, or download the module files here. (Update: We're now on Magento Connect as well)
astorm
Can’t Login to the Admin I coughed up every reason I could think of for Magento infamous (it means more than famous!) admin login bugs.
astorm
For the tech savvy single store owner, managing product attributes isn't that big a deal. They go to the admin console, use the UI to create an attribute, and add it to an attribute set. Over the course of the morning, day, or week
astorm
Are you customizing the main product view page? Don’t forget to check that your updates render correctly on the product edit page as well. Add an item to your cart and then click the “edit” link. That’s a different page (front name: checkout_cart_configure) that might be loading different blocks, javascript, etc.
astorm
Adding Arbitrary HTML to Magento’s I know you’re all HTML5 frontend whizzes who plan their CSS and Javascript meticulously and drive out anyone who would even think of slipping a quick CSS rule or Javascript snippet into their document head, so I include this only out of completeness.
astorm
Posting this to archive a twitter conversation between Vinai Kopp and myself. I’ve long wondered what the naming conventions were for variables in Magento’s phtml template files. Many templates use the $_underscore convention for all their variables. Other templates don’t. People have speculated that Magento is warning [...]
astorm
Installing APC on OS X Good roundup of the hoops you need to jump through to get PHP APC up and running on OS X (from Doug Sparling). See also Optimizing APC Cache Settings for Magento, and Magento / Zend Framework’s TwoLevels Cache Backend Mess.
astorm