Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Joomla.

Joomla

From MoodleDocs
Revision as of 03:14, 10 January 2009 by J S (talk | contribs) (First Post!)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Installation:

========================================================================

Installation of the joomla authentication is mostly automatic.


To install the joomla authentication:


1) copy the two folders auth, lang into your moodle directory.

  Folders with the names auth and lang should already exist there, copying
  the new folders will only add files to the existing folders.


2) Visit your user authentication admin page to configure.

In Joomla 1.9 it's under Users->Administration->Manage Authentication

3) Select "Settings" and enter the following: Host: The database server which hosts the Joomla database Joomla Database: Probably MySQL Use Sybase Quotes: Sybase style single quote escaping - needed for Oracle, MS SQL and some other Joomla databases. Do not use for MySQL! DB Name: Name of the Joomla database itself DB User: Username with read access to the Joomla database Password: Password matching the above username Table: Name of the table in the Joomla database e.g. "jos_users" if your table prefix is "jos_"(default), if not, substitute your own table prefix. If you don't know and jos_users doesn't work, you'll need to connect to the Joomla database server and find the users table. Username field: Name of the field containing usernames e.g. "username"(default) Password field: Name of the field containing passwords e.g. "password" Password Format: Specify the joomla version (old or new). Use 'Old Joomla' if Joomla version is 1.0.12 or lower. Use 'New Joomla' if Joomla version is 1.0.13 or higher. External DB encoding: Encoding used in Joomla database. e.g. "utf-8"(default) SQL Setup Command: Leave blank unless you need a special setup command to run. SQL command for special Joomla database setup, often used to setup communication encoding - example for MySQL and PostgreSQL: SET NAMES 'utf8' Debug ADOdb: Debug ADOdb connection to Joomla database - use when getting empty page during login. Not suitable for production sites. Password Change URL: Here you can specify a location at which your users can recover or change their username/password if they've forgotten it. This will be provided to users as a button on the login page and their user page. if you leave this blank the button will not be printed. For default Joomla 1.5 installations, this is: For Community Builder it is: http://www.yoursite.com/index.php?option=com_comprofiler&Itemid=1&lang=en&task=lostPassword The itemid may vary from site to site. If unsure, go to your website and copy the url for the "Lost Password" link.


Now you are ready to rock :)