How to track where Magento calls templates from?

I work with Magento. See the following code:

<?php echo $this->getChildHtml('topMenu') ?>

Is there an easy way to find where the HTML is. That is, is there any trace that I can use?

+5
source share
2 answers

In the administrator, go to "System"> "Configuration"> "Developer", select "Configuration Area" from the list in the upper left corner, then a new option will appear in the "Debugging" section called "Template Tips". Turn it on and refresh your store page again.

This and much more is explained in the Magento Designer Guide .

+14

clockworkgeek - - → → ( ). , .

" " , , .

95% .

, phtml. toHtml() , . . , :

  • --phtml- View part in Magento - Magento - , .

  • X-Debug, IDE, <?php echo $this->getChildHtml('topMenu') ?> . ( Magento - ).

+6

All Articles