How To Turn On Template Hints in Admin panel

Just execute this SQL:

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

Don’t forget to delete cache.

To turn it off execute following:

UPDATE core_config_data SET value = 0 WHERE scope = 'default' AND path = 'dev/debug/template_hints' AND value = 1;
UPDATE core_config_data SET value = 0 WHERE scope = 'default' AND path = 'dev/debug/template_hints_blocks' AND value = 1
DELETE FROM core_config_data WHERE path = 'dev/debug/template_hints';
DELETE FROM core_config_data WHERE path = 'dev/debug/template_hints_blocks';

Lukas
Lukas Stranovsky
I am the guy who made this. Sorry for typos.