class Mage_Customer_Model_Designs file
function _construct()
{
$this->_init('customer_designs/customer');
}
class Mage_Customer_Model_Resource_Designs file
protected function _construct()
{
$this->_init('customer_designs/customer','d_id');
}
class Mage_Customer_Model_Resource_Designs_Collection file
protected function _construct()
{
$this->_init('customer_designs/customer');
}
class Mage_Customer_Block_Account_Dashboard_Designs file
function get_my_designs()
{
return $collection = Mage::getModel('customer/designs')->getCollection();
}
Table Name: customer_designs, Table Prefix: djc
These are all my codes. My Blog file returns bool(false). I just replaced existing code. I don't know how these codes are all codes working. Kindly help me to get out of this issue.