Moodle module for Drupal 5.0

This is in reference to the Moodle module for Drupal 4.7.4 . Basically, if you configure Moodle to authenticate users from an external database, and that database is the Drupal database, you can seamlessly invoke Moodle in an iframe with automatic login from Drupal.

I made some quick modifications to get this module working for Drupal 5.0 beta. This is a tarball of the module actually working.

I find that relative URL's for the (possibly local) moodle installation do not work, and require a full http://... URL.

I have attached the file to this entry. AS IS, folks, no guarantees; and I am hosting it as a temporary measure until better Drupal/Moodle integration is possible.

IBM is taking PHP (and Drupal) very seriously

IBM is taking PHP and PHP-powered web applications like the DrupalDrupal CMS very seriously.

See for example, the important series of articles Using open source software to design, develop, and deploy a collaborative Web site

This concentrates on a fascinating analysis of Drupal (better in-depth documentation than you can find even on the Drupal website, which naturally celebrates the series of articles), how it works, how to theme it, how to extend its functionality with modules, most of all, a practical example of how to use it!

Drupal Clean URL's on Ubuntu Dapper

1. See following tutorials:

a. http://drupal.org/node/43783

b. http://www.debian-administration.org/articles/136

2. Case where drupal is not installed into the apache document root, but rather in a subdirectory, it is necessary to so specify in two places:

1. /var/www/drupal/.htaccess

# Modify the RewriteBase if you are using Drupal in a subdirectory and
# the rewrite rules are not working properly.

RewriteBase /drupal
2. /var/www/dsn/sites/default/settings.php 

/** * Base URL (optional).
* * If you are experiencing issues with different site domains,
* uncomment the Base URL statement below (remove the leading hash sign)
* and fill in the URL to your Drupal installation.
* * It is not allowed to have a trailing slash; Drupal will add it * for you. */

# $base_url = 'http://www.example.com'; // NO trailing slash!
$base_url = 'http://localhost/drupal';

If you’re running Apache2 on Debian stable, in order to install the rewrite module you simply need to:

Installing Drupal on Ubuntu Dapper

Although Synaptic has a drupal, it's very old!


To go with the latest version, I first went with the pre-fork Apache 2, PHP 5 and MySQL 5.

Downloading Drupal

I then downloaded the latest stable drupal version (since I am interested in developing a software engineering platform and personal development environment capable of being moved to a shared hosting environment).

$ wget http://ftp.osuosl.org/pub/drupal/files/projects/drupal-4.7.3.tar.gz
--17:22:17-- http://ftp.osuosl.org/pub/drupal/files/projects/drupal-4.7.3.tar.gz
=> `drupal-4.7.3.tar.gz'
Resolving ftp.osuosl.org...,
Connecting to ftp.osuosl.org||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 484,988 (474K) [application/x-gzip]

484,988 81.56K/s ETA 00:00

17:22:24 (76.13 KB/s) - `drupal-4.7.3.tar.gz' saved [484988/484988]

Installing the files for Apache 2

I then copied everything into (in this case) /var/www/drupal-4.7.3, then made the symbolic link (see Drupal Clean URL's on Ubuntu Dapper Laughing ):


Powered by DrupalDrupal

Syndicate content