Magento: Display template path hints in admin

14.Jun.2012

Can be easily activated through couple of SQL queries.

First time you can enable it by running

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);

If you want to disable it, just run

UPDATE core_config_data SET value = 0 WHERE scope = 'default' AND scope_id = 0 AND path in ('dev/debug/template_hints','dev/debug/template_hints_blocks')

And if you want to enable it again, run

UPDATE core_config_data SET value = 1 WHERE scope = 'default' AND scope_id = 0 AND path in ('dev/debug/template_hints','dev/debug/template_hints_blocks')