First, create a new folder and name it whatever_you_will_name_your_module (lowercase letters and underscores only -- no numbers, hyphens, dashes, slashes, periods, dots, commas, tildes, ampersands, etc. In fact, if possible, avoid the underscores too). The example module name whatever_you_will_name_your_module is a bad example, actually. It's too long, it uses underscores, and it just plain sucks to write over and over. So I'll assume your module is named mymodule instead, which means you should now have a new, empty folder on your desktop (or wherever you want to put it) called mymodule. Moving on.
Next, open Notepad (not to be confused with Wordpad -- big difference). On the first line, type this:
; $Id$Below that, add the following:
name = My Module description = Describe whatever it is that your module does in a single sentence. core = 6.x
Now:
You should now have a file named mymodule.info inside a folder named mymodule and the file (mymodule.info) should look like this:
; $Id$ name = My Module description = Describe whatever it is that your module does in a single sentence. core = 6.x
That does it for step one. At minimum, your module will have two files:
¹ One of the differences between using Notepad and NPP is that with Notepad does not have syntax highlighting; NPP does.
Post new comment