I used the link http://www.magentocommerce.com/magento-connect/custom-attributes-4340.html and i can create customer attribute and also customer address attribute , but i can not create category attribute.
When i went throw the code i found in the "CategoryController.php", in the saveAction function wrote like bellow
Mage::getSingleton('eav/config')
->getAttribute($this->_type, $attribute->getAttributeCode())
->setData('used_in_forms', $data['customer_form'])
->save();
When i print the $data by print_r($data['customer_form'])
, i could not find any 'customer_form' in the $data
. So is there any alternative way to add the custom category attribute dynamically.