Following are the steps to create module in Drupal 6.

Step 1:

  • Goto sites/all/ in you drupal root folder and create a folder with the name modules.
  • Now select a name of the module you want to create and create a folder in sites/all/modules with the name you select.
  • For Example we select a name onthisdate. Now we created folder as sites/all/modules/onthisdate.