Timeline for Magento resource Collection override
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 12, 2016 at 9:59 | comment | added | BenGhabili |
thanks @Anonymous. I have found the problem. I have a typo in defining module. <codepool> and I should have used <codePool>
|
|
May 12, 2016 at 9:24 | comment | added | Ilja | please check edited answer, i have tried it on my machine and it worked. whitespaces not allowed in magento. you can check it in your test script. if it helped you please accept the answer good luck | |
May 12, 2016 at 9:20 | history | edited | Ilja | CC BY-SA 3.0 |
added 85 characters in body
|
May 12, 2016 at 9:01 | comment | added | BenGhabili |
Still echo outs: Mage_Reports_Model_Resource_Order_Collection
|
|
May 12, 2016 at 8:53 | comment | added | Ilja |
in Magento this whitespace like above can cause issues. please make sure the model is succesfully overriden, create script in your magento root as following: include "app/Mage.php"; Mage::app(); echo get_class(Mage::getResourceModel('reports/order_collection')); exit;
|
|
May 12, 2016 at 8:32 | comment | added | BenGhabili | As far as I know, XML parser discard the whitespace. But I have changed the code as you suggested and still can't get it to work. | |
May 11, 2016 at 17:13 | history | answered | Ilja | CC BY-SA 3.0 |