Installing Joomdle in Joomla

joomdleThis article describes the procedure for installing Joomdle on your Joomla 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.
  3. Install Joomdle in Moodle.

 Now you are ready to install Joomdle in Joomla.

 

Installation

  1. Download the Joomdle Core files, and unzip.
  2. Log into Joomla back-end with an admin account.
  3. Go to Extensions > Manage > Install.
  4. Select the Upload Package File tab.
  5. Browse to your downloaded files, and select the joomdle-joomla-package.zip.

 

Configure Authentication Tokens

There are a number of mandatory configurations that you will need to make.

  1. Start by logging on to Moodle.
  2. Go to Site adminstration > Plugins > Web services > Manage tokens.
  3. Copy the token created for the Joomdle Connector user account.

 You will need this in the next step

  1. Log into Joomla.
  2. Go to Components > Joomdle > Configuration.
  3. Select the General config tab.
  4. Enter the URL of your Moodle site.
  5. Enter the Auth token that you copied in the previous step.
  6. Click Save.

This will create a Joomla auth token that you can copy.

  1. Log back into Moodle.
  2. Go to Site administration > Plugins > Authentication > Manage authentication.
  3. Click Settings for Joomdle authentication.
  4. Enter the URL of your Joomla site.
  5. Paste the Auth token from your Joomla site. 

 

Further configurations

I recommend making sure that your admin user accounts on Moodle and Joomla use a different username prior to the next step.

  1. In Moodle, go to Site administration > Plugins > Authentication > Manage authentication.
  2. Click Settings for Joomdle.
  3. Enable Sync users to Joomla.

Now when you add a new user in Joomla, it will be created in Moodle.  Additionally when you delete a user in Joomla, the equivalent user in Moodle will also be deleted!  By default, single sign-on (SSO) will also now work, whereby users who logon using Joomla, will automatically be logged on to the Moodle site, and when they log off of Joomla, they will also be logged off from Moodle.

 

Thanks for visiting.