Enable Template Path hint in Magento

Template path is really a great help in Magento framework while working on Magento Theme Development. Magento’s theme structure is quite complex compared to other open source frameworks. To learn more about Magento’s Theme structure you can refer this article.

Template path in Magento gives you an idea from which template file the block of code is being served. In this article we will see how we can enable template path in Magento.

1) From admin section, Go to System >> Configuration.

2) On that configuration page you will get long menu on left hand side, please select Developer which normally stays at bottom of menu.

3) In newly open page you will find a debug section but you wont get Template path option there. This is because template path hint is not available at default config scope. We need to change our current scope other than Default Config. Please check below image for the same.

4) Once you change the store scope, on the same page you will get new option in debug section which is “Template Path Hint”. You just need to enable that option and see the effect in front end.

5) Once you are done with above configuration change, you will get each portion of front end side surrounded by red blog with the path of the template file from which it is being served.

All right friends, I hope this was simple to understand and easy to enable template path hint in Magento. I will try to share more details on Magento customization in my future posts. In the meantime, it will encourage me if I hear your comments or suggestions, so be sure to drop your feedback/comments in the comments section. Thanks again !