I'm having problems trying to create new settings on the Settings Management tab. When you create an attribute, I know how to save data in the database correctly. I am replacing it with Mage_Adminhtml_Block_Catalog_Product_Attribute_Edit_Tab_Optionsmy module for creating custom fields.
My module:
config.xml
<config>
<blocks>
<adminhtml>
<rewrite>
<catalog_product_attribute_edit_tabs>Ceicom_Swatches_Block_Adminhtml_Tabs</catalog_product_attribute_edit_tabs>
<catalog_product_attribute_edit_tab_options>Ceicom_Swatches_Block_Adminhtml_Options</catalog_product_attribute_edit_tab_options>
</rewrite>
</adminhtml>
</blocks>
</config>
Ceicom / Samples / block / Adminhtml / Options.php
class Ceicom_Swatches_Block_Adminhtml_Options extends Mage_Adminhtml_Block_Catalog_Product_Attribute_Edit_Tab_Options
{
public function __construct()
{
parent::__construct();
$this->setTemplate('ceicom/attribute/options.phtml');
}
}
in a Phtml file placed in user fields:

Obviously, for this you need to add new columns to the table eav_attribute_option. For example]: field_1, field_2.
To save additional fields, I need to re-write: Mage_Eav_Model_Resource_Entity_Attribute::_saveOption().
Any tips on how to do this without changing CORE, as I already did, using rewrite, and how to load a data bank for input to edit an attribute?