Hi,
I'm using the Drupal Moodle module and have a few questions:
http://download.moodle.org/download.php/modules/drupal_moodle.zip

The module opens Moodle in an "iframe" inside Drupal. I don't really know php, but I think the code from the module that opens Moodle is in lines 66-82. (I'd put the code here, but this forum thinks it looks suspicious and won't let me post it...)

And, if we change this, will it offend some pop-up blockers?

As the second question, when this module is set up, one needs to set Moodle to get its user authentication from the Drupal database. Moodle, unfortunately, requires a few fields for each user that I don't think that Drupal has. Am I wrong on this? Moodle wants Username, Password, email, First Name, Last Name, City, and a Description. AFAIK, Drupal only has Username, Password, and email.
I looked at the Profiles module for Drupal, to see if this would help. But, I have a problem with this, I think. Moodle allows me to set one table to get the user info from. The profiles module stores this info in 2 of its own tables. Moreover, one needs both tables to get the info because it references a user id for each value.
So, is there:
A way around requiring this info in Moodle?
A way to get this info into Drupal's "users" table automatically when a new user is created? (I create the users directly as the Admin, I don't allow users to register themselves.)

Thanks for the help, I hope that I have been clear.
Ariel

Comments

boris mann’s picture

This is the first I've heard of the Moodle module, unfortunately. It sounds like it would be best to ask these questions on the Moodle since, since this module isn't hosted on Drupal.org.

Sorry we can't be of more help.

sangamreddi’s picture

Enable profile module and add fields for user info.
I havent used moodle module, so no ideas.

Sunny                      
www.gleez.com | www.sandeepone.com

adoucette’s picture

There are problems with trying to do this with the profile module. I can't get it to work.

bomarmonk’s picture

Once you do this, you supply the information in the user table, from your Drupal installation: the table name, the username (title of the column in your table), the password field (column). The other fields Moodle wants are for the Drupal database itself: your database name, the user on this database, and the password for your database.

Now I just need to get this little module updated and working with Drupal 4.7 forms API and then I can see if my installation is actually working. I'll let you know. I hope my comments help.

stefanoq’s picture

I am interested in hearing from you about this Moodle/Drupal integration. I am using Drupal 4.6 (in CivicSpace 0.8.4) and I'm concerned using a moodle-drupal integration module that is mor ethan a year old. Does it work well in the end? How much work did you have to do to make it go? What changes did you make specifically? And most importantly, how much "better" is a full integration than, say, a shared login.

Thanks,

stefano

sura_rout’s picture

Hi,
This is surendra. i am very new to drupal as well as moodle. So could anyone help me to integrate.
This module is not available. So if you have, could you please send it to me with this id
surendrarout@gmail.com
thanks,
surendra rout