I am using editor Firebug extension of Mozilla to do temporary editing of my website pages. It is really easy to edit through Firebug & also it is very difficult to locate the file which we are editing. Magento website file structure is very difficult to understand. Is there any way to locate the file which we are editing through Firebug & edit that file for permanent changes. The provided answers does not giving me all full location of files which is i am editing. So is there any easy way to recognize the location of file in Magento file structure.

  • Enable template path hints by following the reference help.sweettoothrewards.com/article/… – Krishna ijjada Oct 30 '16 at 7:50
  • Krishna i had already done that. – Salman Dalal Oct 30 '16 at 7:52
  • Can you tell me "elements on my site" ? – Krishna ijjada Oct 30 '16 at 7:53
  • Yeah, you go to my website bookslab.in. You can find the "Welcome to the bookslab...." section on the top of the webpage. So that section & most of the section is unable to locate using firebug – Salman Dalal Oct 30 '16 at 7:55
  • @ Salman Dalal Please check the detailed answer. – Krishna ijjada Oct 30 '16 at 8:03

You can simply enable Template Path Hints by:

  • logging to the backend
  • access System > Configuration > Developer
  • switch the store view to your current store by using the top left scope switcher
  • set Template Hints Path to Yes in the Debug section
| improve this answer | |
  • Thanks for answer Raphael. I had already installed Template Path Hints. But, still i can't find file locations of some of the elements on my site. – Salman Dalal Oct 30 '16 at 7:51
  • @SalmanDalal the template Hints should give you the path of the templates. Please edit your question by explaining which elements you can't find as your question will most likely be closed because unclear – Raphael at Digital Pianism Oct 30 '16 at 8:23
  • Okzz raphael i will edit my question – Salman Dalal Oct 30 '16 at 8:56

We have a grep command to search the exact string among the files.

For example in the welcome message has class called welcome-msg

grep -i -n -r "welcome-msg" magento_root/app/design

If it is a Welcome message, no code is needed for this.

Go to System - Configuration - General - Design - Header

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.