I'm trying to override: - Mage_Eav_Block_Adminhtml_Attribute_Edit_Options_Abstract - Mage_Adminhtml_Block_Catalog_Product_Attribute_Edit_Tab_Options wich extends the first one
in config.xml i have:
<config>
<global>
<blocks>
....
<eav>
<rewrite>
<adminthml_attribute_edit_options_abstract>
Mymodule_Block_Adminhtml_Attribute_Edit_Options_Abstract
</adminthml_attribute_edit_options_abstract>
</rewrite>
</eav>
<adminhtml>
<rewrite>
<catalog_product_attribute_edit_tab>
Mymodule_Adminhtml_Block_Catalog_Product_Attribute_Edit_Tab_Options
</catalog_product_attribute_edit_tab>
</rewrite>
</adminhtml>
</blocks>
....
</global>
</config>
And Then in: code/local/Mymodule/Adminhtml/Block/Catalog/Product/Attribute/Edit/Tab/Options.php:
class Mymodule_Adminhtml_Block_Catalog_Product_Attribute_Edit_Tab_Options
extends Mymodule_Eav_Block_Adminhtml_Attribute_Edit_Options_Abstract
{
}
And in: code/local/Mymodule/Eav/Block/Adminhtml/Attribute/Edit/Options/Abstract.php:
abstract class Mymodule_Eav_Block_Adminhtml_Attribute_Edit_Options_Abstract
extends Mage_Adminhtml_Block_Widget
{
....(code)...
}
But this two don't seem to be loaded. Any chance someone can help?