From f055cf11e09d324739ede0a04cd957e2de438ad1 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 31 Dec 2000 08:24:16 +0000 Subject: - fixed PHP4.0.4 problem in discussion.php. - some improvements to account.php and theme.inc. - updated the documentation (again, again and again) - added INSTALL file - removed redundant files --- modules/about.module | 9 --------- modules/documentation.module | 28 ++++++++++++++-------------- modules/wishlist.module | 5 +---- 3 files changed, 15 insertions(+), 27 deletions(-) delete mode 100644 modules/about.module (limited to 'modules') diff --git a/modules/about.module b/modules/about.module deleted file mode 100644 index 3b3694866..000000000 --- a/modules/about.module +++ /dev/null @@ -1,9 +0,0 @@ - "about_admin"); - -function about_admin() { - print "under construction"; -} - -?> \ No newline at end of file diff --git a/modules/documentation.module b/modules/documentation.module index 27c3b4bc6..23ec99202 100644 --- a/modules/documentation.module +++ b/modules/documentation.module @@ -15,8 +15,8 @@ function documentation() {

Chapter 1: introduction

-

Drupal (is the English pronounciation for the dutch word 'druppel' which stands for 'drop') is a full-featured content management/discussion engine suitable to setup a news-driven community or portal site. Drupal aims towards easy installation, exessive configuration and fine-grained maintainance capabilities. Due to its modular design layer is flexibel and easy to adapt.

-

Drupal is written by Dries Buytaert (dries_at_drop.org) and build after Slash (http://slashcode.com/) and Scoop (http://scoop.kuro5hin.org/).

+

Drupal is the English pronounciation for the dutch word 'druppel' which stands for 'drop'. Drupal is a full-featured content management/discussion engine suitable to setup a news-driven community or portal site. Drupal aims towards easy installation, excessive configuration and fine-grained maintainance capabilities. Due to its modular design drupal is flexibel and easy to adapt or extend.

+

Drupal is primarily written by Dries Buytaert (dries_at_drop.org) and build after Slash (http://slashcode.com/) and Scoop (http://scoop.kuro5hin.org/).

Chapter 2: installation

@@ -28,27 +28,27 @@ function documentation() {

Installation process

-

1. We assume that you have some working experience with Apache, MySQL and PHP. If you still need to install Apache, MySQL or PHP, please install them now. The installation of these required packages is beyond the scope of this document but make sure your Apache is setup to allow .htaccess files so that drupal can override Apache options from within the drupal directories.

-

2. Unzip the distribution tarball into the directory you want to serve web files from:

+

1. We assume that you have some working experience with Apache, MySQL and PHP. If you still need to install Apache, MySQL or PHP, please install them now. The installation of these required packages is beyond the scope of this document but make sure your Apache is setup to allow .htaccess files so that drupal can override Apache options from within the drupal directories.

+

2. Unzip the distribution tarball into the directory you want to serve web files from:

$ tar -zxvf drupal-x.x.x.tar.gz
-

3. Create a MySQL database for your drupal site (if not already done so):

+

3. Create a MySQL database for your drupal site (if not already done so):

$ mysqladmin create <database>
-

Make sure to check the MySQL documentation on how to setup the right access rights and permissions in your MySQL grant table.

-

4. Once you have a proper database, dump the required tables into your database:

+

Make sure to check the MySQL documentation on how to setup the correct access rights and permissions in your MySQL grant tables.

+

4. Once you have a proper database, dump the required tables into your database:

$ mysql -h <hostname> -u <username> -p<password> <database> < database/database.mysql
-

5. Copy the file includes/hostname.conf to match your server's hostname:

+

5. Copy the file includes/hostname.conf to match your server's hostname:

$ cp includes/hostname.conf includes/www.yourdomain.com.conf
-

6. Edit your configuration file to set the required settings such as the database options and to customize your site to your likings.

-

7. Launch your browser and point it to http://yourdomain.com/, create an account, log in and head on to http://yourdomain.com/admin.php. The first user will automatically have administrator permissions. Play with it for a bit and spend some time getting used to the administration interfaces.

-

8. (optional) Optionally (yet recommended for smooth operation) setup a crontab to periodically visit http://yourdomain.com/cron.php.

+

6. Edit your configuration file to set the required settings such as the database options and to customize your site to your likings.

+

7. Launch your browser and point it to http://yourdomain.com/, create an account, log in and head on to http://yourdomain.com/admin.php. The first user will automatically have administrator permissions. Play with it for a bit and spend some time getting used to the administration interfaces.

+

8. (optional) Optionally (yet recommended for smooth operation) setup a crontab to periodically visit http://yourdomain.com/cron.php.

Use a browser like lynx or wget but make sure the process terminates: either use /usr/bin/lynx -source http://yourdomain.com/cron.php or /usr/bin/wget -O /dev/null http://yourdomain.com/cron.php. Take a look at the example scripts in the scripts-directory and make sure to adjust them to your needs.

A good crontab-line to run the cron-script once every hour would be:

     00 * * * * /home/www/drupal/scripts/cron-lynx
   
-

9. (optional) Create your site's theme or at least customize the existing themes. To get started, head on to the themes-directory and make a custom logo for each theme. -

10. (optional) Add and remove modules to customize the functionality of your site. Adding and removing modules is plain easy. You can add a module by copying the files into the modules-directory and you can remove a module by removing a module's file from the modules-directory. The drupal engine will then automatically include or exclude this module. If for some reason, this seems to fail, "manually" rehash the modules list from http://yourdomain.com/admin.php?mod=module.

-

11. If you get is to run, let us know at info@drop.org so we can add your site to our list of drupal sites. If you can't get it to run, you can find support at the drupal site or you can contact us by e-mail at info@drop.org.

+

9. (optional) Create your site's theme or at least customize the existing themes. To get started, head on to the themes-directory and make a custom logo for each theme. +

10. (optional) Add and remove modules to customize the functionality of your site. Adding and removing modules is plain easy. You can add a module by copying the files into the modules-directory and you can remove a module by removing a module's file from the modules-directory. The drupal engine will then automatically include or exclude this module. If for some reason, this seems to fail, "manually" rehash the modules list from http://yourdomain.com/admin.php?mod=module.

+

11. If you get is to run, let us know at info@drop.org so we can add your site to our list of drupal sites. If you can't get it to run, you can find support at the drupal site or you can contact us by e-mail at info@drop.org.

More than one (sub)domain on one machine

diff --git a/modules/wishlist.module b/modules/wishlist.module index c17195caa..962a1d937 100644 --- a/modules/wishlist.module +++ b/modules/wishlist.module @@ -20,7 +20,6 @@ function wishlist_page() {

Adminstration

@@ -58,10 +57,8 @@ function wishlist_page() {

Public release

-- cgit v1.2.3