Magento. Insert block into another without change template code

前端 未结 7 1903
耶瑟儿~
耶瑟儿~ 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:07

    You can try add to xml - following method output="toHtml" - will put block to parent block But...

    
        
    
    

提交回复
热议问题