Invalid command ‘Header’, perhaps misspelled or defined by a module not included in the server configuration

I got the following error for one of the Magento e-commerce website: Invalid command ‘Header’, perhaps misspelled or defined by a module not included in the server configuration After googling it was found that the related headers module was not enabled in Apache. I was able to fix the issue simply by following two commands: …

Read more

Usage of Magento event: core_block_abstract_to_html_after

Introduction There are lots of events in Magento which are dispatched by default. Among them ‘core_block_abstract_to_html_after’ is the one. Recently we have re-developed the Easy Template Path Hints extension using this event as the previous version of the extension has some confliction issues with other modules. In this article we will demonstrate the implementation of …

Read more

How to change default sort order/dir in Magento search results?

Introduction Today we will be discussing how to change the default sort order/dir in Magento search results (simple & advanced). Regarding solution, some say you need to change the /app/code/core/Mage/Catalog/Block/Product/List/Toolbar.php file in order to change the default sort order field and dir. But you don’t need to do so as there is an extremely easy …

Read more

Release of the newer version of jQuery Lightboxes 1.2.0

Introduction Magento community is showing great love towards the Magento Extension: jQuery Lightboxes (probably the #1 lightbox extension for Magento e-Commerce), as a result, we are on the way to make it much better with lots of new features. Just we have released a newer version of jQuery Lightboxes i.e. 1.2.0. Changelog Version 1.2.0  Tested …

Read more

Demystifying PHP’s Array Key/Index

According to php.net manual: An array in PHP is actually an ordered map. A map is a type that associates values to keys. A key may be either an integer or a string. If a key is the standard representation of an integer, it will be interpreted as such (i.e. “8” will be interpreted as …

Read more