Magento. Insert block into another without change template code

前端 未结 7 1912
耶瑟儿~
耶瑟儿~ 2021-02-06 01:36

I\'ve tried to find solution but with no results. My task is to write module. It should insert some html into existing block.

I noticed that when I used layout .xml file

7条回答
  •  时光说笑
    2021-02-06 02:00

    With method output="toHtml" in layout the block is redered on end of document. I tested with

    
        
            
        
    
    

    And magento rendered my block after tag html end

提交回复
热议问题