Magento Grid Container Block not loading grid?

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.

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.

These are all set in the block. Interestingly, if I set $_blockGroup to that of the original view, it loads the original view's grid fine. Is _blockGroup simply referring to the folder name in the block folder where the grid is, or is this defined somewhere else?

– Geoff Apr 19 at 13:08 You are right, _blockGroup is the folder name. – clockworkgeek Apr 19 at 13:21 I've just looked through the error logs on the server, and I'm getting the following error: Call to a member function setSaveParametersInSession() on a non-object – Geoff Apr 19 at 13:33 I got the names back to front and didn't realise until I looked closer at the _prepareLayout method, _blockGroup is NOT the folder name. If _blockGroup is yourmodule and _controller is example then it will try to load the class Your_Module_Block_Example_Grid.

If that class doesn't exist you will see the setSaveParametersInSession() problem. – clockworkgeek Apr 19 at 13:54 Resolved! I set blockgroup to the modulename instead of the foldername (which was the same in the example I was copying, hence the confusion), and it runs fine.

Thanks for your help – Geoff Apr 19 at 14:03.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions