Magento Themes and Magento Extensions


Posted on December 19th, 2014 | Posted by admin

Following are some important configurations that will speed up the Magento site. This tutorial is mainly focusing on my.cnf, php.ini and apache configuration files.

1. MySQL Configuration

Proper MySQL configuration will speed up the performance of the system. Below are the necessary configurations for MySQL.

  • code
  • source


Posted on December 19th, 2014 | Posted by admin

We will have to override the Magento observers, when dealing with the extension’s conflicts or may have to disable or modify a part of some extension’s functionality. Basically, there is no major difference between the observer’s overriding and overriding of any other regular model. But sometimes we may face with issues while working with simple override.

Let’s see the following step by step instructions for Magento observer’s overriding.

We should pay attention to the naming.

Assume that we have some third party extension. It is named Xyz_Extension, and this extension has the following observer:

  • code
  • source
  1. class Xyz_Extension_Model_Observer
  2. {
  3. public function xyzMethod( $observer )

Magento Translation, Step Zero: What Must Be Translated?

Posted on December 18th, 2014 | Posted by admin

Internationalization is an increasingly important consideration for Magento merchants developers looking to expand market penetration and increase usability. A significant part of this effort is realized in the form of maintaining translations for multiple locales – quite the undertaking, in spite of Magento’s robust localization capabilities.

However, a journey of a thousand miles begins with a single step, and this initial step can be particularly daunting. What must be translated?

Ideally, every string ever used, be it backend or frontend, would be documented so that an exhaustive list is always available of material scheduled for translation. In practice, however, this is rarely the case – maybe the site or module wasn’t initially slated for an international market or the ROI was difficult to justify. Because of this, orphan strings with no record of their existence are very common and a barrier to internationalization.

Wouldn’t it be nice to have a mechanism to retroactively examine a site or module and perform a translation gap analysis?


One approach to ferreting out untranslated strings is to modify the translation tool itself to report untranslated strings as they are encountered. This is often expressed as a quick hack to the translation classes whereby strings are logged, then the changes reverted.

The basic idea is solid, but the execution is essentially a transient hack – requiring repeated discovery and implementation, and is prone to oversights.


Posted on December 17th, 2014 | Posted by admin

When we are having different environments(stagig, uat, live etc) and want to sync all cms pages and blocks in all environemnts, It is not a good idea to manully update each and every CMS blocks/Pages. Magento’s data install/upgrade script can be used for this purpose which will run on all environments immediately after the deployment and flush the cache storage. The cms data install/upgrade script can be created in any local module, but I would recommend to create a new module in local code pool with name “Namespace_CMS”(here I have used the namespace as “Egits”) to track the changes done on each install/upgrade. Follow below steps to get your CMS install/updates quickly on all environment without much manual effort.
1. Create your module configuration in app/code/local/Egits/Cms/etc/config.xml




How to enable Search Engine Friendly URLs in Magento

Posted on December 15th, 2014 | Posted by admin

To enable Search Engine Friendly URLs in Magento, you have to log in to the Magento administration area and click on the Configuration button. Under the System navigation menu, switch to Web page from the sub-navigation panel on the left.

When the page loads, you will see blue lines which represent closed options tablets. Click on the Search Engines Optimization tab and turn on the Use Web Server Rewrites (mark as Yes). Click on the Save Config button and your Magento SEF URLs will be enabled.

Page 1 of 15912345»102030...Last »