Drupal. Module Developer. Task: Register a new module.

Our environment: Drupal 6.

Prepare, the module name is Hello World.

1. Create a folder in [drupal www]\modules\helloworld

2. Create [drupal www]\modules\helloworld\helloworld.info:

; $Id: Hello World Module, v0.1 2008/3/17$
name = Hello World
description = Hello World Module
package = "Develop Modules"
core = 6.x
; Oliver Test
version = "1"
datestamp = "1204142108"

3. Create [drupal www]\modules\helloworld\helloworld.module . It’s blank.

4. Locate browser to [drupal address]/admin/build/modules for testing

It’s worked. Wow.

del.icio.us Tags: ,,,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: