Installing Joomdle in Moodle

joomdleThis article describes the procedure for installing Joomdle on your Joomla and Moodle site.


Prerequisites

For this article, I have installed Joomla 3.6.2 and Moodle 3.1 as 2 separate domains (e.g. brochure.yoursite.com and courses.yoursite.com).

  1. Check your system meets PHP requirements.
  2. Prepare Moodle

 

Joomdle authentication plugin

You are now ready to install the Joomdle authentication plugin in Moodle.

  1. Download the Joomdle Core files, and unzip.
  2. Login to Moodle with an admin account.
  3. Go to Site administration > Plugins > Install plugins.
  4. Drag and drop your unzipped file, Moodle / auth_joomdle.zip.
  5. Click Install plugin from the ZIP file.
  6. Click Continue.
  7. Click Upgrade Moodle database now.

 

Configuration

  1. Go to Site administration > Plugins > Authentication > Manage authentication.
  2. Enable the Joomdle authentication plugin (e.g. click the eye icon).
  3. Click Settings for Joomdle.
  4. Add the Joomla URL for your Joomla site (e.g. http://yourJoomlasite.com).
  5. Add the Joomdle's Joomla authentication token (e.g. long alphanumeric created in Joomla).

Note that the authentication token can't be added until Joomdle is installed on Joomla.

Other settings that you will likely want to make here include:

  • Sync users to Joomla: yes

 

Web Service Functions

Now we can add functions to the recently created web service.

  1. Go to Site administration > Plugins > Web services > External services.
  2. Click Functions for the Joomdle web service.
  3. Click Add functions.
  4. Search for Joomdle and add all the functions.

 

Advance Moodle Configuration

Taken from the Joomdle website.

Note:  Some of these options can render your Moodle site inaccessible - please ensure you know what you are doing!

Removing the default Moodle login page (redirect the Moodle login page to Joomla!)

  • Define an alternate login URL for Moodle, so that Moodle users never see the Moodle login page.   We recommend that you don't enable this until everything is up, testing, testing again, tested one more time, and running.  Oh did we say, test first before you do this!
    • Site administration->Plugins->Autenticathion->Manage autenthication: Alternate Login URL.  Here we put Joomla URL.
  • If you are using Moodle in a wrapper, you can use this URL, so Joomla login page won't appear inside the wrapper:http://yoursite.com/components/com_joomdle/views/wrapper/getout_login.php

Creating an alternative login page for Moodle's Administrators

Restrict access to Moodle to registered users only

  • Restrict access to Moodle to registered users only, so that no guests can enter the Moodle site.
    • Security -> Site Policies -> Force users to login

 

Thanks for visiting.