Magento Grid Container Block not loading grid

后端 未结 1 722
不思量自难忘°
不思量自难忘° 2020-12-30 14:49

I just set up an admin module with a grid view using the module creator, and it works great, but now I need to add another grid view within the same module.

I copied

相关标签:
1条回答
  • 2020-12-30 15:30

    In the grid container block look at the values for $_blockGroup and $_controller. These are used by the container to find and load the grid block. If you really want to see what is going on look at the parent::_prepareLayout() method.

    PS:
    $_blockGroup is your module's name.
    $_controller is the path to your grid block.

    PPS:
    If that's not enough put this in your .htaccess:

    php_flag display_errors on
    SetEnv MAGE_IS_DEVELOPER_MODE true
    

    You should get a lot more information if the grid is having problems with it's collection's SQL or something.

    0 讨论(0)
提交回复
热议问题