October, 2013

By In Magento

How to enable ‘Path hint tool’ in Magento

Magento has a built-in powerful tool that will help you inspect templates that are currently loaded on the front end. This is very important if your Magento store uses a custom theme or has installed extensions that overwrite default templates.

In the main menu go to System >> Configuration Menu, then in the left side menu click on ‘Development‘tab (it should be located on very bottom of side menu). Once you are in the ‘Developer ‘section use ‘Configuration Scope’ drop down menu and switch to store for which you want to enable path hints. After that, open ‘Debug’ group panel and set both the ‘Template Path Hints’ and ‘Add Block Names to Hints’ to ‘Yes’ value, don’t forget to hit ‘Save’ button or changes will not be saved.


screen-12In this link you will find a video explaining how to enable Path Hints in case you didn’t succeed by following instructions from above:http://www.magentocommerce.com/blog/template-path-hints-tutorial-video/

It’s not possible to setup Magento Template Path Hints globally so you will need to choose the store before option appears in ‘Debug’ panel. Once Path hint tool is active your site will look broken, which might confuse your customers and prevent them from navigating normally or shopping in store. To prevent this, use the ‘Developer Client Restrictions’ setting, which is located in ‘Developer’ section. Enter your IP address (multiple addresses can be added separated with comma) and that will limit the path hint tool to the clients with only that IP address, while all the other visitors will not see any change.


Read more

By In Magento

How to disable module in Magento

One of the true powers of Magento platform is a great number of available extensions. And with Magento Connect as official marketplace and built-in Connect Manager it is easy to install and manage various plug-ins.

It is quite common that extensions are not compatible with each other and can create various conflicts. In some cases extensions overwrite each other and only the output of one of them can be seen on the front end. That is minor conflict and will have no impact on the functionality of your store. However, it is possible that the conflicts between extensions can cause a larger issue and crash your Magento store completely. In such cases, you will need to disable the modules and turn them off, one by one, until you find which one is causing issue.

Modules in Magento can be disabled using several methods, it is important to use an appropriate one according to the situation:

– If the module has administration settings then you should check there first. This is the easiest way to turn off the module but in most cases it will continue to load some files, so this method isn’t the most reliable. This method should be used when you want to turn OFF the extension at that particular moment and have plans to enable it later.

Go to System >> Configuration section, then in the left sidebar menu click on ‘Advanced’ tab (it should be located on the very bottom of the side menu) and there you will see a list of all installed modules with ‘enable/disable’ drop-down option. Be careful not to turn off Magento core modules since they are also listed there. They usually start with ‘Mage’ prefix. If you disable the module using this method it can happen that some parts of the plug-in stay active.

– There is one more way to disable the module from administration, this method can be useful if you can’t access Magneto admin for some reason or in the case when you want to disable the module completely. You will need an access to the files and a simple text editor. Connect to server using FTP/File manager, navigate to Magento`s root folder and from there go to app/etc/modules/ sub-folder. There the configuration files for all modules should be located (same list as in System >> Configuration >> Advanced section). Open the module config XML file, find the code ‘active’ nod and change value from ‘true’ to ‘false’, this will turn off module completely.


Be sure to turn off Magento caching under System >> Cache Management tab, otherwise changes you make will not be visible.


In the current version of Magento 1.7, it’s possible to disable Magento core modules, of which the settings are saved in file app/etc/module/Mage_All.xml. By changing this file you can disable the core module but be sure that you know what you are doing since your store might stop working after those changes.

Read more