Magento layout - content is not being rendered/displayed

前端 未结 4 844
独厮守ぢ
独厮守ぢ 2020-12-28 23:43

I have gone through various Magento tutorials as well as a Magento book on layout, but I\'m stuck with the following problem.

I have created a custom module, located

4条回答
  •  星月不相逢
    2020-12-29 00:10

    I cannot tell without seeing all of your config.xml, you might be missing a section like this:

    
        
            
                
                    module
                    Company_Module
                
                standard
            
        
    
    

    Then, to reach the indexAction or your indexController you would need the address www.example.com/module. That will mean the layout handle company_module_index_index is used when you load the layout. BTW, the posted layout XML is broken, the closing tag does not match the opening tag.

提交回复
热议问题