Here are step by step instructions to setup a website with Joomla and Moodle integration.

  1. The best option is to install either Joomla or Moodle in your websites root, depending on the page you want your visiors to see when they access your website. For now we assume you put Joomla in the root of your website.
  2. Now install Joomla following their instructions
  3. Install Moodle in a subdirectory of your website, lets say <root>/moodle. Of course you follow their installation instructions.
  4. Go to http://www.jfusion.org/index.php/docs/doku.php?id=visual_integration;guide . Note that the Moodle plugin will not support frameless integration for versions 1.x of JFusion. For now we are going to use the direct link methode. Joomla can run Moodle in a wrapper and you can experiment with it, but we are going to get it to work first using the easiest methode to setup.
  5. Go to Joomla admin and install JFusion from www.jfusion.org , following the documentation step 1, 2 and 3 from the documentation at http://www.jfusion.org/index.php/docs
  6. Now configure the plugin. Read the next section in these docs for more information on this. Please use the wizard the first time you setup the Moodle plugin.
  7. Note: Setting up the cookie domain and path is the tricky stuff, for our simple setup you should leave them empty
  8. Remember you have to save the plugins setup first and start editing it again to be able to set the usergroup parameters. This is because JFusion knows how to access eFronts database only after the first save.
  9. set Joomla as Master and Moodle as Slave.
  10. By now jFusion starts complaining about Moodle needing to have userregistration disabled because it's a slave. This will stop once we made it a master. If you want to leave Moodle the slave, just disable all aurhentication methodes in Moodle and JFusion will stop complaining. Ignore the warning at this stage.
  11. USE SIMPLE USERGROUP SYNC! We can go into the advanced mode later. Keeps things simple to get it working.
  12. DO NOT PERFORM THE USERSYNC!
  13. At the end we are going to have Moodle as Master and Joomla as slave, BUT FIRST SET JOOMLA AS MASTER AND EFRONT AS SLAVE! We need this to keep the tests simple and prevent us from Joomla's admin being locked out.
  14. OK, so far so good. Now do the Final checks.
  15. First the loginchecker. Create a new user in Joomla using Joomla's admin panel. Now use this new users credentials with the loginchecker..If the Loginchecker shows all is OK, create another tab in your browser and open the Moodle homepage. You should be logged into Moodle. If you use an already existing tab, refresh the page to see that you are logged in.
  16. Test the logout routine in the same way.
  17. If all is correct, Enable JFusion (follow the doc)
  18. Now, again, create a new Joomla user using Joomla's admin panel. You should get a message that the user is created in Moodle as well. Great isn't it?. To be absolutely sure go to Moodles admin to see if the new user is really there.
  19. Go to Joomla's admin panel and delete the user you just tested. If you have user deletion enabled in the Moodle plugin settings, the user should now being deleted in Moodle as well.
  20. Now go to Joomla's frontend and login using a valid Joomla user. Test if you are logged in. OK? Test logout.
  21. Correct? Make Joomla slave and Moodles Master and repeat the previous step
  22. All OK? Congratulations you have successfully setup Jfusion with a Moodle integration.
  23. You may want to enable JFusions login module. The Moodle plugin supports this.
  24. For more documentation see our Wiki.
moodle/beforeyoubegin.txt · Last modified: 2010/10/28 00:36 by hwevers
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki