I try to overwrite the Exportorders.php in my extension which is located here:
I created my own extension now in
and added the Namespace_Raveinfosys_Exporter.xml to /app/etc/modules/.
Within /Exporter/ I created two folders: /etc/ and /Model/. Within /etc/ I placed the config xml with the following contents:
<?xml version="1.0"?> <config> <modules> <Namespace_Raveinfosys_Exporter> <version>0.0.1</version> </Namespace_Raveinfosys_Exporter> </modules> <global> <models> <raveinfosys_exporter> <rewrite> <exportorders>Namespace_Raveinfosys_Exporter_Model_Exportorders</exportorders> </rewrite> </raveinfosys_exporter> </models> </global> </config>
Within the /Model/ folder I created copied the Exportorders.php and put in the first line:
class Namespace_Raveinfosys_Exporter_Model_Exportorders extends Raveinfosys_Exporter_Model_Exportorders
But somehow it is not working. Does anybody know why it is not working? Is it a problem that the /etc/ Folder are in the 2nd level? They are not in Namespace/Exporter, they are in Namespace/Raveinfosys/Exporter.