CS 549, Spring 2008
Assignment #4
(total = 20 pts., due on April 28, Monday)

You may work on this assignment as a group. If anything does not work as described here, notify the instructor immediately. In this assignment, you will start to learn implementaion of Drupal.

The schema diagram for the database of Drupal 6.0 RC3 is available at

http://web.engr.orst.edu/~minoura/cs549/ass/drupal_60rc3.vsd
as Visio file.

Part I Installing the Latest Version of Drupal

Install the latest version of Drupal, which is 6.2, under ~/public_html in your ENGR or ONID account by using one of the MySQL databases created on mysql.cs.orst.edu.
  1. The installation file can be downloaded from http://drupal.org. Decompress the installation file in your ~/public_html directory.

  2. Study the .htaccess file in directory ~/public_html, and add the following definitions:
       Action php5-script /cgi-bin/cgiwrap/~minoura/php5
       AddHandler php5-script .php
    
       RewriteBase /~minoura/drupal-6.2
    
    ~minoura need be changed to your account name.

Part II Installing or Creating a Drupal Module

Install or create one Drupal module and study its implementation.
  1. The directory for the new module must be created under ~/public_html/drupal-6.2/sites/all/modules/custom.

  2. You may look at the modules block_example and onthisdate in /var/www/drupal_60rc3/sites/all/modules/custom on nagara.een.orst.edu.

  3. The module block_example was created from the code available at
    http://api.drupal.org/api/search/6/block_example
    
  4. The module onthisdate was created from the code available at
    http://drupal.org/node/206753
    
    This module is currently not complete. You may complete all the steps described in the tutorial.

Part III Study Implementation of One Core Module

Start studying implementation of one Drupal core module, preparing for a class presentation on it.