I am trying to override two class i.e
Mage_Adminhtml_Block_Review_Edit_Form
andMage_Review_Model_Resource_Review
But they are not being override. please help..
The directory structure is:
local -->
Efk -->
Adminhtml -->
Block -->
Review -->
Edit -->
Form.php
etc -->
config.xml
Review -->
etc -->
config.xml
Model -->
Resource -->
Review.php
Here are my overrided files:
etc/modules/Efk_all (working fine.. checked in admin panel)
<config>
<modules>
<EFk_Review>
<active>true</active>
<codePool>local</codePool>
</EFk_Review>
<Efk_Adminhtml>
<active>true</active>
<codePool>local</codePool>
</Efk_Adminhtml>
</modules>
</config>
local/Efk/Review/etc/config.xml
<?xml version="1.0"?>
<config>
<modules>
<Efk_Review>
<version>1.0</version>
</Efk_Review>
</modules>
<global>
<models>
<review_resource>
<rewrite>
<review>Efk_Review_Model_Resource_Review</review>
</rewrite>
</review_resource>
</models>
</global>
</config>
local/Efk/Adminhtml/etc/config.xml
<?xml version="1.0"?>
<config>
<modules>
<Efk_Adminhtml>
<version>1.0</version>
</Efk_Adminhtml>
</modules>
<global>
<blocks>
<adminhtml>
<rewrite>
<review_edit_form>Efk_Adminhtml_Block_Review_Edit_Form</review_edit_form>
</rewrite>
</adminhtml>
</blocks>
</global>
</config>