you should follow these steps. This may help you to better understand that how to create *custom module*. If you have any query then comment below. [Link][1] [1]: http://www.wdtutorials.com/2012/04/29/drupal-7-how-create-module-part-1#.VIA2VlCUf_h