home | contact us
» magento » Magento Template Path Hints – In Admin!

BLOG CATEGORY: magento


If you love template path hints in Magento for quickly figuring out which template file or block you need to edit or override and have a requirement for some admin side coding, you are going to love this.

You might not have thought it was possible to enable template path hints in admin, but it is!

Just run this query:

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 disable them again, run this query

UPDATE core_config_data set value = 0 where scope = 'default' and scope_id = 0 and path ='dev/debug/template_hints'

To enable again run this query

UPDATE core_config_data set value = 1 where scope = 'default' and scope_id = 0 and path ='dev/debug/template_hints'

Click Here to Contact Us about Magento Template Path Hints – In Admin!
 

Comments

4 Comments

4 Responses to “Magento Template Path Hints – In Admin!”

  1. admin says:

    Warning – this tip is for advanced users / developers only.

    Do not do this on a live store!!

  2. admin says:

    please see the updated instructions in this post:

    http://www.edmondscommerce.co.uk/magento/magento-template-path-hints-in-admin-updated/

  3. MageDev says:

    Great stuff!

    Thanks man!

  4. Merk says:

    Good idea with updating core_config_data It’s realy save time between switching BACKEND AND FRONTEND.

Leave a Reply

rss icon