Note: from here forward, I'll assume that
First, create a new folder on your desktop and name the folder incident.
Anyway, you should now have a new, empty folder on your desktop called incident. Moving on.
Next, open Notepad++ and on the first line, type this:
; $Id$
Below that, add the following:
name = Incident Report
description = Allows users to create and submit incident reports.
core = 6.xNow:
You should now have a file named incident.info inside a folder named incident, and the file itself (incident.info) should look like this:
; $Id$
name = Incident Report
description = Allows users to create and submit incident reports.
core = 6.xThat does it for step one. At minimum, your module will have two files:
... Which brings us to the .module file. The first part is a partial repeat of what we just did, but it's equally necessary:
You should now have a file named incident.module, along with your incident.info file, both inside the same folder (whose name is incident). Here's a little "tree" diagram:
» My Desktop
⌊» incident
⌊» incident.info
⌊» incident.module
NOW, with the incident.module file still open, we can start writing the module itself.
2969
© 2011 JerDiggity™ | Every single right is reserved. Pretty much.
