Please, forgive me for the probably dumb question but this the first time I use Magento. I have been asked to make a simple change to an existing page (insert a few words of text). I have been granted access to the system through a web interface. After a couple of hours of "navigating" the Contents, I found that the page I need to access is activated by the following block
{{block class="Magento\Framework\View\Element\Template"template="Magento_Theme::storelocator/XXXXXX.phtml"}}
XXXXXX is a specific name that I prefer to anonymize. My questions are: How do I find the "real" code (the XXXXXX.phtml) file? Is it available and possibly editable from the same web interface? Or do I need to have the original file, modify it and upload (where in this case)? Thanks in advance for any help, Mario1 Answer 1
You will find this code in Magento_Dir/vendor/magento/module-theme/view/frontend/templates/storelocator/XXXXX.phtml
If this help then hit like.
Thank you Hiren Patel
- 
 But you can not edit code in this file because this is not good as per Magento standard.Hiren Patel– Hiren Patel2020年10月09日 16:46:59 +00:00Commented Oct 9, 2020 at 16:46
- 
 You have to copy this file in app/design/frontend/vendor_name/theme_name/Magento_Theme/templates/storelocator/XXXXXXX.phtml and there you can edit as prr your need.Hiren Patel– Hiren Patel2020年10月09日 16:49:21 +00:00Commented Oct 9, 2020 at 16:49
- 
 Thanks a lot! This is already very useful but my problem is also IF I can access that path from the web interface (that is through the browser) or if direct access to the host is required. If it is possible through the web interface, how do I find that file? Thanks again!Mario Rossi– Mario Rossi2020年10月09日 16:56:38 +00:00Commented Oct 9, 2020 at 16:56
- 
 You can detect path of phtml file but you can not edit it through web interface. For detect a path through web interface mageplaza.com/kb/… If this help you then hit likeHiren Patel– Hiren Patel2020年10月09日 17:05:27 +00:00Commented Oct 9, 2020 at 17:05
- 
 1Thanks! I accepted the answer. I hope it is equivalent to hit like. Thanks again!Mario Rossi– Mario Rossi2020年10月09日 17:10:16 +00:00Commented Oct 9, 2020 at 17:10