By ptam on
According to this tutorial, I followed all steps but i am not able to see my_module in modules section in drupal-6.10.
According to this tutorial, I followed all steps but i am not able to see my_module in modules section in drupal-6.10.
Comments
Check list
Lets assume you called your module 'my_module' (replace my_module with your actual module name).
You created a directory under sites/all/modules called 'my_module'.
In that directory
You created a file called my_module.info (step 2 in your reference)
You created a file called my_module.module
The function names in my_module.module start with my_module.
Thanks for reply
I want to add tab and next button on user registration form.
So according to document i have created one module name my_module but it not showing that module in modules section.
The minimum you need for a
The minimum you need for a module to appear in the modules list is:
1) A folder with the module name (ex: my_module)
2) An .info file with the module name (ex: my_module.info). The folder name (#1) and .info file name (#2) have to be exactly the same.
3) Inside the module you need the following code:
name = My Module (this doesn't have to be the same)
description = My description
core = 6.x
If you do these three things, and the folder name and .info file name are EXACTLY the same, your module will appear in the modules menu.
Contact me to contract me for D7 -> D10/11 migrations.