Skip to content

Instantly share code, notes, and snippets.

@sonnygauran
Last active August 29, 2015 14:08
Show Gist options
  • Save sonnygauran/6140e431bdffcec00884 to your computer and use it in GitHub Desktop.
Save sonnygauran/6140e431bdffcec00884 to your computer and use it in GitHub Desktop.
Magento Admin - Template Path Hints
INSERT INTO `core_config_data` (`config_id`, `scope`, `scope_id`, `path`, `value`) VALUES
(null, 'default', 0, 'dev/debug/template_hints', '1'),
(null, 'default', 0, 'dev/debug/template_hints_blocks', '1'); #creates
SELECT * from `core_config_data` where (`scope` = 'default' and `scope_id` = 0 and `path` LIKE 'dev/debug/template_hints%'); #verifies
UPDATE `core_config_data` SET `value` = '0' where `scope` = 'default' and `scope_id` = 0 and `path` LIKE 'dev/debug/template_hints%'; #disables
UPDATE `core_config_data` SET `value` = '1' where `scope` = 'default' and `scope_id` = 0 and `path` LIKE 'dev/debug/template_hints%'; #enables
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment