Beginner

Disclaimer: This post describes how to create custom pages on your drupal site, and create custom menu items (page routes), within a module. After reading this post, you will know how to implement hook_theme() and hook_menu() to create custom urls (Paths) and very basic content templates in both Drupal 6 and Drupal 7. This tutorial assumes you know how to create and upload files to your server using FTP, and also know how to create a basic custom module to use as a foundation.

Disclaimer: This post describes how to create a custom module and use it to create custom permissions on your drupal site. The purpose is to present a general idea of how to implement hook_permission() (or hook_perm() if using drupal 6) to create custom permissions, as well as to use and find drupal hooks. This tutorial assumes you know how to create and upload files to your server using FTP.

Disclaimer: This post is about a very basic example of a drupal module that works in both Drupal 6 and Drupal 7. The purpose is to present a general idea of how to write custom drupal modules, use and find drupal hooks, and to show how to take advantage of drupal's Devel module. This tutorial assumes you know how to create and upload files to your server using FTP.

1. Creating a module

First, let's make a module that only exist in the module system. Follow these steps exactly.

NOTE: This post describes the very simple process of starting a custom module. The purpose is to use this as a basis for all other custom modules created in Drupal 6 or Drupal 7.