Drupal: create a module

Folder

  • choose name: simple_search
  • create module folder: sites/all/modules/custom/simple_search

.info file

  • sites/all/modules/custom/simple_search/simple_search.info
; $Id$
name = Simple Search
description = Simplify default search
package = Custom
core = 6.x

.module file

  • sites/all/modules/custom/simple_search/simple_search.module
<?php
// $Id$
 
/**
 * @file
 * Simplify default search
 */
 
// ...your custom PHP code here...

Notes

  • Remember to enable your module at /admin/build/modules
  • Module folder can be placed directly in sites/all/modules, custom folder is only for convenience

Feedback