Magento 2, Magento Development, Customization, Extension Development and Integration, Optimization, SEO and Responsive Design

Magento 2, Magento Development, Customization, Extension Development and Integration, Optimization, SEO and Responsive Design
Showing posts with label Template Path Hints. Show all posts
Showing posts with label Template Path Hints. Show all posts

How to Turn On Template Path Hints in Magento

If you want to turn on Template Path Hints in your magento front than follow the following easy steps:

- using Template Path Hints you can easily identify your .phtml file where you need to change. path hints show you direct file path from which file the particular file is coming, so you can easily change what ever you want to change in file. If you are new to magento Template Path Hints will helps you a lot.

Step 1: System >> Configuration >> Developer

your current configuration scope is set to “Default Config.” You cannot setup Magento Template Path Hints globally. You’ll need to set the Configuration Scope to a website or store configuration. When you do, you’ll see a screen like this:

Turn On Template Path Hints in Magento

Change Template Path Hints no to yes and save the configuration. Reload your front page.

You can enable Template Path Hints in your magento admin panel as well. Follow this post if you want to enable it.

Enable Template Path Hint in Magento Admin


If you wan to enable Template path hint in your magento admin than follow this easy step. You just need to add query to your database. You also need to run this query again to disable path hint.

Go to your Database and 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'


You can enable Template Path Hints in your magento front as well. Follow this post if you want to enable it.

 

Copyright @ 2017 HKBlog.