Magento. Insert block into another without change template code

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

    It cap possible by add to xml - following method output="toHtml" - will put block to parent block

    
        
    
    

提交回复
热议问题