title: Magento: Custom attributes option's new value field
body: <p>I want to add a custom field in <strong>Attribute option</strong> in <strong>Manage Attribute Options</strong> menu in admin. Like <strong>value</strong> column beside the position column in admin. I have attached an image.</p>
  <p>What I have done ... (Magento 1.8)</p>
  <ol>
  <li><p>created a new field in <code>eav_attribute_option</code> table named <strong>value</strong> after <code>sort_order</code> filed.</p>
  </li>
  <li><p>changed <code>magento\app\design\adminhtml\default\default\template\eav\attribute\options.phtml</code> this file to show the <strong>Value</strong> column beside the <strong>Position</strong> column.</p>
  </li>
  <li><p>changed <code>getOptionValues()</code> method in this file <code>magento\app\code\core\Mage\Eav\Block\Adminhtml\Attribute\Edit\Options\Abstract.php</code> to get data for my custom <strong>value</strong> column from database and show in admin side. It shows the default value of db in admin form.</p>
  <p>But when I want to save from admin panel the data doesn’t save in db.</p>
  </li>
  </ol>
  <p>I've been trying to find the model or controller that actually handles writing into the database to make sure my new field saves too.</p>
  <p>Any help would be appreciated.</p>
  <p>(I'd post an image to make you understand, but I can't since I need 10 points to be able to do it.)</p>