Change reward message in magento
Reward messages in magento are not coming from database. They are not coming from configuration in admin. They are not set in blocks nor templates. So where are they then?
Add category name to body class - Magento
Sometimes you would like to customize the page depenfing on the category. For example, you would like to change the header picture or change other things.
Search in this category functionality - Magento
Magento search query, when entered in the form.mini.phtml (template/catalogsearch/form.mini.phtml) is doing the search on database in Mage_CatalogSearch_Model_Layer:prepareProductCollection().
Sublime Text 2 environment for Magento development
Recently I got a new job (my first real one, actually), and it is revolving around PHP, i.e. Magento development. Before my first day at the job, I was wondering what kind of IDE or text editor should I use and what kind of one my future co-workers use. I emailed them and the response was just as I expected it to be: “full fledged IDEs like eclipse, netbeans or phpStorm”. I have had a lot of previous experience with those environments, mostly doing Java programming, and I was aware of all the bloat they bring. They were slow most of the time, they were laggy and pretty much uneasy to work with. Sure, that was the case on my own machine which is not really a “state of the art”, and I am sure they perform better on more powerful computers.
Regular expressions (Ruby)
Things you should know about ruby regular expressions.