Magento: A small bug on module creator
Module Creator helps in building basic module structure in Magento. It can be used as a standalone application or a Magento module in the process of creating a new Magento module.
You can download and find more about it here: http://www.magentocommerce.com/wiki/5_-_modules_and_development/0_-_module_development_in_magento/custom_module_with_custom_database_table
I found a small bug while working with a module created through Module Creator. It’s about naming convention. It’s in MyNamespace_MyModule_Adminhtml_MyModuleController class file.
Suppose, you have created a module through module creator in local pool. Your namespace is School and your module name is Student.
Then open the class School_Student_Adminhtml_StudentController file present at app/code/local/School/Student/controllers/Adminhtml/StudentController.php
You will see like this:-
class School_Student_Adminhtml_StudentController extends Mage_Adminhtml_Controller_action
See the parent class name. The parent class is Mage_Adminhtml_Controller_action. It should be Mage_Adminhtml_Controller_Action (‘A’ capital for ‘action’).
This is just a single letter issue but can affect your module.