I am creating a custom module collection which has content as product grid serialization. I have referred article How to create the Product Grid Serializer Block In Custom module.
I use Mage::registry('current_[entity]')->getId();
to get the id. In my case I have used
Mage::registry('current_collections')->getId();
But i am getting error:
Fatal error: Call to a member function
getId()
on a non-object in ..Tab/Product.php
file.
How can I get current collections id from registry?