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
This article is part of a longer series covering the n98-magerun power tool Today we’ll be covering n98-magerun’s admin and cache commands. You can see the internal descriptions for these commands by using the top-level list command. $ n98-magerun.phar list admin ... Available commands for the "admin" namespace: [...]
astorm
This article is part of a longer series covering the n98-magerun power tool N98-magerun commands are organized in a tree hierarchy. For example, the extension:list command is actually the list command, under the top level category extension. These categories don’t tie back to any particular Magento system. Instead, they exist to [...]
astorm
This article is part of a longer series covering the n98-magerun power tool I’m starting a new series here on Magento Quickies covering the n98-magerun command line tool. This is a nifty utility that automates a lot of the day-to-day drudgery of working with a Magento system, and is a nice compliment to Commerce Bug’s [...]
astorm
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
This is a small PHP shell script that will extract the default connection information from local.xml and construct the correct command-line script to do a no-locking dump of the database. You’ll need to be in the root folder of a system for this to work. Useful if you spend a lot of time debugging different systems. #!/usr/bin/env [...]
astorm
If you’ve setup your own API methods and are having some trouble getting the resources to show up in the admin console’s resource list, make sure that each resource ACL group node and each each individual ACL node in api.xml have a module= translation attribute <assign_simple_product_to_configurable translate="title" [...]
astorm
Update: Turns out the previous post was missing a <layout> tag in the code examples. This has been fixed, and we regret the error. (Thanks to Bartosz Cisek, proprietor of brillan.pl, for the correction) I was surprised to discover I hadn’t covered this anywhere other than No Frills Magento Layout. The XML files in a [...]
astorm
How To Rewrite a Model Answer on Stack Overflow
astorm
Upgrading via. Magento Connect A terse, but useful, Magento wiki page on using Magento Connect’s command line to upgrade your Magento installation.
astorm
The public Magento Wiki is a mess of mixed content, but it’s worth subscribing to the RSS feed of recent changes. The more dedicated members of the community tend to keep their articles up to date on changes to Community Edition, and it can sometimes save you from being blindsided when considering a new version.
astorm
You’re cruising along, your module has come together. The last step between you and total Magento Connect domination is packaging your extension. You bravely enter System -> Magento Connect -> Package Extension, and with victory in your grasp … FAILURE! With no clear path forward, you commit seppuku rather than face [...]
astorm
Welcome Magento Commerce Blog Readers! If you like these little tidbits of information you may be interested in the full length articles I write over on my personal blog. You should also checkout Pulse Storm’s Magento products. There’s Commerce Bug, a Magento debugging extension that demystifies the system for newbies, and [...]
astorm
Magento Version: 1.5.0.1 More modern version of Magento have abandoned the EAV storage method for sales order information. Don’t worry, there’s still plenty of linked tables to trip you up! One of the most common misunderstandings I’ve seen is that there’s two tables that store primary order information. The more [...]
astorm
From the standard router class in Magento. /** * @deprecated * @see _includeControllerClass() */ protected function _inludeControllerClass($controllerFileName, $controllerClassName) { return $this->_includeControllerClass($controllerFileName, $controllerClassName); }
astorm
This one might be greek to people who haven’t read No Frills Magento Layout, but I’d like it spelled out so I don’t have to think about it again. (If you don’t own a copy, there are worse ways to learn Magento). When Magento is loading handles from the Layout Update XML Files into the package layout, these updates [...]
astorm