Magento code for $ this-> getChildHtml ('topContainer');

I code a magenta theme. I have included path hints, but the call header $this->getChildHtml('topContainer'); does not reveal any hints of the path. How can I find out which .phtml file is loaded when the above call is made, so that I can create the corresponding name and .phtml user file?

+5
source share
1 answer

topContainer is the page / html_wrapper block. This means that there is no template file associated with it.

The role of this block is to display all its child blocks inside the html element. Take a look at the _toHtml () method in 'app / code / core / Mage / Page / Html / Wrapper.php'.

Yours faithfully,

Jonathan

--- Additional explanations:

:

  • layout/customer.xml( )
  • layout/sales.xml( )

:

<block type="page/html_wrapper" name="my.account.wrapper" translate="label">

, . , "" node "", "".

, ( sales.xml) "sales_order_view", <reference name="my.account.wrapper"> node .

(core/template), .

, 'page/html_wrapper' 'core/text_list'. , html.

, .

+11

All Articles