I wanted to build Custom Input Fields in Magentos Product/Custom Option Area. I started to write a new Module. In "etc/modules" i created "Pi_Customize.xml"
<?xml version="1.0"?>
<config>
<modules>
<Pi_Customize>
<active>true</active>
<codePool>local</codePool>
</Pi_Customize>
</modules>
</config>
in "app/code/local/etc" I created the "config.xml"
<?xml version="1.0"?>
<config>
<modules>
<Pi_Customize>
<version>0.1</version>
</Pi_Customize>
</modules>
<global>
<catalog>
<product>
<options>
<custom>
<groups>
<custom translate="label" module="customize">
<label>Custom Stuff</label>
<render>customize/adminhtml_catalog_product_edit_tab_options_type_custom</render>
<types>
<custom_type translate="label" module="customize">
<label>Custom Text</label>
</custom_type>
</types>
</custom>
</groups>
</custom>
</options>
</product>
</catalog>
</global>
</config>
when i reload in backend/product/custom options i see the new added field, but i get an error:
exception 'Mage_Core_Exception' with message 'Invalid block type: Mage_Customize_Block_Adminhtml_Catalog_Product_Edit_Tab_Options_Type_custom' in /home/michi/www/magento/app/Mage.php:595
I am trying around about 4 hours, and can't get it tor work. Why is Magento trying to load "mage" instead of "pi/customize". How should the folder Structure then look like?
A: "Adminhtml/block/catalog....."
B: "Block/catalog..."
C: another?