Wednesday 5 March 2014

Magento How to show/hide template path hints of admin panel/backend.

To show template path hints in admin panel of magento you need to login to your phpmyadmin then run the following sql command.

INSERT INTO core_config_data (scope, scope_id, path, value) VALUES ('default', 0, 'dev/debug/template_hints', 1),
('default', 0, 'dev/debug/template_hints_blocks', 1);

To hide template path hints of admin panel or backed just run the top code by changing 1 to 0, then the template path hints will be hide.
You also can run the following sql command to hide template path hints.


UPDATE core_config_data SET value = '0' WHERE core_config_data.path ='dev/debug/template_hints' OR core_config_data.path ='dev/debug/template_hints_blocks';

Now if you want to show again template path hints in admin panel of magento then run the following sql command.

UPDATE core_config_data SET value = '1' WHERE core_config_data.path ='dev/debug/template_hints' OR core_config_data.path ='dev/debug/template_hints_blocks';

No comments:

Post a Comment