<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/400/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Topstone</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/400/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Topstone"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/Special:Contributions/Topstone"/>
	<updated>2026-04-18T21:45:56Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Installing_Moodle&amp;diff=81584</id>
		<title>Installing Moodle</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Installing_Moodle&amp;diff=81584"/>
		<updated>2011-02-24T12:37:53Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to other language pages&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Installing Moodle}}&lt;br /&gt;
&#039;&#039;&#039;First, don&#039;t panic!&#039;&#039;&#039; [[Image:F1 35px.png]]&lt;br /&gt;
&lt;br /&gt;
This guide explains how to install Moodle for the first time. There are links to other pages that go into more detail and try to cover the majority of possible web server setups. &lt;br /&gt;
&lt;br /&gt;
Second, you may want to consider reviewing [[Finding and Selecting A Web Host]] to consider whether you really want to install Moodle yourself. If you decide to move forward with an installation, please read all the installation documentation carefully.&lt;br /&gt;
&lt;br /&gt;
Third, if you still have a problem for which you can&#039;t find the answer, please see the Using Moodle [http://moodle.org/mod/forum/view.php?id=28 Installation problems forum] where there are many people who can help you.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
Moodle is primarily developed in Linux using [[Apache]], [[MySQL]] and [[PHP]] (also sometimes known as the LAMP platform).  It is also regularly tested with Windows XP/2000/2003 (WAMP), Solaris 10 (Sparc and x64), Mac OS X and Netware 6 operating systems. Support for PostgreSQL, Oracle and Microsoft SQL Server is also available.&lt;br /&gt;
&lt;br /&gt;
The requirements for Moodle are as follows:&lt;br /&gt;
&lt;br /&gt;
=== Hardware === &lt;br /&gt;
* Disk space: 160MB free (min). You will require more free space to store your teaching materials.&lt;br /&gt;
* Memory: 256MB (min), 1GB (recommended). The general rule of thumb is that Moodle can support 50 &#039;&#039;concurrent&#039;&#039; users for every 1GB of RAM, but this will vary depending on your specific hardware and software combination. &lt;br /&gt;
** This includes hosting limits of PHP  or MySQL on a hosting service.&lt;br /&gt;
** The capacity can limit the number of users your Moodle site can handle. See [[User site capacities]]&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
Moodle requires a web server environment and will run in [[Apache]] and [[IIS]] easily. Moodle should run in any server environment that supports [[PHP]]. &lt;br /&gt;
&lt;br /&gt;
Moodle is written in the PHP scripting language. Currently, Moodle v 1.9.x requires a minimum of PHP v4.3.0 to run. Moodle 2.0 needs PHP v 5.2.8. There have been some issues with deprecated tags in PHP v 5.3.0 which have a negative impact on a number of PHP Apps, Moodle not exempted, so please ensure your PHP version is later than v 5.3.2 if using a v5.3.x. There has also been reported some issues installing Moodle with [http://www.php-accelerator.co.uk PHP-Accelerator]. See the PHP Moodle version requirements here [[PHP settings by Moodle version]] for more information.&lt;br /&gt;
&lt;br /&gt;
Moodle will use MySQL, MSSQL, PostgreSQL or Oracle as a database, but no others. There is some real issues in the interoperability interface of different databases, which complicates the whole issue. For version information, you can go to the [http://download.moodle.org/ Download page] and that will describe version requirements for available packages.  &lt;br /&gt;
  &lt;br /&gt;
If you want to run Moodle on your own computer, please see [[Installing Apache, MySQL and PHP]] for step-by-step instructions for installation on most popular platforms.&lt;br /&gt;
&lt;br /&gt;
== Download and copy files into place ==&lt;br /&gt;
&lt;br /&gt;
There are two ways to get Moodle, either as a compressed package from http://download.moodle.org/ or via [[CVS for Administrators|CVS]]. &lt;br /&gt;
&lt;br /&gt;
After downloading and unpacking the archive, or checking out the files via CVS, you will be left with a directory called &amp;quot;moodle&amp;quot;, containing a number of files and folders. &lt;br /&gt;
&lt;br /&gt;
For the standard package, you can either place the whole folder in your web server documents directory, in which case the site will be located at &#039;&#039;&#039;&amp;lt;nowiki&amp;gt;http://yourwebserver.com/moodle&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;, or you can copy all the contents straight into the main web server documents directory, in which case the site will be simply &#039;&#039;&#039;&amp;lt;nowiki&amp;gt;http://yourwebserver.com&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Tip:&#039;&#039; If you are downloading Moodle to your local computer and then uploading it to your web site, it is usually better to upload the whole archive as one file, and then do the unpacking on the server. Even web hosting interfaces like cPanel allow you to uncompress archives in the &amp;quot;File Manager&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you&#039;re interested, [[Moodle site moodle directory]] gives a quick summary of the contents of the Moodle folder, to help get you oriented.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;NOTE:&#039;&#039; The &amp;quot;connectionless&amp;quot; nature of the Internet, HTML and server-side file generation allows you to simply copy over critical files without having to uninstall then reinstall. When you do this, go to the Administration &amp;gt; Notifications page to see if any change has been properly registered within Moodle. Time your upgrades to periods of minimal activity, safer that way.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Setting-up your web server ==&lt;br /&gt;
You need to create a blank &#039;&#039;&#039;database&#039;&#039;&#039; for Moodle to use and finally create a &#039;&#039;&#039;directory&#039;&#039;&#039; on your hard disk for Moodle to save your materials and other files you upload into your courses before you can start the installation process.&lt;br /&gt;
&lt;br /&gt;
=== Create empty database ===&lt;br /&gt;
&lt;br /&gt;
You need to create an empty database (eg &amp;quot;&#039;&#039;moodle&#039;&#039;&amp;quot;) in your database system along with a special user (for example &amp;quot;moodleuser&amp;quot;) that has access to that database (and that database only). You could use the &amp;quot;root&amp;quot; user if you wanted to for a test server, but this is not recommended for a production system: if hackers manage to discover the password then your whole database system would be at risk, rather than just one database.&lt;br /&gt;
&lt;br /&gt;
For more help with this see [[Create Moodle site database]].&lt;br /&gt;
&lt;br /&gt;
If you are using a webhost, they will probably have a control panel web interface for you to create your database.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;[http://www.cpanel.com/ cPanel]&#039;&#039;&#039; system is one of the most popular of these. &lt;br /&gt;
To create a database using cPanel:&lt;br /&gt;
&lt;br /&gt;
# Click on the &#039;&#039;&#039;MySQL Databases&#039;&#039;&#039; icon.&lt;br /&gt;
# Type &#039;&#039;&#039;moodle&#039;&#039;&#039; in the New Database field and click &#039;&#039;&#039;Create Database&#039;&#039;&#039;.&lt;br /&gt;
# Type a &#039;&#039;username&#039;&#039; and &#039;&#039;password&#039;&#039; (not one you use elsewhere) in the respective fields and click &#039;&#039;&#039;Create  User&#039;&#039;&#039;.&amp;lt;br&amp;gt;Note that the &#039;&#039;username&#039;&#039; and &#039;&#039;database&#039;&#039; names may be prefixed by your cPanel account name and an underscore, and truncated to 16 characters. When entering this information into the Moodle installer - use the full names.&lt;br /&gt;
# Now use the &#039;&#039;&#039;Add Users to Databases&#039;&#039;&#039; button and give this new user account &#039;&#039;&#039;ALL&#039;&#039;&#039; rights to the new database.&lt;br /&gt;
&lt;br /&gt;
=== Create the data directory  ===&lt;br /&gt;
&lt;br /&gt;
Moodle will also need some space on your server&#039;s hard disk to store uploaded files, such as course documents and user pictures. The Moodle installer tries hard to create the &#039;&#039;&#039;moodledata&#039;&#039;&#039; directory for you but if it fails then you will have to create a directory for this purpose manually.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table style=background-color:lightCyan border=1 cellpadding=5 cellspacing=0 &amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Security warning&#039;&#039;&#039;: For security purposes, it is &#039;&#039;&#039;CRITICAL&#039;&#039;&#039; that this directory is &#039;&#039;&#039;NOT&#039;&#039;&#039; accessible directly via the web. The easiest way to do this is to simply locate it OUTSIDE the web site root directory (it is the folder that the main part of your URL -that is, the part up to the first single / - points to; for example, in &amp;lt;nowiki&amp;gt;http://your.domain.com/moodle/admin/cron.php&amp;lt;/nowiki&amp;gt;, it is &amp;lt;nowiki&amp;gt;http://your.domain.com/&amp;lt;/nowiki&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If you don&#039;t protect the data directory from direct web access, anybody will be able to impersonate any user of your Moodle site (including the admin user!!!), and all of your course materials will be available to the web at large.&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Creating Moodle site data directory]] for more information about security in creating a data directory in CPanel in webhosts.&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting ===&lt;br /&gt;
&lt;br /&gt;
If you run into problems when installing Moodle you might have to tweak some of the settings for your Apache server or your PHP installation.&lt;br /&gt;
&lt;br /&gt;
* [[Installing Moodle/httpd.conf setup]]&lt;br /&gt;
* [[Installing Moodle/Creating custom php.ini files]] for details.&lt;br /&gt;
* &#039;&#039;&#039;Alternative to &#039;&#039;php.ini&#039;&#039; and &#039;&#039;httpd.conf&#039;&#039; files&#039;&#039;&#039;: If you do not have access to your php.ini or httpd.conf files on you web host, see [[Create .htaccess file]].&lt;br /&gt;
* Warning: as noted at http://moodle.org/mod/forum/discuss.php?d=124441&amp;amp;parent=550026 some Moodle installers such as Ubuntu populate an Apache conf.d file with php directives.  Before trying to change any php directives make sure that no php directives are set in any apache conf file,  including files in /etc/apache2/conf.d or similar directory.&lt;br /&gt;
&lt;br /&gt;
== Start Moodle install ==&lt;br /&gt;
There are two basic ways to install Moodle:  Most Moodlers are used to the installer script but with Moodle 2.0 you may install it from the command line.&lt;br /&gt;
&lt;br /&gt;
=== Install with installer script ===&lt;br /&gt;
&lt;br /&gt;
To run the installer script (install.php), just try to access your Moodle main URL using a web browser, or access &#039;&#039;&#039;&amp;lt;nowiki&amp;gt;http://yourserver/install.php&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039; directly.&lt;br /&gt;
&lt;br /&gt;
(The Installer will try to set a session cookie. If you get a popup warning in your browser make sure you accept that cookie!)&lt;br /&gt;
&lt;br /&gt;
Moodle will detect that configuration is necessary and will lead you through some screens to help you create a new configuration file called &#039;&#039;&#039;config.php&#039;&#039;&#039;. At the end of the process Moodle will try and write the file into the right location, otherwise you can press a button to download it from the installer and then upload &#039;&#039;&#039;config.php&#039;&#039;&#039; into the main Moodle directory on the server.&lt;br /&gt;
&lt;br /&gt;
Along the way the installer will test your server environment and give you suggestions about how to fix any problems. For most common issues these suggestions should be sufficient, but if you get stuck, check in the Installation Forum for more help.&lt;br /&gt;
&lt;br /&gt;
==== Go to the admin page to continue configuration ====&lt;br /&gt;
&lt;br /&gt;
Once the basic config.php has been correctly created in the previous step, trying to access the front page of your site will take you to the &amp;quot;admin&amp;quot; page for the rest of the configuration.&lt;br /&gt;
&lt;br /&gt;
The first time you access this admin page, you will be presented with a GPL &amp;quot;shrink wrap&amp;quot; agreement with which you must agree before you can continue with the setup.&lt;br /&gt;
&lt;br /&gt;
Now Moodle will start setting up your database and creating tables to store data. First, the main database tables are created. You should see a number of SQL statements followed by status messages.  You should see  &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;SUCCESS&amp;lt;/font&amp;gt; next to each one until you see &amp;quot;&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;Main databases set up successfully&amp;lt;/font&amp;gt;.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Tip:&#039;&#039; If you don&#039;t see these, then there must have been some problem with the database or the configuration settings you defined in config.php. Please see [[Install Moodle with installer script]] for more details and issues. &lt;br /&gt;
&lt;br /&gt;
Scroll down the very bottom of the page and press the &amp;quot;Continue&amp;quot; link.&lt;br /&gt;
&lt;br /&gt;
You should now see a form where you can define more configuration variables for your installation, such as the default language, SMTP hosts and so on. Don&#039;t worry too much about getting everything right just now - you can always come back and edit these later on using the admin interface. The defaults are designed to be useful and secure for most sites. Scroll down to the bottom and click &amp;quot;Save changes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Next you will see more pages that print lots of status messages as they set up all the tables required by the various Moodle module. As before, they should all be &amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;green&amp;lt;/font&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Scroll down the very bottom of the page and press the &amp;quot;Continue&amp;quot; link.&lt;br /&gt;
&lt;br /&gt;
The next page is a form where you can define parameters for your Moodle site and the front page, such as the name, format, description and so on. Fill this out (you can always come back and change these later) and then press &amp;quot;Save changes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Finally, you will then be asked to create a top-level administration user for future access to the admin pages. Fill out the details with your own name, email etc and then click &amp;quot;Save changes&amp;quot;. Not all the fields are required, but if you miss any important fields you&#039;ll be re-prompted for them. You can change this information later via the [[User profile]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Make sure you remember the username and password you chose for the administration user account, as they will be necessary to access the administration page in future.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;TIP:&#039;&#039; If for any reason your install is interrupted, or there is a system error of some kind that prevents you from logging in using the admin account, you can usually log in using the default username of &amp;quot;&#039;&#039;&#039;admin&#039;&#039;&#039;&amp;quot;, with password &amp;quot;&#039;&#039;&#039;admin&#039;&#039;&#039;&amp;quot;.)&lt;br /&gt;
&lt;br /&gt;
Once successful, you will be sent to the home page of your new site! Please note the [[Site administration block]] on the left with links. These items are only visible to you because you are logged in as the admin user. All your further administration of Moodle can now be done using this block.&lt;br /&gt;
&lt;br /&gt;
=== Installing Moodle using command line ===&lt;br /&gt;
{{Moodle 2.0}}&lt;br /&gt;
&lt;br /&gt;
[[Installing Moodle using command line]] is recommended only for experienced server administrators. Please note you have to execute the installation script as the same user used for apache. Command line installation is not compatible with Windows platforms.&lt;br /&gt;
&lt;br /&gt;
 $cd /var/www/html/moodle/admin/cli&lt;br /&gt;
&lt;br /&gt;
More information about the options can be found using &lt;br /&gt;
 $sudo -u wwwrun /usr/bin/php install.php --help&lt;br /&gt;
&lt;br /&gt;
==Last tasks==&lt;br /&gt;
&lt;br /&gt;
=== Set up cron ===&lt;br /&gt;
&lt;br /&gt;
Moodle&#039;s background tasks (e.g. sending out forum emails and performing course backups) are performed by a script which you can set to execute at specific times of the day. This is known as a cron script. Please refer to the [[Cron|Cron instructions]].&lt;br /&gt;
&lt;br /&gt;
=== Set up backups ===&lt;br /&gt;
&lt;br /&gt;
Please refer to the [[Backup settings| backup instructions]].&lt;br /&gt;
&lt;br /&gt;
=== Send a test email ===&lt;br /&gt;
&lt;br /&gt;
Create a [[Manual_accounts|test user]] with a valid email address and [[message|send them a message]]. Do they receive an email copy of the message? If not then your email server and/or Moodle email settings may be misconfigured (see [[Email_processing|Email Processing]] for details.&lt;br /&gt;
&lt;br /&gt;
===Create a new course===&lt;br /&gt;
&lt;br /&gt;
Congratulations on setting up your Moodle site! You can now [[Adding/editing a course|create a new course]] and have a play ;-)&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Complete install packages]]&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/view.php?id=28 Installation problems forum]&lt;br /&gt;
* [[Installing Apache, MySQL and PHP]]&lt;br /&gt;
* [[Upgrading Moodle]]&lt;br /&gt;
* [[Beginning Administration FAQ]]&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=42688 Selecting a web host for Moodle] forum discussion&lt;br /&gt;
* [[masquerading|Masquerading]] - Running Moodle behind a masquerading/NAT firewall&lt;br /&gt;
* [http://ic.eflclasses.org/tutorials/settingupmoodleonhostingwitholdcpanel.swf Tutorial on choosing a host and setting up moodle via the old cpanel]&lt;br /&gt;
* [[Installation FAQ]]&lt;br /&gt;
* [[Finding and Selecting A Web Host]]&lt;br /&gt;
* [[experimental:Getting Help Installing and Managing Moodle]]&lt;br /&gt;
* [[Step-by-step Guide for Installing Moodle on Mac OS X 10.4 Client]]&lt;br /&gt;
* [[Installing Moodle on Windows Vista]]&lt;br /&gt;
* [[Step-by-step Installation Guide for Ubuntu]]&lt;br /&gt;
* [[RedHat Linux installation]]&lt;br /&gt;
* [[CentOS Linux installation]]&lt;br /&gt;
&lt;br /&gt;
[[es:Instalaci%C3%B3n_de_moodle]]&lt;br /&gt;
[[de:Installation von Moodle]]&lt;br /&gt;
[[fr:Installation de Moodle]]&lt;br /&gt;
[[ja:Moodleのインストール]]&lt;br /&gt;
[[ru:Установка Moodle]]&lt;br /&gt;
[[zh:安装Moodle]]&lt;br /&gt;
{{Review}}&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Automated_course_backup&amp;diff=75591</id>
		<title>Automated course backup</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Automated_course_backup&amp;diff=75591"/>
		<updated>2010-09-09T03:22:33Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese : &amp;quot;バックアップ (管理者)&amp;quot; -&amp;gt; &amp;quot;自動コースバックアップ&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Location: &#039;&#039;Administration &amp;gt; Courses &amp;gt; Backups&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The backups page enables administrators to configure automated course backups and a backup schedule. &lt;br /&gt;
Automated course backups runs the same functions as individual [[Course backup|course backups]]. It&#039;s a good idea to schedule backups for when your server isn&#039;t usually busy. Running the backup tool over all the courses can be processor-intensive, so you shouldn&#039;t run it when there are a lot of students trying to access the server.&lt;br /&gt;
&lt;br /&gt;
In order to make scheduled backups, you have to set up CRON to run periodically. Please refer to the [[Cron|cron instructions]].&lt;br /&gt;
&lt;br /&gt;
==Setting a backup schedule==&lt;br /&gt;
&lt;br /&gt;
To set the backup schedule:&lt;br /&gt;
#Click the Active checkbox. This turns on the automated backup system.&lt;br /&gt;
#Click the days of the week to run the backup.&lt;br /&gt;
#Set the execution time for the backup process. For most servers, early morning will be the best time.  Keep in mind the time zone your server is using.&lt;br /&gt;
#Set the &amp;quot;Save to...&amp;quot; path. If you can, choose a backup path on another machine or on a different drive than the one Moodle is on. You don’t want to lose your backups at the same time you lose your Moodle site if the drive fails. If you leave the field blank, then backup zip files will be saved in the backup folder of each course files folder.&lt;br /&gt;
#Click the &amp;quot;Save changes&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
Once you&#039;ve set up your backup schedule, Moodle will automatically create archives of all the courses on the server at the time you specified. Once the backup is complete, Moodle will send you an email describing the status of the backup.&lt;br /&gt;
&lt;br /&gt;
Note: From 1.6 onwards, course backups automatically skip courses which are unavailable to students and have not been changed in the last month.&lt;br /&gt;
&lt;br /&gt;
==Course versus site backups==&lt;br /&gt;
&lt;br /&gt;
*Automated course backups are more expensive in terms of time and CPU usage. The recovery time to have your site running again is longer. &lt;br /&gt;
*Course backups are useful for obtaining &amp;quot;fresh&amp;quot; copies of courses to be re-used or distributed individually, however they should never be used as a primary backup system (unless your hosting doesn&#039;t allow the preferred [[Site backup|site backups]]). &lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Backup and restore FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Backup]]&lt;br /&gt;
&lt;br /&gt;
[[eu:Ikastaroen_segurtasun-kopia_automatikoa]]&lt;br /&gt;
[[fr:Sauvegarde (administrateur)]]&lt;br /&gt;
[[ja:自動コースバックアップ]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Filters&amp;diff=75589</id>
		<title>Filters</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Filters&amp;diff=75589"/>
		<updated>2010-09-09T03:04:20Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese : &amp;quot;フィルタ (管理者)&amp;quot; -&amp;gt; &amp;quot;フィルタ&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Locations: &lt;br /&gt;
:Moodle 1.9 &#039;&#039;Administration &amp;gt; Modules &amp;gt; Manage filters&#039;&#039;&lt;br /&gt;
:Moodle 2.0 &#039;&#039;Settings&amp;gt;Site Administration&amp;gt;Filters&amp;gt;Manage filters&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Filters allow for the automatic transformation of entered text into different, often more complex forms. For example the titles of [[Resources|resources]] can automatically become hyperlinks that take you to the relevant resource, URLs pointing to [[mp3]] files can become [[Flash]] controls embedded in the web page that let you pause and rewind the audio. The possibilities are endless and there are a number of standard filters included with Moodle and many more specialized filters available from the Moodle.org [http://moodle.org/mod/data/view.php?id=6009 Modules and plugins database].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Enabling filters==&lt;br /&gt;
[[Image:filters admin.png|thumb|Filters administration in Moodle 1.8]]&lt;br /&gt;
To enable a filter:&lt;br /&gt;
#Access Administration &amp;gt; Modules &amp;gt; Filters.&lt;br /&gt;
#On the filters administration page, click the eye icon opposite the filter you want to enable, so that it changes to an open eye.&lt;br /&gt;
#Use the up/down arrow icons to arrange the filters in the order in which they should be applied.&lt;br /&gt;
&lt;br /&gt;
Certain filters have additional settings, which can be accessed via the links in the settings column.&lt;br /&gt;
&lt;br /&gt;
==Common settings==&lt;br /&gt;
&lt;br /&gt;
Notes: &lt;br /&gt;
:Prior to Moodle 1.9, common filter settings can be found in &#039;&#039;Administration &amp;gt; Appearance &amp;gt; Filter settings&#039;&#039;.&lt;br /&gt;
:In Moodle 2.0, common filter settings can be found in &#039;&#039;Settings&amp;gt;Site Administration&amp;gt;Filters&amp;gt;Common Filter Settings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Text cache lifetime===&lt;br /&gt;
&lt;br /&gt;
Text filters can take a lot of processor power to analyze. If you have a large number of courses, the filters may slow your system. The text cache lifetime determines how often the filters run. If you set them to run too frequently, your system may&lt;br /&gt;
slow down. If you set them to run too infrequently, analyzing new content will take too long and users will notice. You should experiment to find the correct amount of time for your server.&lt;br /&gt;
&lt;br /&gt;
===Filter uploaded files===&lt;br /&gt;
&lt;br /&gt;
This setting enables uploaded files (HTML and text only) to be processed by the filters system. You can choose to have none, only HTML or all files filtered.&lt;br /&gt;
&lt;br /&gt;
===Filter match once per page===&lt;br /&gt;
&lt;br /&gt;
This setting effects the glossary, activity and resource linking filters. If set to yes, only the first match on the complete page will be converted to a link. All others will be ignored.&lt;br /&gt;
&lt;br /&gt;
===Filter match once per text===&lt;br /&gt;
&lt;br /&gt;
This setting effects the glossary, activity and resource linking filters. If set to yes, only the first match in a discrete block of text will be converted to a link. All others in that text block will be ignored.&lt;br /&gt;
&lt;br /&gt;
===Filter all strings===&lt;br /&gt;
&lt;br /&gt;
If checked, headings and titles can be displayed in different languages using the [[Multi language content|multi-language filter]].&lt;br /&gt;
&lt;br /&gt;
==Standard filters==&lt;br /&gt;
&lt;br /&gt;
Filters included in the standard download are:&lt;br /&gt;
&lt;br /&gt;
*Activity Names Auto-linking - This scans text for activity titles that exist in the same course and creates a link.&lt;br /&gt;
*[[Algebra filter|Algebra]] - This filter will convert algebra code into GIF images. It requires the [[TeX notation filter|TeX filter]] to be installed. Note also that your system must also include the following Perl module: HTML::Entities.pm&lt;br /&gt;
*Database auto-linking - As the name suggests, this filter enables automatic linking of [[Database module]] entries.&lt;br /&gt;
:&#039;&#039;Note&#039;&#039;: If entries are required before viewing, the database auto-linking filter should be disabled. This is because the database auto-linking filter can&#039;t determine whether a user has submitted the required number of entries.&lt;br /&gt;
*Email Protection - This filter scans the text for any email addresses. Where found they are changed (obfuscated) to reduce the chance of being added to a spammers list. However, as this filter is switched off by default, the site administrator may wish to enable this filter before importing user&#039;s email addresses.&lt;br /&gt;
*Glossary auto-linking - As the name suggests, this filter enables automatic linking of [[Glossary module]] entries. In addition to this filter, individual glossary entries should have the &amp;quot;This entry should be automatically linked&amp;quot; box checked.&lt;br /&gt;
*[[Multi language content]] - This filter enables resources to be created in multiple languages. It looks for &amp;amp;lt;span&amp;amp;nbsp;lang=&amp;quot;xx&amp;quot; class=&amp;quot;multilang&amp;quot;&amp;amp;gt;...&amp;amp;lt;/span&amp;amp;gt; tags which indicate that a text contains multiple languages. Then it selects and outputs the best language for the current user. The language of the resource will change when the user changes their selected Moodle language. Please note: going to the past, the multilang filter supported the &amp;amp;lt;lang&amp;amp;gt; tag. Then, officially, we changed it to the standard HTML &amp;amp;lt;span&amp;amp;gt; tag and the &amp;amp;lt;lang&amp;amp;gt; solution is now deprecated.&lt;br /&gt;
*[[Multimedia plugins]]&lt;br /&gt;
*Resource Names Auto-linking - The titles of [[Resources]] can automatically become hyperlinks that take you to the relevant resource within the same course.&lt;br /&gt;
*[[TeX notation filter|TeX notation]]&lt;br /&gt;
*Tidy - This filter checks whether HTML code is XHTML compliant, tidying where necessary. To make this filter work you need to have PHP compiled with the libtidy option; see http://www.php.net/tidy. The Using Moodle discussion [http://moodle.org/mod/forum/discuss.php?d=28418 Tidy Filter for Moodle 1.5] contains more details.&lt;br /&gt;
*Wiki Page Auto-linking - As the name suggests, this filter enables automatic linking between wiki pages, based on the name of the page.  It does not, however, change the behavior of linking of pages by using CamelCase or [square brackets].&lt;br /&gt;
*[[Word censorship]] - This filter &amp;quot;blacks out&amp;quot; words found on a list.&lt;br /&gt;
&lt;br /&gt;
==Non-standard filters==&lt;br /&gt;
&lt;br /&gt;
Filters are one of Moodle&#039;s pluggable resources and may be added or removed simply by using a file manager to add or remove them from the &#039;&#039;/filters&#039;&#039; directory.  Moodle detects those that are present and makes them available to use.  &lt;br /&gt;
&lt;br /&gt;
* [[Jmol filter|Jmol]] - for interactive 3D viewing of molecular structures&lt;br /&gt;
* [[Code Syntax Highlighting]] - for more readable excerpts of programming languages including [[PHP]], [[HTML in Moodle|HTML]], [[CSS]], and XML amongst many others&lt;br /&gt;
* [[HiddenText filter|HiddenText]] - for teachers who want to provide &amp;quot;hints&amp;quot; to students where the information is initially hidden but can easily be revealed by student in any time when he need.&lt;br /&gt;
* [[DocView filter|DocView]] - preview office documents (stored inside course&#039;s file repository) using one of the online document editing services (google docs, zoho, writely...). linked documents are opened inside a frame on the resource&#039;s page.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Filters FAQ]]&lt;br /&gt;
*[[Filters used on the Moodle.org forums]]&lt;br /&gt;
*[[Development:Filters]]&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=76206 Filter Demo&#039;s now online] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category:Filter]]&lt;br /&gt;
&lt;br /&gt;
[[es:Filtros (Administrador)]]&lt;br /&gt;
[[fr:Filtres (administrateur)]]&lt;br /&gt;
[[ja:フィルタ]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Calendar_settings&amp;diff=75586</id>
		<title>Calendar settings</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Calendar_settings&amp;diff=75586"/>
		<updated>2010-09-09T02:47:19Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese : &amp;quot;カレンダー ( 管理者 )&amp;quot; -&amp;gt; &amp;quot;カレンダー (管理者)&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Location: &#039;&#039;Administration &amp;gt; Appearance &amp;gt; Calendar&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The days and events to lookahead settings are for displaying events in the [[Upcoming Events block]]. If the Upcoming Events block becomes too long you can reduce the number of days and events to lookahead.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Importing multiple events==&lt;br /&gt;
&lt;br /&gt;
Currently there is no way to import data to create multiple events.  All events must be individually entered through the New Event button. Because the New Event data entry screen only allows drop down selection rather than typed entries, it is very difficult to design a macro for quick repeated input of New Events.&lt;br /&gt;
&lt;br /&gt;
The only other option is to directly connect to the central moodle [SQL] database and directly enter data into the events table.  &#039;&#039;Great care&#039;&#039; needs to be taken with this approach as alterations to the data structure may cause your moodle site to crash!&lt;br /&gt;
To convert MS Excel dates to moodle Unix dates use: Unix date integer =((Excel date integer)-25569)*86400&lt;br /&gt;
&lt;br /&gt;
==List format==&lt;br /&gt;
The calendar displays event lists one day at a time.  There is no capacity to display a list of all site or course events over an extended period.  To obtain date lists for publications, the only option is to link directly to the SQL database, select by the &amp;quot;courseid&amp;quot; and perform calculations to convert the UNIX &amp;quot;timestart&amp;quot; to a publishable date format:&lt;br /&gt;
&lt;br /&gt;
Using a Microsoft Access query, collect data from the &#039;&#039;&#039;mdl_event&#039;&#039;&#039; table and create 2 calculated fields:&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;calcdate&#039;&#039;&#039;: DateValue(&amp;quot;1/1/1970&amp;quot;)+[timestart]/60/60/24+10/24&lt;br /&gt;
*&#039;&#039;&#039;daysavdate&#039;&#039;&#039;: IIf([calcdate] Between #2/04/2006# And #29/10/2006#,[calcdate],[calcdate]+1/24)&lt;br /&gt;
&lt;br /&gt;
Then, use additional calculated fields to separate the date, day of week and time (if needing to be  formatted separately:&lt;br /&gt;
&lt;br /&gt;
*Dte: Format([daysavdate],&amp;quot;mmm dd&amp;quot;)&lt;br /&gt;
*DayName: Format([daysavdate],&amp;quot;ddd&amp;quot;)&lt;br /&gt;
*Tme: Format([daysavdate],&amp;quot;hh:nn am/pm&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;TIP:&#039;&#039; The dates for daylight saving need to be changed each year to match your location.&lt;br /&gt;
:&#039;&#039;TIP:&#039;&#039; Very brief summary process for creating connection to moodle database in Windows environment: Install MySQL [[ODBC]] Driver 3.51 / Start settings control panel / admin tools/ Data Sources/ ODBC /  add new service/ select MySQL ODBC driver/ follow prompts for User &amp;amp; password/ open access/ get external data/ point to MySQL ODBC connection&lt;br /&gt;
&lt;br /&gt;
==Navigating months==&lt;br /&gt;
There is no easy way to jump to a specific month in the year other than to directly edit the URL variable for month &amp;quot;m=&amp;quot; :   calendar/view.php?view=month&amp;amp;cal_d=1&amp;amp;cal_&#039;&#039;&#039;m=02&#039;&#039;&#039;&amp;amp;cal_y=2006&lt;br /&gt;
&lt;br /&gt;
==Display Current Day Events==&lt;br /&gt;
&lt;br /&gt;
Use link: http://moodle.org/calendar/view.php?view=day&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=52320 URL to show today&#039;s calendar] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Calendar]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Calendrier (administrateur)]]&lt;br /&gt;
[[ja:カレンダー (管理者)]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Environment&amp;diff=75585</id>
		<title>Environment</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Environment&amp;diff=75585"/>
		<updated>2010-09-09T02:26:27Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese ver. &amp;quot;環境&amp;quot; -&amp;gt; &amp;quot;動作環境&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Location: &#039;&#039;Administration &amp;gt; Server &amp;gt; Environment&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The environment page enables you to check that your site meets all system requirements for your current and future versions of Moodle. It is important to check system requirements prior to [[Upgrading|upgrading]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note: some of the PHP extensions are included as standard in later distributions of PHP, depending on platform:&lt;br /&gt;
* Iconv is included in PHP from 5.0 onwards on Windows [http://uk3.php.net/manual/en/iconv.installation.php]&lt;br /&gt;
* Tokenizer is included in PHP from 4.3.0 onwards [http://uk2.php.net/manual/en/tokenizer.installation.php]&lt;br /&gt;
* Ctype is included by default from PHP 4.2.0 onwards http://uk.php.net/manual/en/ctype.installation.php&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Moodle version 1.5.3==&lt;br /&gt;
&lt;br /&gt;
*MySQL version - 3.23 or later is required&lt;br /&gt;
*PHP version - 4.1.0 or later is required &lt;br /&gt;
*The php_extension mbstring is recommended to be installed/enabled&lt;br /&gt;
&lt;br /&gt;
==Moodle version 1.6==&lt;br /&gt;
&lt;br /&gt;
*MySQL version 4.1.12 or later for sites that are exclusively [http://czyborra.com/charsets/iso8859.html Latin-1], 4.1.16 if you have other languages, or PostgreSQL 7.4.x or later&lt;br /&gt;
*PHP version 4.3.0 or later is required (but don&#039;t use versions 5.0.0 to 5.0.6 which were buggy)&lt;br /&gt;
*The php_extension iconv is recommended to be installed/enabled&lt;br /&gt;
*The php_extension mbstring is recommended to be installed/enabled&lt;br /&gt;
&lt;br /&gt;
==Moodle version 1.8==&lt;br /&gt;
&lt;br /&gt;
*MySQL version 4.1.16 or later is required, or PostgreSQL 7.4.x or later&lt;br /&gt;
*PHP version 4.3.0 or later is required (but don&#039;t use versions 5.0.0 to 5.0.6 which were buggy)&lt;br /&gt;
*[[admin/environment/unicode|Unicode]] is required&lt;br /&gt;
*The [[admin/environment/php extension/curl|php_extension curl]] is recommended to be installed/enabled&lt;br /&gt;
*The [[admin/environment/php extension/iconv|php_extension iconv]] is recommended to be installed/enabled&lt;br /&gt;
*The [[admin/environment/php extension/mbstring|php_extension mbstring]] is recommended to be installed/enabled&lt;br /&gt;
*The [[admin/environment/php extension/openssl|php_extension openssl]] is recommended to be installed/enabled&lt;br /&gt;
*The [[admin/environment/php_extension/tokenizer|php_extension tokenizer]] is recommended to be installed/enabled&lt;br /&gt;
*The [[admin/environment/php_extension/xmlrpc|php_extension xmlrpc]] is recommended to be installed/enabled&lt;br /&gt;
*The [[admin/environment/php_extension/ctype|php_extension ctype]] is recommended to be installed/enabled&lt;br /&gt;
&lt;br /&gt;
==Moodle version 1.9==&lt;br /&gt;
===PHP ===&lt;br /&gt;
* PHP version 4.3.0 or later is required&lt;br /&gt;
* PHP Settings. Check these settings in your php.ini or .htaccess file (if you&#039;re using Apache). For settings which use ON/OFF as their values, you can substitute 1 for ON and 0 for OFF if you prefer. &lt;br /&gt;
** &#039;&#039;register_globals&#039;&#039; &#039;&#039;&#039;MUST&#039;&#039;&#039; be OFF&lt;br /&gt;
** &#039;&#039;safe_mode&#039;&#039; needs to be OFF.&lt;br /&gt;
** &#039;&#039;memory_limit&#039;&#039; should be at least 16M (32M is recommended for Moodle 1.7 and 40M for Moodle 1.8 or later). Large sites may need more than 128M. PHP 5.2.x requires higher memory_limit values than previous versions of PHP. 64bit operating systems require even more memory.&lt;br /&gt;
** &#039;&#039;session.save_handler&#039;&#039; needs to be set to FILES.&lt;br /&gt;
** &#039;&#039;magic_quotes_gpc&#039;&#039; should be OFF&lt;br /&gt;
** &#039;&#039;magic_quotes_runtime&#039;&#039; needs to be OFF.&lt;br /&gt;
** &#039;&#039;file_uploads&#039;&#039; needs to be ON.&lt;br /&gt;
** &#039;&#039;session.auto_start&#039;&#039; needs to be OFF.&lt;br /&gt;
** &#039;&#039;session.bug_compat_warn&#039;&#039; needs to be OFF.&lt;br /&gt;
* PHP Extensions and libraries&lt;br /&gt;
** The mbstring extension is recommended.&lt;br /&gt;
** The iconv extension is recommended. &lt;br /&gt;
** [http://www.libgd.org/ GD library] and the [http://www.freetype.org/ FreeType 2] library and extensions are needed to be able to look at the dynamic graphs that the logs pages make. (Freetype support is available as part of the GD extension for the 5.x versions of PHP).&lt;br /&gt;
** The mysql extension is required if you are using the MySQL database. Note that in some Linux distributions (notably Red Hat) this is an optional installation.&lt;br /&gt;
** The pgsql extension is required if you are using the PostgreSQL database.&lt;br /&gt;
** The curl extension is recommended.&lt;br /&gt;
** The tokenizer extension is recommended.&lt;br /&gt;
** The curl and openssl extensions are required for the Moodle network functionality.&lt;br /&gt;
** The xmlrpc extension is required for the Moodle network functionality.&lt;br /&gt;
** The ctype extension is recommended.&lt;br /&gt;
** Other PHP extensions may be required.&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
* Database (pick one):&lt;br /&gt;
** MySQL 4.1.16 or&lt;br /&gt;
** Postgres 8.0 or&lt;br /&gt;
** MSSQL 9.0 or&lt;br /&gt;
** Oracle 9.0&lt;br /&gt;
&lt;br /&gt;
===See also ===&lt;br /&gt;
*[[Upgrading to Moodle 1.9]]&lt;br /&gt;
&lt;br /&gt;
==Moodle version 2.0==&lt;br /&gt;
=== Hardware === &lt;br /&gt;
* Disk Space: 160MB min&lt;br /&gt;
* Memory (RAM): 256 min, 1GB reccomnded, 50 users per 1GB RAM&lt;br /&gt;
&lt;br /&gt;
=== Software === &lt;br /&gt;
* Web server software. Such as [[Apache]] or [[IIS]].&lt;br /&gt;
* [[PHP]] scripting language. The exact requirements for PHP in Moodle 2.0 are [[#php_requires|below.]]&lt;br /&gt;
&amp;lt;span id=&amp;quot;php_requires&amp;quot;&amp;gt;&#039;&#039;&#039;&#039;&#039;&amp;lt;/span&amp;gt;&lt;br /&gt;
===PHP Configuration ===&lt;br /&gt;
* Version: 5.2.8 or later, it will not support any earlier version.&lt;br /&gt;
** PHP Settings. Check these settings in your php.ini or .htaccess file (if you&#039;re using Apache). For settings which use ON/OFF as their values, you can substitute 1 for ON and 0 for OFF if you prefer. &lt;br /&gt;
*** &#039;&#039;register_globals&#039;&#039; &#039;&#039;&#039;MUST&#039;&#039;&#039; be OFF&lt;br /&gt;
*** &#039;&#039;safe_mode&#039;&#039; needs to be OFF.&lt;br /&gt;
*** &#039;&#039;memory_limit&#039;&#039; should be at least 128M. Large sites may need more than 128M. PHP 5.2.x requires higher memory_limit values than previous versions of PHP. 64bit operating systems require even more memory.&lt;br /&gt;
*** &#039;&#039;session.save_handler&#039;&#039; needs to be set to FILES.&lt;br /&gt;
*** &#039;&#039;magic_quotes_gpc&#039;&#039; should be OFF. Unlike earlier versions of Moodle.&lt;br /&gt;
*** &#039;&#039;magic_quotes_runtime&#039;&#039; needs to be OFF.&lt;br /&gt;
*** &#039;&#039;file_uploads&#039;&#039; needs to be ON.&lt;br /&gt;
*** &#039;&#039;session.auto_start&#039;&#039; needs to be OFF.&lt;br /&gt;
*** &#039;&#039;session.bug_compat_warn&#039;&#039; needs to be OFF.&lt;br /&gt;
** PHP Extensions and libraries&lt;br /&gt;
*** The mbstring extension is recommended.&lt;br /&gt;
*** The iconv extension is recommended &lt;br /&gt;
*** [http://www.libgd.org/ GD library] and the [http://www.freetype.org/ FreeType 2] library and extensions are needed to be able to look at the dynamic graphs that the logs pages make. (Freetype support is available as part of the GD extension for the 5.x versions of PHP)&lt;br /&gt;
*** The mysql extension is required if you are using the MySQL database. Note that in some Linux distributions (notably Red Hat) this is an optional installation.&lt;br /&gt;
*** The pgsql extension is required if you are using the PostgreSQL database.&lt;br /&gt;
*** The pdo and pdo_sqlite extensions are required for the (experimental) SQLite 3 database support.&lt;br /&gt;
*** The curl extension is recommended.&lt;br /&gt;
*** The tokenizer extension is recommended.&lt;br /&gt;
*** The curl and openssl extensions are required for the Moodle network functionality.&lt;br /&gt;
*** The xmlrpc extension is required for the Moodle network functionality.&lt;br /&gt;
*** The ctype extension is recommended.&lt;br /&gt;
*** Other PHP extensions may be required to support optional Moodle functionality, especially external authentication and/or enrolment (e.g. LDAP extension for LDAP authentication and the sockets extension for Chat server).&lt;br /&gt;
&lt;br /&gt;
=== Database ===&lt;br /&gt;
* A working database server: [[MySQL]] or [[PostgreSQL]] are completely supported and recommended for use with any version of Moodle. MySQL is &#039;&#039;the&#039;&#039; choice for many people because it is very popular, but there are some [[Arguments in favour of PostgreSQL|arguments in favour of PostgreSQL]], especially if you are planning a large deployment.&lt;br /&gt;
** MySQL 4.1.16 or &lt;br /&gt;
** Postgres 8.0 or &lt;br /&gt;
** MSSQL 9.0 or &lt;br /&gt;
** Oracle 9.0&lt;br /&gt;
** SQLite 3 (experimental)&lt;br /&gt;
&lt;br /&gt;
===See also ===&lt;br /&gt;
*[[Installing Moodle 2.0]]&lt;br /&gt;
*[[Upgrading to Moodle 2.0]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Environment]]&lt;br /&gt;
[[Category:Moodle 2.0]]&lt;br /&gt;
[[Category:Moodle 1.9]]&lt;br /&gt;
[[Category:Moodle 1.8]]&lt;br /&gt;
[[Category:Moodle 1.6]]&lt;br /&gt;
&lt;br /&gt;
[[eu:Ingurunea]]&lt;br /&gt;
[[fr:Environnement]]&lt;br /&gt;
[[ja:動作環境]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Category:Questions&amp;diff=75547</id>
		<title>Category:Questions</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Category:Questions&amp;diff=75547"/>
		<updated>2010-09-08T03:25:07Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An index of documentation pages about [[Questions]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
[[Category:Quiz]]&lt;br /&gt;
[[Category:Lesson]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Catégorie:Question]]&lt;br /&gt;
[[ja:Category:問題]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=True/False_question_type&amp;diff=75546</id>
		<title>True/False question type</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=True/False_question_type&amp;diff=75546"/>
		<updated>2010-09-08T03:22:17Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Questions}}&lt;br /&gt;
A student is given only two choices for an answer in this kind of question: True or False. The question content can include an image or html code.   &lt;br /&gt;
&lt;br /&gt;
When feedback is enabled, the appropriate feedback message is shown to the student after the answer. For example, if the correct answer is &amp;quot;False&amp;quot;, but they answer &amp;quot;True&amp;quot; (getting it wrong) then the &amp;quot;True&amp;quot; feedback is shown.&lt;br /&gt;
&lt;br /&gt;
Note that the True/False question type in a Lesson module is quite different. It is effectively the same as the Multiple Choice question type in a Lesson, but with only 2 responses. See [[Lesson_module#Multiple_choice]].&lt;br /&gt;
&lt;br /&gt;
==Question set-up==&lt;br /&gt;
&lt;br /&gt;
#Select the question category&lt;br /&gt;
#Give the question a descriptive name - this allows you to identify it in the question bank.&lt;br /&gt;
#Enter a question in the &#039;question text&#039; field.&lt;br /&gt;
#Select an image to display if you want to add a picture to the question. For the student, it appears immediately after the question text and before the choices.&lt;br /&gt;
#Set the &#039;default question grade&#039; (i.e. the maximum number of marks for this question).&lt;br /&gt;
#Set the &#039;Penalty factor&#039; (see [[True/False_question_type#Penalty_factor|Penalty factor]] below).&lt;br /&gt;
#&#039;&#039;Moodle 1.7+:&#039;&#039; If you wish, add general feedback. This is text that appears to the student after he/she has answered the question.&lt;br /&gt;
# Select the correct answer - true or false.&lt;br /&gt;
# Finally, provide feedback for each of the answers &#039;true&#039; and &#039;false&#039;.&lt;br /&gt;
# Click &#039;Save changes&#039; to add the question to the category.&lt;br /&gt;
&lt;br /&gt;
=== Penalty factor ===&lt;br /&gt;
&lt;br /&gt;
The &#039;penalty factor&#039; only applies when the question is used in a quiz using adaptive mode - i.e. where the student is allowed multiple attempts at a question even within the same attempt at the quiz. If the penalty factor is more than 0, then the student will lose that proportion of the &#039;&#039;&#039;maximum&#039;&#039;&#039; grade upon each successive attempt. For example, if the default question grade is 10, and the penalty factor is 0.2, then each successive attempt after the first one will incur a penalty of 0.2 x 10 = 2 points. &lt;br /&gt;
&lt;br /&gt;
[[fr:Question vrai ou faux]]&lt;br /&gt;
[[ca:Tipus_de_pregunta_de_verdader/fals]]&lt;br /&gt;
[[de:Wahr-Falsch-Fragen]]&lt;br /&gt;
[[ja:○/×問題タイプ]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Administrator_do%27s_and_don%27ts&amp;diff=69221</id>
		<title>Administrator do&#039;s and don&#039;ts</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Administrator_do%27s_and_don%27ts&amp;diff=69221"/>
		<updated>2010-03-02T18:31:51Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Don&#039;t use the files area in the main Moodle site course to restore course archives.  You can destroy the front page very easily.  You will be much better off to set up a special course just for that purpose!&lt;br /&gt;
&lt;br /&gt;
: Why? How? --[[User:David Mudrak|David Mudrak]] 09:43, 10 September 2008 (CDT)&lt;br /&gt;
:: Accidentally restoring a faulty course archive to your main site course will break the whole site for everyone. Also -- by default, all users have access to the files in the main site course. If your course archive contains any confidential information, you&#039;re potentially exposing it to all site users. We have hidden test courses that we use to host the course archives we&#039;re going to restore. --[[User:Donna Hrynkiw|Donna Hrynkiw]] 13:11, 17 November 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For a much more complete set of Administrator&#039;s do&#039;s and don&#039;ts, you may want to consider [[Beginning Administration FAQ]].&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[ja:管理者が「やるべきこと」と「やってはいけないこと」]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
&lt;br /&gt;
{{stub}}&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Development:JavaScript_guidelines&amp;diff=68835</id>
		<title>Development:JavaScript guidelines</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Development:JavaScript_guidelines&amp;diff=68835"/>
		<updated>2010-02-19T11:34:47Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moodle 2.0}}&lt;br /&gt;
&lt;br /&gt;
These guidelines can only be applied fully from Moodle 2.0 onwards, because they rely on our new API to facilitate use of JavaScript.&lt;br /&gt;
&lt;br /&gt;
When writing JavaScript for earlier versions of Moodle, please try to follow these guidelines in spirit and use the &#039;&#039;&#039;require_js&#039;&#039;&#039; function in place of $PAGE-&amp;gt;requires-&amp;gt;js/yui_lib.&lt;br /&gt;
&lt;br /&gt;
==General principles==&lt;br /&gt;
&lt;br /&gt;
===Moodle should be usable without JavaScript===&lt;br /&gt;
&lt;br /&gt;
Everything in Moodle should work with JavaScript turned off. This is important for accessibility, and in line with the principles of [[Development:Unobtrusive_Javascript|unobtrusive JavaScript]] and [[Development:Progressive_enhancement|progressive enhancement]].&lt;br /&gt;
&lt;br /&gt;
===Minimise inline JavaScript===&lt;br /&gt;
&lt;br /&gt;
Almost all JavaScript code should be in separate .js files. There should be the smallest possible amount of JavaScript inline in the HTML code of pages.&lt;br /&gt;
&lt;br /&gt;
The only &amp;amp;lt;script&amp;gt; tags in the HTML should be&lt;br /&gt;
# &amp;amp;lt;script src=... tags to include the necessary .js files.&lt;br /&gt;
# Simple function calls to trigger initialisation. For example &amp;amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;initialise_my_widget(&#039;some&#039;, &#039;data&#039;, 123);&amp;amp;lt;/script&amp;gt;.&lt;br /&gt;
# Variable definitions to transfer data from the PHP code to JavaScript. For example &amp;amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;var moodle_cfg = {&amp;quot;modpixpath&amp;quot;:&amp;quot;http:\/\/tim.moodle.local\/moodle\/mod&amp;quot;,&amp;quot;sesskey&amp;quot;:&amp;quot;ZVNQiq7pHu&amp;quot;,&amp;quot;developerdebug&amp;quot;:true};&amp;amp;lt;/script&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
You should not use old-fashioned onXXX=&amp;quot;event_handler&amp;quot; attributes in the HTML. Use Modern DOM events. The YUI events library makes this easy.&lt;br /&gt;
&lt;br /&gt;
=== JavaScript libraries ===&lt;br /&gt;
&lt;br /&gt;
* The official JavaScript library for Moodle is [[Development:YUI|YUI]]. That may not be your favourite, but it&#039;s the one that was chosen after careful research, so live with it.&lt;br /&gt;
&lt;br /&gt;
* Moodle also has its own JavaScript library code, principally in lib/javascript-static.js.&lt;br /&gt;
&lt;br /&gt;
* Moodle uses the &#039;&#039;&#039;TinyMCE&#039;&#039;&#039; HTML editor.&lt;br /&gt;
&lt;br /&gt;
===When to include the JavaScript===&lt;br /&gt;
&lt;br /&gt;
As per [http://developer.yahoo.com/performance/rules.html Yahoo&#039;s best practice guidelines], load and execute the JavaScript as late as possible, ideally the script tags should be the last thing before the &amp;amp;lt;/body&amp;gt; close tag. (This is the default behaviour with Moodle&#039;s JavaScript handling functions.)&lt;br /&gt;
&lt;br /&gt;
Since everything should work without JavaScript, load and initialising your scripts only after everything else on the page has loaded should not be a problem and will increase the perceived page-load performance for users.&lt;br /&gt;
&lt;br /&gt;
===Minimise the number of .js files===&lt;br /&gt;
&lt;br /&gt;
Try not to use too many different .js files. Each separate file that the browser has to load incurs an overhead.&lt;br /&gt;
&lt;br /&gt;
On the other hand, organise the JavaScript logically to ease maintenance, and don&#039;t include large amounts of irrelevant JavaScript code. Code that is loaded but never used is a waste of time.&lt;br /&gt;
&lt;br /&gt;
So, if you are writing a new module that needs its own JavaScript, try starting with with a single file mod/mymod/mymod.js. If you find that you are writing a lot of JavaScript that is only needed when the teacher edits your module, but is not needed by students, then consider splitting that code into a separate file like mod/mymod/edit.js, and only including it where needed.&lt;br /&gt;
&lt;br /&gt;
==How to achive these general principles in Moodle==&lt;br /&gt;
&lt;br /&gt;
The rest of this page explains how you can achieve the above goals.&lt;br /&gt;
&lt;br /&gt;
===Getting Moodle to load your JavaScript files===&lt;br /&gt;
&lt;br /&gt;
Everything required by the current page is tracked by the $PAGE-&amp;gt;requires object, which is an instance of the [http://phpdocs.moodle.org/HEAD/moodlecore/page_requirements_manager.html page_requirements_manager] class. You use it like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt; &lt;br /&gt;
$PAGE-&amp;gt;requires-&amp;gt;js(&#039;mod/mymod/scripts.js&#039;);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By default, this will put the &amp;amp;lt;script&amp;gt; tag that loads the script at the end of the &amp;amp;lt;body&amp;gt; tag, as recommended. If you really must load the script sooner, use one of the following&lt;br /&gt;
&amp;lt;code php&amp;gt; &lt;br /&gt;
// Load the js file from head.&lt;br /&gt;
// (This will throw an exception if head has already been output.)&lt;br /&gt;
$PAGE-&amp;gt;requires-&amp;gt;js(&#039;mod/mymod/scripts.js&#039;)-&amp;gt;in_head();&lt;br /&gt;
&lt;br /&gt;
// Loads the js file as soon as possible (from head, if that has&lt;br /&gt;
// not been output yet, otherwise output the script tag right here.)&lt;br /&gt;
echo $PAGE-&amp;gt;requires-&amp;gt;js(&#039;mod/mymod/scripts.js&#039;)-&amp;gt;asap();&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
$PAGE-&amp;gt;requires keeps track of which files have been included, so even if two different pieces of code request the same library, it is only loaded once.&lt;br /&gt;
&lt;br /&gt;
===Getting Moodle to load YUI libraries===&lt;br /&gt;
&lt;br /&gt;
Because YUI is the official JavaScript library for Moodle, there  is a short cut syntax for loading the YUI libraries.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
$PAGE-&amp;gt;requires-&amp;gt;yui_lib(&#039;autocomplete&#039;);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This knows about the dependencies between the JavaScript libraries, so the above code will actually load the five libraries yahoo, dom, event, datasource and autocomplete. It will also load the required CSS file autocomplete/assets/skins/sam/autocomplete.css.&lt;br /&gt;
&lt;br /&gt;
Because some YUI libraries rely on associated CSS, and because CSS can only be included in the &amp;amp;lt;head&amp;gt; section of the HTML, you should try to call $PAGE-&amp;gt;requires-&amp;gt;yui_lib before &amp;amp;lt;head&amp;gt; is output, if at all possible. If your code does try to require a YUI library after the header has been printed, and if that YUI library requires some CSS, and exception will be thrown explaining the problem, so you will know it happened.&lt;br /&gt;
&lt;br /&gt;
===JavaScript coding style===&lt;br /&gt;
&lt;br /&gt;
Moodle JavaScript code should should follow the same [[Development:Coding_style|coding style as Moodle PHP code]], allowing for the differences between PHP and JavaScript.&lt;br /&gt;
&lt;br /&gt;
For example, all the rules on &#039;&#039;function_names&#039;&#039;, &#039;&#039;class_names&#039;&#039; and &#039;&#039;variablenames&#039;&#039; apply. You should document your code with [http://jsdoc.sourceforge.net/ JSDoc] comments. Layout your JavaScript expressions and statements like the equivalent PHP ones.&lt;br /&gt;
&lt;br /&gt;
Normally, your .js files should simply define things like functions, classes and variables. When the file is loaded, no JavaScript code should actually be executed that has any effect unless it is the sort of code that can safely be executed once per HTML page. This is so that it plays nicely with the require_once-like behaviour of $PAGE-&amp;gt;requires-&amp;gt;js.&lt;br /&gt;
&lt;br /&gt;
Try to add as few things as possible to the global JavaScript name-space - use a few objects in the global name-space with properties and methods.&lt;br /&gt;
&lt;br /&gt;
(An extreme example of this practice is the YUI libraries which only add a single YAHOO object to the global scope and put everything inside that. Moodle code does not need to go to that extreme - and do not add Moodle-specific code to the YAHOO namespace!)&lt;br /&gt;
&lt;br /&gt;
===Activating your JavaScript===&lt;br /&gt;
&lt;br /&gt;
Since your .js files should not actually do anything when they are loaded, you need some way to trigger them into action. Normally the best way to do this is to put a simple inline script in the HTML that just calls an initialisation function. Typically, you want the HTML page you generate to look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code xml&amp;gt;&lt;br /&gt;
&amp;lt;!-- HTML code that will work with JavaScript disabled,&lt;br /&gt;
     perhaps with an id=&amp;quot;mything&amp;quot; attribute on the main HTML tag. --&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
    init_my_script(&#039;perhaps some data&#039;, &#039;for example&#039;, &#039;mything&#039;);&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The best way to generate this initialisation script is to use another feature of $PAGE-&amp;gt;requires:&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
$PAGE-&amp;gt;requires-&amp;gt;js_function_call(&#039;init_my_script&#039;,&lt;br /&gt;
        array(&#039;perhaps some data&#039;, &#039;for example&#039;, &#039;mything&#039;));&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once again, by default the &amp;amp;lt;script&amp;gt; tag will be generated at the end of the HTML, but you can change that with modifiers like -&amp;gt;asap() or -&amp;gt;on_dom_ready() (which uses the YUI onDomReady event). Note that the data passed from PHP to JavaScript is automatically escaped using json_encode, so you can pass arrays, objects, and strings containing special characters without worrying.&lt;br /&gt;
&lt;br /&gt;
===Getting more variables from PHP to JavaScript===&lt;br /&gt;
&lt;br /&gt;
The arguments you pass to the initialisation function are one way to get specific data from your PHP code to your JavaScript. However, when you need to initialise several things on the page and they all need the same data, there is a better way:&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
$data = array(&lt;br /&gt;
    &#039;value1&#039; =&amp;gt; $value1,&lt;br /&gt;
    &#039;value2&#039; =&amp;gt; $value2,&lt;br /&gt;
);&lt;br /&gt;
$PAGE-&amp;gt;requires-&amp;gt;data_for_js(&#039;mymod_config&#039;, $data);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you do that, then in JavaScript, mymod_config.value1 will contain the value of the PHP variable $value1.&lt;br /&gt;
&lt;br /&gt;
===Getting language strings from PHP to JavaScript===&lt;br /&gt;
&lt;br /&gt;
One type of value you frequently need to get from PHP to JavaScript is the translation of some language strings into the current language. Because this is a common requirement, there is a special syntax for this:&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
$PAGE-&amp;gt;requires-&amp;gt;string_for_js(&#039;tooltip&#039;, &#039;mymod&#039;);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
If you make this call, then the JavaScript variable mstr.mymod.tooltip will hold the value of get_string(&#039;tooltip&#039;, &#039;mymod&#039;).&lt;br /&gt;
&lt;br /&gt;
===Different in content when JavaScript is on or off===&lt;br /&gt;
&lt;br /&gt;
Remember the overriding principals that everything should work with JavaScript off, and we should adopt a [[Progressive enhancement]] approach. However, there are valid reasons why sometimes you need different content with JavaScript is on or off. We can break it down into three cases:&lt;br /&gt;
&lt;br /&gt;
====Content that should only be visible with JavaScript off====&lt;br /&gt;
&lt;br /&gt;
An example of this is the automatic search when you are looking for a user to assign a role to. With JavaScript on, the search automatically starts after a delay. With JavaScript off, we want an explicit Search button visible.&lt;br /&gt;
&lt;br /&gt;
To handle this case, Moodle automatically add a class &#039;jsenabled&#039; to the body tag using JavaScript. So you just need to add a rule like&lt;br /&gt;
&amp;lt;code css&amp;gt;&lt;br /&gt;
body.jsenebled .mywidget .submitbutton {&lt;br /&gt;
    display: none;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
to the stylesheet, and the button will be invisible if JavaScript is enabled.&lt;br /&gt;
&lt;br /&gt;
An alternative strategy is to remove the particular bits of HTML from the page using DOM methods. However, if your JavaScript is only loaded at the end of the page, it may take some time for the extra content to disappear, which leads to a disconcerting flicker in the page.&lt;br /&gt;
&lt;br /&gt;
Yet another approach is the old-fashioned &amp;lt;noscript&amp;gt; tag.&lt;br /&gt;
&lt;br /&gt;
====Content that needs to be visible right away when JavaScript is on====&lt;br /&gt;
&lt;br /&gt;
An example is the &amp;lt;nowiki&amp;gt;[+] or [-]&amp;lt;/nowiki&amp;gt; icon that can be used to expand/collapse each block if JavaScript is on.&lt;br /&gt;
&lt;br /&gt;
We can divide this into two subcases:&lt;br /&gt;
&lt;br /&gt;
=====Content generated by PHP code=====&lt;br /&gt;
&lt;br /&gt;
Where the HTML for the JavaScript only widget is generated by PHP, we can make it invisible when JavaScript is off using just CSS:&lt;br /&gt;
&amp;lt;code css&amp;gt;&lt;br /&gt;
.mywidget {&lt;br /&gt;
    display: none;&lt;br /&gt;
}&lt;br /&gt;
body.jsenabled .mywidget {&lt;br /&gt;
    display: block;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
However, it could be argued that this approach is not really progressive enhancement.&lt;br /&gt;
&lt;br /&gt;
=====Content generated by JavaScript code=====&lt;br /&gt;
&lt;br /&gt;
This is more in keeping with progressive enhancement, and this is the way that the expand/collapse block icon is handled.&lt;br /&gt;
&lt;br /&gt;
We build the icon using DOM methods. The only problem is that as the JavaScript is loaded in the footer, there is a small delay before the icons appear. Since when the icons appear, they do not cause other content on the page to move around, that is OK. Also, this delayed appearance is becoming more common on the web. For example, on http://twitter.com/, some things only appear a moment after the main part of the page has finished loading.&lt;br /&gt;
&lt;br /&gt;
However, it the delayed appearance is really a problem, then the only solution is to embed the JavaScript that generates the extra content in the middle of the HTML, using $PAGE-&amp;gt;requires-&amp;gt;js_function_call(...)-&amp;gt;now();.&lt;br /&gt;
&lt;br /&gt;
====Content that only appears when the user does something, when JavaScript is on====&lt;br /&gt;
&lt;br /&gt;
An example of this is something like file picker dialog that appears when you add an image to some content in the HTML editor, or the one that pops up when you click &#039;Add new question&#039; in the quiz editing interface.&lt;br /&gt;
&lt;br /&gt;
We have the same two sub-cases:&lt;br /&gt;
&lt;br /&gt;
=====Content generated by PHP code=====&lt;br /&gt;
&lt;br /&gt;
In this case, you need to make sure the content is always covered by a display: none; rule in the CSS, but then when the user takes an action like clicking a button to reveal the extra content, you need to override that class name some how, perhaps my adding or removing a className using JavaScript.&lt;br /&gt;
&lt;br /&gt;
=====Content generated by JavaScript code=====&lt;br /&gt;
&lt;br /&gt;
In this case, there is no problem. When the use triggers the extra content to appear, it is constructed using DOM methods. There may be a tiny delay, but the chances are that it will hardly be noticeable to the human eye.&lt;br /&gt;
&lt;br /&gt;
In the content generation may be slow (perhaps because it is waiting for an Ajax request) then you should display a progress icon. See, for example, the loading of the tooltip for help icons.&lt;br /&gt;
&lt;br /&gt;
===Don&#039;t break XHTML strict!===&lt;br /&gt;
&lt;br /&gt;
Remember that all Moodle output must be [[Development:XHTML|XHTML strict]], and that means that the HTML output must be well-formed XML. Inline JavaScript is a great way to break that. (JavaScript uses the &amp;lt; and &amp;amp; symbols that must be escaped in XML.) Therefore any JavaScript inline in the HTML should be escaped in a CDATA section:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code xml&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
//&amp;lt;![CDATA[&lt;br /&gt;
&lt;br /&gt;
   // Your JavaScript code goes here.&lt;br /&gt;
&lt;br /&gt;
//]]&amp;gt;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Of course, if you are following the above guidelines and putting most of your JavaScript in separate .js files, and using $PAGE-&amp;gt;requiers-&amp;gt;js_function_call/string_for_js/data_for_js for the rest, then you do not need to worry about this section.&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
&lt;br /&gt;
JavaScript support varies a lot between browsers. JavaScript needs to be tested in IE, Firefox and Safari. Ideally, Moodle will support [http://developer.yahoo.com/yui/articles/gbs/ all the browsers that YUI does].&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[Development:Coding|The rest of Moodle coding guidelines]]&lt;br /&gt;
* [http://developer.yahoo.com/yui/ YUI documentation]&lt;br /&gt;
* [[Javascript FAQ]]&lt;br /&gt;
* [[Development:Unobtrusive Javascript]]&lt;br /&gt;
* [[Development:JavaScript functions]]&lt;br /&gt;
* [http://developer.yahoo.com/performance/rules.html Yahoo&#039;s Best Practices for Speeding Up Your Web Site]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=106312 Forum thread for discussing this proposal]&lt;br /&gt;
&lt;br /&gt;
[[Category:Coding guidelines|JavaScript guidelines]]&lt;br /&gt;
[[Category:Javascript|JavaScript guidelines]]&lt;br /&gt;
[[Category:AJAX|JavaScript guidelines]]&lt;br /&gt;
&lt;br /&gt;
[[ja:開発:Javaスクリプトガイドライン]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Course_backup&amp;diff=61542</id>
		<title>Course backup</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Course_backup&amp;diff=61542"/>
		<updated>2009-08-13T15:51:59Z</updated>

		<summary type="html">&lt;p&gt;Topstone: update link to es:&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Course admin}}&lt;br /&gt;
A course can be saved with some or all of its parts by using the course backup.  Typically, the site administrator will set a schedule of site wide backup for all courses.  A teacher with editing privileges can create a backup or download an existing backup for safe keeping, or for use on another Moodle site.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Creating a course backup==&lt;br /&gt;
[[Image:Course_backup.jpg|thumb|Creating a course backup - page 1]][[Image:Course_backup_s2.jpg|thumb|Creating a course backup - page 2]][[Image:Course_backup_s3.jpg|thumb|Creating a course backup - page 3]]&lt;br /&gt;
To create a course backup:&lt;br /&gt;
#Click Backup in the [[Course administration block]].&lt;br /&gt;
#Select your backup options (Page 1)&lt;br /&gt;
##Choose the activities and resources you want to include, the default is everything.  &lt;br /&gt;
###The Include All/None links at the top will check or uncheck all the boxes in a column. &lt;br /&gt;
###Use the individual boxes to select or unselect specific parts of the course for the backup. &lt;br /&gt;
##Select course options desired at the bottom (see Backup options below)&lt;br /&gt;
#Click the Continue button to start the backup process.&lt;br /&gt;
#On the next page (Page 2)&lt;br /&gt;
##You can edit the default backup filename at the top of this page (uses format:backckup-COURSESHORTNAME-DATE-TIME.zip).&lt;br /&gt;
##You will see the backup details, a list of files and user data that Moodle will include in the backup &lt;br /&gt;
#Click the Continue button at the bottom. Or if this does not look right, use cancel to exit the backup process or use your back browser arrow to return to the initial course backup page.&lt;br /&gt;
#On the next page (Page 3), the progress of the backup is displayed.&lt;br /&gt;
##You should see the message &amp;quot;Backup completed successfully&amp;quot; at the bottom of the page. &lt;br /&gt;
#Click the Continue button.&lt;br /&gt;
#You will then be taken to the backupdata directory. &lt;br /&gt;
##You may click on a filename to download any backup file to your computer.&lt;br /&gt;
## Later this area can be reached by the Course administration block by using the Restore link or looking for what is usually called the backupdata folder under the Files link.&lt;br /&gt;
&lt;br /&gt;
==Backup options==&lt;br /&gt;
* User data -consists of all student files, submissions, forum postings, glossary entries, etc.&lt;br /&gt;
* Metacourse - If you are backing up the content of a [[Metacourses|metacourse]], you may enable this option so that relations between the courses will be exported and the restore process will try to rebuild them in the destination server.&lt;br /&gt;
* Users - Whether you want to backup the content concerning all the registered students in your site, only course students or no students at all. By selecting &amp;quot;none&amp;quot;, the backup process will not backup user data&lt;br /&gt;
* Logs - This backs up all course activity logs.&lt;br /&gt;
* User files - This backs up all student submissions for assignments and other file uploads. &lt;br /&gt;
* Course files - This backs up any file stored in the [[Files|files]] area for the course.&lt;br /&gt;
&lt;br /&gt;
==Creative uses==&lt;br /&gt;
The backup and restore processes can offer the teacher and administrators many creative solutions.&lt;br /&gt;
*Duplicating courses or specific activities in one course to another course (similar to Import)&lt;br /&gt;
*Updating a production Moodle site course, with material from a localhost site course&lt;br /&gt;
*Transferring a course to a new Moodle site.&lt;br /&gt;
*In earlier versions of Moodle, a way of rolling a course forward without past student activity&lt;br /&gt;
*Creating a blank activity, save just that activity and then restore it to the course or another course one or more times. &lt;br /&gt;
:&#039;&#039;Note:&#039;&#039; The Moodlesite may automatically make and delete backups. For example, it may backup each individual course daily, but not keep any of these backups longer than 5 days. Manual backups by the teacher are usually not effected by this process.  &lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Restore]]&lt;br /&gt;
*[[Backup settings]] - for administrators&lt;br /&gt;
*[[Backup and restore FAQ]]&lt;br /&gt;
*[[Roll courses forward]]&lt;br /&gt;
*[[Front Page]] trick to backup Front page in earlier version of Moodle&lt;br /&gt;
*[http://www.youtube.com/watch?v=ZrdM_KOr530 Creating course backups video]&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=59581 Location of Backup Files] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category:Backup]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Sauvegarde de cours]]&lt;br /&gt;
[[es:Copia de Seguridad del Curso]]&lt;br /&gt;
[[ca:backup/backup]]&lt;br /&gt;
[[ja:コースバックアップ]]&lt;br /&gt;
[[de:Kurssicherung]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Can_not_log_in&amp;diff=61464</id>
		<title>Can not log in</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Can_not_log_in&amp;diff=61464"/>
		<updated>2009-08-12T13:13:09Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If you are having problems logging into a Moodle site then you should check a couple of things.&lt;br /&gt;
&lt;br /&gt;
==Correct username and password==&lt;br /&gt;
Have you typed the Username and Password in correctly, exactly as it was given to you?&lt;br /&gt;
:Example: your name is Chris Smith&#039;&#039;&#039;e&#039;&#039;&#039;, but the username you were given is&lt;br /&gt;
::csmith  &lt;br /&gt;
::chris.smith&lt;br /&gt;
&lt;br /&gt;
:Example: your name is Chris O&#039;Brien, but the username you were given is&lt;br /&gt;
::cobrien&lt;br /&gt;
&lt;br /&gt;
*Solutions: Look closely. Or ask your teacher or site administrator to change your user name.  Or ask them to login using the name and password you were given.  &lt;br /&gt;
&lt;br /&gt;
==Case sensitive==&lt;br /&gt;
Remember that the username and password can be case sensitive.&lt;br /&gt;
:Moodle is different than &lt;br /&gt;
::&#039;&#039;&#039;m&#039;&#039;&#039;oodle  &lt;br /&gt;
::m&#039;&#039;&#039;OO&#039;&#039;&#039;dlE&lt;br /&gt;
&lt;br /&gt;
==Alpha or numeric==&lt;br /&gt;
Remember to look closely at what you were given.   &lt;br /&gt;
:moodle is different than&lt;br /&gt;
::mood&#039;&#039;&#039;1&#039;&#039;&#039;e (number one instead of L)&lt;br /&gt;
::m&#039;&#039;&#039;00&#039;&#039;&#039;dle  (number zero instead of O )&lt;br /&gt;
&lt;br /&gt;
Solutions: use a view zoom feature to increase the size of the fonts so the difference between a O and 0 or l and 1 can be seen. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Caps lock key on==&lt;br /&gt;
Is the Caps-Lock key on your keyboard ON? You could be typing CHRIS instead of chris.&lt;br /&gt;
&lt;br /&gt;
*Solution: check the caps-lock light on your keyboard. &lt;br /&gt;
&lt;br /&gt;
==Cookies==&lt;br /&gt;
Cookies must be turned on in your browser. &lt;br /&gt;
&lt;br /&gt;
*Solution: this setting sometimes can be found in your browser menu bar under tools&amp;gt;options&amp;gt;privacy.&lt;br /&gt;
&lt;br /&gt;
==Correct Moodle==&lt;br /&gt;
Are you on the right Moodle?  Many Moodle login screens look the same. &lt;br /&gt;
&lt;br /&gt;
*Solution: look at the URL address bar in your browser.   &lt;br /&gt;
:&amp;lt;nowiki&amp;gt;http://localhost &amp;lt;/nowiki&amp;gt;  is different than&lt;br /&gt;
:&amp;lt;nowiki&amp;gt;http://ProductionMoodle.org&amp;lt;/nowiki&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==Do you have an user name==&lt;br /&gt;
Has someone with authority issued you a Username and Password?&lt;br /&gt;
&lt;br /&gt;
*Solution: Try lost password link or contact your teacher or site administrator.&lt;br /&gt;
&lt;br /&gt;
==Lost password link==&lt;br /&gt;
You may be able to follow the &#039;lost password&#039; link in the log on block of the &#039;send me details via email&#039; button.&lt;br /&gt;
&lt;br /&gt;
==Be kind==&lt;br /&gt;
Sometimes mistakes happen. Tell your site administrator you went over this checklist and you could not login.  &lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Administration_FAQ#I_have_forgotten_the_admin_password | Administration FAQ - Forgotten the admin password]]&lt;br /&gt;
*[[Beginning Administration FAQ]]&lt;br /&gt;
*[[Log in]]&lt;br /&gt;
[[ja:ログインできません]]&lt;br /&gt;
[[ru:Проблемы с авторизацией]]&lt;br /&gt;
[[zh:不能登录]]&lt;br /&gt;
[[de:Probleme beim Anmelden]]&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
[[Category:Student]]&lt;br /&gt;
[[Category:Administrator]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Category:Student&amp;diff=61463</id>
		<title>Category:Student</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Category:Student&amp;diff=61463"/>
		<updated>2009-08-12T13:09:44Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An index of documentation pages for &#039;&#039;&#039;students&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
[[fr:Catégorie:Étudiant]]&lt;br /&gt;
[[ja:Category:学生]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Category:XMLDB&amp;diff=59280</id>
		<title>Category:XMLDB</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Category:XMLDB&amp;diff=59280"/>
		<updated>2009-07-03T16:48:25Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An index of &#039;&#039;&#039;XML database&#039;&#039;&#039; documentation pages.&lt;br /&gt;
&lt;br /&gt;
[[Category:Developer|XMLDB]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Catégorie:XMLDB]]&lt;br /&gt;
[[ja:Category:XMLDB]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Development:Database_Schema&amp;diff=59279</id>
		<title>Development:Database Schema</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Development:Database_Schema&amp;diff=59279"/>
		<updated>2009-07-03T16:41:54Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The files available here are in [http://fabforce.net/dbdesigner4/ DBDesigner4] format. DBDesigner4 is a schema drawing program released under GPL.&lt;br /&gt;
&lt;br /&gt;
The database schemas have been put together by [http://moodle.org/user/view.php?id=11101&amp;amp;course=11 Alberto Giampani], [http://moodle.org/user/view.php?id=192442&amp;amp;course=11 Dario Toledo] and [http://moodle.org/user/view.php?id=305352&amp;amp;course=5 Isaac Cueto]. We are also discussing a means of creating them automatically from the new XMLDB definitions with an XML transform.&lt;br /&gt;
&lt;br /&gt;
Discussion of the database schemas happens either in the forum of the relevant module, or in the [http://moodle.org/mod/forum/view.php?id=45 Databases forum].&lt;br /&gt;
&lt;br /&gt;
=Moodle 1.8=&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/file.php/5/moddata/forum/28/376698/moodle_1.8_data_structure.rar&lt;br /&gt;
&lt;br /&gt;
=Moodle 1.7=&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/file.php/11/moddata/forum/110/268325/db-edudist-Moodle-1.7_.rar&lt;br /&gt;
&lt;br /&gt;
=Moodle 1.5.3=&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/file.php/11/moddata/forum/110/267644/Db-Edudist-Moodle1.5.3-xml.rar&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:XMLDB]]&lt;br /&gt;
[[Category:Developer]]&lt;br /&gt;
[[ja:開発:データベーススキーマ]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Category:Tags&amp;diff=57829</id>
		<title>Category:Tags</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Category:Tags&amp;diff=57829"/>
		<updated>2009-06-10T03:02:18Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An index of documentation pages about [[Tags]], part of the [[Student_projects/Social_Networking_features|Google SOC Social Networking project]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Catégorie:Tags]]&lt;br /&gt;
[[ja:Category:タグ]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Category:Glossary&amp;diff=53959</id>
		<title>Category:Glossary</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Category:Glossary&amp;diff=53959"/>
		<updated>2009-04-04T18:50:37Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An index of articles related to the [[Glossary module]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[es:Categor%C3%ADa:Glosario]]&lt;br /&gt;
[[eu:Kategoria:Glosategia]]&lt;br /&gt;
[[fr:Catégorie:Glossaire]]&lt;br /&gt;
[[ja:Category:用語集]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Category:Calendar&amp;diff=53958</id>
		<title>Category:Calendar</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Category:Calendar&amp;diff=53958"/>
		<updated>2009-04-04T18:48:53Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An index of documentation pages about the [[Calendar|calendar]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Catégorie:Calendrier]]&lt;br /&gt;
[[ja:Category:カレンダー]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Category:Formslib&amp;diff=53956</id>
		<title>Category:Formslib</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Category:Formslib&amp;diff=53956"/>
		<updated>2009-04-04T18:44:57Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Category for Formslib related documentation.&lt;br /&gt;
&lt;br /&gt;
[[Category:Developer]]&lt;br /&gt;
&lt;br /&gt;
[[ja:Category:Formslib]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Attendance_activity&amp;diff=53951</id>
		<title>Attendance activity</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Attendance_activity&amp;diff=53951"/>
		<updated>2009-04-04T18:34:04Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are two version of the &#039;&#039;&#039;attendance&#039;&#039;&#039; module: from [http://moodle.org/user/view.php?id=18237 Dmitry Pupinin] and from [http://human-logic.com/ Human Logic].&lt;br /&gt;
Both published in the Using Moodle [http://moodle.org/mod/forum/view.php?f=125 Attendance module forum].&lt;br /&gt;
&lt;br /&gt;
At this time Dmitry&#039;s version is more stable and useful.&lt;br /&gt;
&lt;br /&gt;
[http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=1062 Download daily build of Dmitry&#039;s version]&lt;br /&gt;
&lt;br /&gt;
==Installation by Moodle Administrator==&lt;br /&gt;
&lt;br /&gt;
To install Dmitry&#039;s version of the attendance module, follow these directions (provided by [http://moodle.org/user/view.php?id=40637&amp;amp;course=5 Richard Webb] in [http://moodle.org/mod/forum/discuss.php?d=79134#p436449 this post]).  Installation can only be completed by a user having write access to the file structure on the computer hosting Moodle and with administration rights for your installation of Moodle.&lt;br /&gt;
&lt;br /&gt;
===Language Files===&lt;br /&gt;
&lt;br /&gt;
Moodle has a general language folder with subfolders for installed languages, and language files within these subfolders. This structure allows Moodle to efficiently work in an unlimited variety of languages with relative ease. Every block and module in Moodle has its own language strings that must be defined in a language file with a name specified by the block or module. &amp;quot;In the old days&amp;quot; (meaning prior to Moodle 1.9) the language files for each mod or block were copied into the appropriate subfolders in the &amp;lt;code&amp;gt;moodle/lang/&amp;lt;/code&amp;gt; folder. This still works, but can be tedious and is not the preferred method anymore.&lt;br /&gt;
&lt;br /&gt;
Newer versions of Moodle (1.9 and up) allow you to keep the language files with the mods and blocks so they are self-contained and you don&#039;t have to do so much work with language files. Older versions of the Attendance module did not have all language files correctly placed resulting in tags that say &amp;lt;nowiki&amp;gt;[[attendance]]&amp;lt;/nowiki&amp;gt;.  As of June 20, 2008, the problem has been resolved.  If you are having problems with the language files for the Attendance module, it is recommended that you download the latest version and replace your current installation as described below.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Additional Language Considerations&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You might consider editing the &amp;lt;code&amp;gt;block_attendance_for_v19/mod/attforblock/lang/en_utf8/attforblock.php&amp;lt;/code&amp;gt; language file and replacing each occurrence of &#039;Attendances&#039; with &#039;Attendance&#039;. Some dictionaries   say that attendances is the plural form of attendance while others say there is no plural form.&lt;br /&gt;
&lt;br /&gt;
Note that the &#039;&#039;&#039;date format&#039;&#039;&#039; is controlled by the language file you install.  If you prefer Month/Day/Year format, for example, you will want to use the US_en language file found in the block folder.&lt;br /&gt;
&lt;br /&gt;
You can easily edit the date format yourself, if you so desire.  These strings show the M/D/Y format.&lt;br /&gt;
&lt;br /&gt;
 $string[&#039;strftimedm&#039;] = &#039;%%m.%%d&#039;;&lt;br /&gt;
 $string[&#039;strftimedmy&#039;] = &#039;%%m.%%d.%%Y&#039;;&lt;br /&gt;
 $string[&#039;strftimedmyw&#039;] = &#039;%%m.%%d.%%y&amp;amp;nbsp;(%%a)&#039;;&lt;br /&gt;
 $string[&#039;strftimeshortdate&#039;] = &#039;%%m.%%d.%%Y&#039;;&lt;br /&gt;
&lt;br /&gt;
===Mod and Block Installation===&lt;br /&gt;
&lt;br /&gt;
If you look at your Moodle installation, you will see that among the many subfolders in the Moodle folder you have folders named &amp;lt;code&amp;gt;blocks/&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;mod/&amp;lt;/code&amp;gt;, matching the two folders in the &amp;lt;code&amp;gt;block_attendance_for_v19/&amp;lt;/code&amp;gt; folder. Installation is completed by copying the contents of the &amp;lt;code&amp;gt;block_attendance_for_v19/blocks/&amp;lt;/code&amp;gt; folder into your &amp;lt;code&amp;gt;moodle/blocks/&amp;lt;/code&amp;gt; folder (so you have a &amp;lt;code&amp;gt;moodle/blocks/attendance/&amp;lt;/code&amp;gt; folder with all of the files and subfolders copied as well) and likewise copying the contents of the &amp;lt;code&amp;gt;block_attendance_for_v19/mod&amp;lt;/code&amp;gt; folder into your &amp;lt;code&amp;gt;moodle/mod/&amp;lt;/code&amp;gt; folder. On a Unix system, something like &amp;lt;code&amp;gt;/var/www/moodle19/blocks$ sudo cp -r ~/moodle-modules/attendance/blocks/* . &amp;lt;/code&amp;gt; does the job and similar for the mod directory. Don&#039;t forget to &amp;lt;code&amp;gt;sudo chown -r &amp;lt;user&amp;gt;:&amp;lt;group&amp;gt; attendance&amp;lt;/code&amp;gt; to the same parameters as the other block directories (do a &amp;lt;code&amp;gt;ls -l&amp;lt;/code&amp;gt; to remind yourself).&lt;br /&gt;
&lt;br /&gt;
Once you have completed the installation, you need to log into Moodle as the administrator and go to the admin page.  This will set up the Attendance database structure.&lt;br /&gt;
&lt;br /&gt;
==Using Attendance in a Class by a Teacher==&lt;br /&gt;
&lt;br /&gt;
===Adding Attendance Activity===&lt;br /&gt;
&lt;br /&gt;
After the attendance block and module have been properly installed, you (the teacher) must add attendance as an activity to each course you wish to keep attendance in. This is done by first ensuring that you are in the edit mode and then selecting, &amp;quot;Attendance&amp;quot; from the &amp;quot;Add an activity...&amp;quot; pull-down menu. Note that you may only add the attendance activity once per class and it may be located in any of the section blocks. Because attendance is for the entire course, it seems logical to put it in the top box (the one that always shows).&lt;br /&gt;
&lt;br /&gt;
Once you have added the attendance activity, you are ready to start using the attendance module. However, the section link that was just added in the preceding paragraph is the &amp;quot;clunky way&amp;quot; to work with the attendance module. In fact, it is recommended that you simply hide that link! That way students won&#039;t see it cluttering up the section block where you placed it. Of course, we DO want students to be able to view their attendance records, just not with that link. There is a second, better, way to accomplish this. Select &amp;quot;Attendance&amp;quot; from the pull-down menu in the &amp;quot;Blocks&amp;quot; block. This will create a block with teacher options to take attendance, report on attendance, or change the attendance settings.  The same block will instead have an attendance report for students.&lt;br /&gt;
&lt;br /&gt;
===Setting Attendance Categories and Grading Options===&lt;br /&gt;
&lt;br /&gt;
Now it is time to set your attendance options. Select &amp;quot;Settings&amp;quot; from the attendance block. This brings you to the letters, descriptions, and grade (points) to assign for the four attendance options. By default these are Present, Absent, Late, and Excused. You may prefer to change the descriptions (e.g., change the word Late to Tardy), change the order, or change the way points are counted so make appropriate changes here to the names, order, and grades.  Be sure to click the &amp;quot;Update&amp;quot; button when you are done.&lt;br /&gt;
&lt;br /&gt;
===Adding Sessions===&lt;br /&gt;
&lt;br /&gt;
Next it is time to add sessions. Note that there is a restriction here. You can only have one session per day. Since you can only have one attendance activity installed (which means that you cannot have a lab attendance activity and a lecture attendance activity) and can only have one attendance session per day, if you have more than one class session per day you will have to be creative in taking attendance. And if you have more than seven class sessions for a single class in a week--then you are overworked!&lt;br /&gt;
&lt;br /&gt;
To add class sections, click the &amp;quot;Add&amp;quot; tab (second from left) at the top of the page (if you left the attendance page, select any of the three links from the attendance block to return to the attendance page and gain access to the &amp;quot;Add&amp;quot; tab). You have two options here, to add a single session or to add multiple sessions. The single session is self-explanatory as well as time consuming to use when you have many class sessions so I will go straight the more useful option, how to add multiple sessions. &lt;br /&gt;
&lt;br /&gt;
Under the &amp;quot;Create multiple sessions&amp;quot; label choose the date for the first session you wish to add followed by the date for the last session you wish to add. Next select the days of the week on which the class meets. The final option, frequency, may look confusing but it is actually straight-forward. If your class meets every week (the normal situation) then you want a frequency of 1 week which is the default. If your class meets every other week, then you want a frequency of 2 weeks, and so on. When you click the &amp;quot;Add multiple sessions&amp;quot; button, your sessions will be created and you will see a message indicating this.&lt;br /&gt;
&lt;br /&gt;
===Taking Attendance===&lt;br /&gt;
&lt;br /&gt;
Now head to the attendance tab. Here you see the list of all attendance sessions you have added. You can delete an individual session by clicking the X to the right of it. (Personal note, it sure would be nice if there was an option to select a few sessions and delete them all at once--I use the multiple sessions option to put my sessions in for the entire semester and then have to go and remove sessions for vacation days one at a time.) You can edit a session (change the date or add a description) with the standard hand icon to the right of the session, or you can take attendance for a session by clicking the green radio button to the right of the session. Sessions where attendance has already been taken do not have the green button, but instead the description is a link that takes you to the screen to modify the attendance record for that session.&lt;br /&gt;
&lt;br /&gt;
You will note that when taking attendance the column headings for attendance state are links. If you click one of these column headings, all students will have their status changed to the status you selected. Thus, if everyone is absent (God forbid!), you merely click the &#039;&#039;&#039;A&#039;&#039;&#039; and it will change everyone&#039;s status to absent. If Little Johnny is the only student absent, you would logically click &#039;&#039;&#039;P&#039;&#039;&#039; to set everyone to present and then go down to Little Johnny and change his status to &#039;&#039;&#039;A&#039;&#039;&#039;. Enter remarks as appropriate (e.g., the reason for an absence if known or the minutes late if someone is tardy) and click OK to complete taking record.&lt;br /&gt;
&lt;br /&gt;
===Reports===&lt;br /&gt;
&lt;br /&gt;
Finally, you have the reports. This is, again, obvious. One of my colleagues prefers to take record on paper and transfer it to Moodle. She suggested printing the monthly report before the start of the month and then taking record on this report. It has an added advantage because you have each student&#039;s picture with the record sheet. Of course, that is only useful for students who actually put photos of themselves in for their picture.&lt;br /&gt;
&lt;br /&gt;
A final note here. If you added the attendance block as recommended, you may wonder what it looks like for students. It is completely different--showing a summary of their attendance record and having a single link for them to view the details of their personal attendance. Another reason why I think the attendance block should always be added when you use the attendance module.&lt;br /&gt;
&lt;br /&gt;
==Give advice to developer==&lt;br /&gt;
Have idea about new features? You need something? Please write at [[Attendance module requests]] page!&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [http://moodle.org/mod/forum/view.php?f=125 Attendance module forum]&lt;br /&gt;
* [http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=1062 Download Dmitry&#039;s version] of module&lt;br /&gt;
* [[Attendance block]] page&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
&lt;br /&gt;
[[ja:出欠]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Category:Contributed_code&amp;diff=53950</id>
		<title>Category:Contributed code</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Category:Contributed_code&amp;diff=53950"/>
		<updated>2009-04-04T18:31:57Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An index of documentation pages about contributed code.&lt;br /&gt;
&lt;br /&gt;
Contributed code, or &amp;quot;contrib&amp;quot; for short, is understood to be all code contributed to Moodle which is not included in the standard Moodle distribution. Code included in the standard Moodle distribution is known as &amp;quot;Core&amp;quot; code and is stored in the [http://cvs.moodle.org/moodle/ moodle cvs folder]. Contributed code is usually stored in the [http://cvs.moodle.org/contrib/ contrib cvs folder].&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Installing contributed modules or plugins]]&lt;br /&gt;
*[[Contributed code FAQ]]&lt;br /&gt;
*[[Development:Guidelines for contributed code]]&lt;br /&gt;
*[[Development:contrib]]&lt;br /&gt;
*[http://moodle.org/mod/data/view.php?id=6009 Modules and plugins database]&lt;br /&gt;
&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Developer]]&lt;br /&gt;
&lt;br /&gt;
[[eu:Kategoria:Kode ezestandarra]]&lt;br /&gt;
[[ja:Category:ブロック ( 非標準 )]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Category:Environment&amp;diff=50635</id>
		<title>Category:Environment</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Category:Environment&amp;diff=50635"/>
		<updated>2009-02-10T14:20:56Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An index of Moodle [[Environment|environment]] documentation pages.&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[ja:Category:動作環境]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Category:Security&amp;diff=50634</id>
		<title>Category:Security</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Category:Security&amp;diff=50634"/>
		<updated>2009-02-10T14:19:19Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An index of pages about [[Security|Moodle security]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[eu:Kategoria:Segurtasuna]]&lt;br /&gt;
[[ja:Category:セキュリティ]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Category:Administrator&amp;diff=48473</id>
		<title>Category:Administrator</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Category:Administrator&amp;diff=48473"/>
		<updated>2008-12-26T07:13:49Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An index of documentation pages for &#039;&#039;&#039;administrators&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
[[es:Categoría:Administrador]]&lt;br /&gt;
[[fr:Catégorie:Administrateur]]&lt;br /&gt;
[[ja:Category:管理者]]&lt;br /&gt;
[[ru:Категория:Администратору]]&lt;br /&gt;
[[pl:Kategoria:Administrator]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Installations_1000_plus&amp;diff=46481</id>
		<title>Installations 1000 plus</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Installations_1000_plus&amp;diff=46481"/>
		<updated>2008-11-08T02:06:36Z</updated>

		<summary type="html">&lt;p&gt;Topstone: /* Japan */ Osaka International University&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page has descriptions and links by country to Moodle sites with between 1000 and 5000 users.&lt;br /&gt;
{{Template:Large Installations}}&lt;br /&gt;
&lt;br /&gt;
==Australia==&lt;br /&gt;
&lt;br /&gt;
*Monte Sant&#039; Angelo Mercy College - [http://montenet.monte.nsw.edu.au MonteNet] is used as our colleges student intranet and e-learning portal. Currently running 1.6dev with a few extra custom features thrown in.&lt;br /&gt;
&lt;br /&gt;
*Monte Sant&#039; Angelo Mercy College - [http://compass.monte.nsw.edu.au Compass] takes moodle and uses it for a purpose that is a little outside the square. Compass is used as the staff intranet. Each course is refered to as a &amp;quot;Space&amp;quot; and is used by each departmentr to store meating minutes, agendas and teaching documentation. Communications tools such as forums allow to facilitate better teacher communication and the events are used to keep the teachers events online and targeted (e.g. year 9 teachers all know when excursions are on, all english teachers know when reports are due, etc).&lt;br /&gt;
&lt;br /&gt;
*Vermont Secondary College - [http://moodle.vermontsc.vic.edu.au] is used as the college intranet, portal and eLearning since 2004. There are approximately 1500 users consisting of teachers and years 7-12 students. Although using Moodle is an option, over 180 courses have been created across all learning areas and staff administration. All events within the college are constantly being added to the calendar to inform the school community.&lt;br /&gt;
&lt;br /&gt;
*Saint Ignatius&#039; College, Riverview - [http://www.riverview.nsw.edu.au ] - Jesuit College in Sydney, Australia, with 1,600 students. Adopted Moodle in 2007.&lt;br /&gt;
&lt;br /&gt;
==Belgium==&lt;br /&gt;
&lt;br /&gt;
*[http://www.ritacollege.be Sint-Ritacollege] We are a school for 12-18 year old students.  Currently our database contains about 1600 active users and 130 courses. Always running latest Moodle code since version 1.0.8.&lt;br /&gt;
&lt;br /&gt;
==Catalonia==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*[http://www.iesterrassa.cat/ IES de TERRASSA ] - [http://moodle.iesterrassa.cat MOODLE de l&#039;IES de TERRASSA] - Institut d&#039;Enseyament Secundari de Terrassa. Tenim més de 1300 usuaris.&lt;br /&gt;
&lt;br /&gt;
==Croatia (Hrvatska)==&lt;br /&gt;
&lt;br /&gt;
*Faculty of Philosophy in Zagreb - [http://omega.ffzg.hr Omega sustav ucenja na daljinu] is used as our faculty-wide e-learning system. Currently running 1.8.2 stable with more than 4400 users and 300+ courses. LDAP authorization.&lt;br /&gt;
&lt;br /&gt;
==Czech Republic==&lt;br /&gt;
&lt;br /&gt;
*Faculty of Arts, Masaryk University, Brno - [http://www.phil.muni.cz/elf/ ELF], 16,000+ users total, 4,000+ active users in Spring Term 2006, 600+ courses; using Moodle from April 2003.&lt;br /&gt;
&lt;br /&gt;
==Finland==&lt;br /&gt;
&lt;br /&gt;
*Tampere Polytechnic or Tampereen ammattikorkeakoulu ([http://www.tamk.fi www.tamk.fi]), is a around 5000 student college or &amp;quot;a university of applied sciences&amp;quot; located at Tampere, Finland. Our moodle installation hosts around 2500 active students.&lt;br /&gt;
&lt;br /&gt;
==India==&lt;br /&gt;
* [http://www.doeaccmantra.com DOEACCMantra] is a website for [http://www.doeaccmantra.com DOEACC] students currently (as of July 2007) having 44 courses, 4928 users and 5965 posts.&lt;br /&gt;
&lt;br /&gt;
==Italy==&lt;br /&gt;
&lt;br /&gt;
* University of Rome &amp;quot;Roma Tre&amp;quot; - [http://ltaonline.learning.uniroma3.it/ Laboratorio di Tecnologie Audiovisive] hosts two faculties with more than 1600 students.&lt;br /&gt;
&lt;br /&gt;
==Japan==&lt;br /&gt;
&lt;br /&gt;
* Future University-Hakodate - [http://vle.c.fun.ac.jp/moodle/]&lt;br /&gt;
&lt;br /&gt;
* Kyoto Sangyo University - [http://www3.kyoto-su.ac.jp/index-e.html] First university in Japan to completely host all courses in Moodle.&lt;br /&gt;
&lt;br /&gt;
* Osaka International University - [http://moodle.oiu.ac.jp/] Over 3000 users.&lt;br /&gt;
&lt;br /&gt;
* Sapporo Gakuin University - [http://elearning.sgu.ac.jp] About 40 active courses using Moodle, plus 150 courses using it for attendance taking.  Over 3000 registered users.  Now using LDAP, so all 5000 students can login with their standard school ID and password.  1000 students take an English placement test using Moodle upon entrance to the school.&lt;br /&gt;
&lt;br /&gt;
==Netherlands==&lt;br /&gt;
&lt;br /&gt;
* We are a 5000 people school, one server, 9 locations and using Moodle for almost three years now: https://studiewijzerplus.nl Every schoolyear we start again with counting the number of users and the automatic counter (thanks Penny!) is now pointing at 3103&lt;br /&gt;
&lt;br /&gt;
==Norway==&lt;br /&gt;
&lt;br /&gt;
* ASP Hedmark - [http://pdl.asp-hedmark.no/ pdl.asp-hedmark.no] Region with 20 primary and lower-secondary schools have an installation with something above 2000 users. PDL=Platform for Digital Learning.&lt;br /&gt;
&lt;br /&gt;
== Russia ==&lt;br /&gt;
*Moscow State Institute of International Relations (University) - distance education programme [http://www.globalcompetence.ru Management of Global Processes]&lt;br /&gt;
&lt;br /&gt;
==Spain==&lt;br /&gt;
*[http://www.cicei.com CICEI] - Center of Innovation for the Information Society. We have a production [http://cursos.cicei.com Moodle server] having currently 1,042 users in 72 courses covering a wide range of applications (as of February 6, 2006).&lt;br /&gt;
&lt;br /&gt;
==Switzerland==&lt;br /&gt;
&lt;br /&gt;
*[http://moodle.fri-tic.ch/ Centre fri-tic] - Center for ICT Integration of Canton de Fribourg. Currently running 1 moodle for teachers and students from k-12 to High school, with more than 2000 users and about 130 courses. The [http://www.fri-tic.ch/ Centre fri-tic] is also hosting 9 other moodle installations for specific schools.&lt;br /&gt;
&lt;br /&gt;
==United Kingdom==&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.altoncollege.ac.uk/ Alton College] - a Beacon sixth form college with over 2,500 active users.&lt;br /&gt;
&lt;br /&gt;
* [http://egglescliffe.org.uk/ Egglescliffe School and Sixth Form] - a specialist arts school with over 2,000 active moodlers and 345 courses whose usage was the basis of this [http://education.guardian.co.uk/elearning/story/0,,1583832,00.html Guardian article]&lt;br /&gt;
&lt;br /&gt;
* [http://vle.gloscol.ac.uk/ Gloucestershire College] - a general FE college in the south west, with nearly five thousand users and nearly eight hundred users, we have presented at many Moodle events in the UK. &lt;br /&gt;
&lt;br /&gt;
* [http://learn.gold.ac.uk Goldsmiths College, London] - over 2,500 active users. See also this [http://www.alt.ac.uk/altc2004/timetable/abstract.php?abstract_id=270 presentation at a 2004 conference].&lt;br /&gt;
&lt;br /&gt;
*  [https://moodle.plumsteadmanor.com/ Plumstead Manor School] - A specialist Sports, Performing arts and Vocational secondary school in South East London. 1,700 active students.&lt;br /&gt;
&lt;br /&gt;
* [http://www.thanet.ac.uk/ Thanet College] - a &amp;quot;medium sized general FE college&amp;quot;, using Moodle as documented in [http://ferl.becta.org.uk/display.cfm?resID=13423 this Ferl case study]&lt;br /&gt;
&lt;br /&gt;
* [http://www.westnotts.ac.uk West Nottingahmshire College] - an FE college in the East Midlands.&lt;br /&gt;
&lt;br /&gt;
* [http://www.lifeintheuk.org Prepare: Life in the United Kingdom Test] - a free website dedicated to Life in the UK Test.&lt;br /&gt;
&lt;br /&gt;
==United States of America==&lt;br /&gt;
*[http://www.glyphdoctors.com Glyphdoctors] is a site with over 1200 registered users (as of Feb. 2006) on a shared server host, [http://www.opensourcehost.com Open Source Host]. It will offer online courses in Egyptology and Egyptian hieroglyphs to the general public. Currently, there is one free public course available and a course in Egyptian hieroglyphs under beta testing with a small number of students.&lt;br /&gt;
&lt;br /&gt;
*[http://moodle.mcm.edu/ McMurry University]has several Moodle instances, the first begun as a pilot project in June, 2005.  McMurry is a small (1400 FTE) undergraduate-only institution affiliated with the United Methodist church.  Currently the main instance supports 1700 users (650 active), some 60 instructors, and approximately 180 active courses.&lt;br /&gt;
&lt;br /&gt;
* [http://ahshornets.org Aiken High School]has over 2000 registered users in grades 9 - 12 (Feb. 2006).&lt;br /&gt;
&lt;br /&gt;
* [http://academies.culver.org/moodle The Culver Academies] has over 1000 registered users in grades 9 - 12. The school has been using Moodle in the classroom since the 2002-2003 school year. Administratively we have a Moodle &amp;quot;course&amp;quot; for faculty-only announcements and materials. &lt;br /&gt;
&lt;br /&gt;
* [http://online.warner.edu Warner Southern College] began using Moodle in early 2005 as an experiment to move from a simple webboard system into a full learning management system.  The experiment went extremely well and a full transition to Moodle was accomplished in the fall term of 2005.  Currently, Warner Southern College has one Moodle instance running with over 1200 registered users (500+ active students, 50+ instructors, 80+ courses and two system administrators) offering associate, bachelor and master of arts degree programs for both traditional site based and full online students. Warner Southern College is a small institution affiliated with the Church of God and accredited by the Southern Association of Colleges and Schools. &lt;br /&gt;
&lt;br /&gt;
* [http://moodle.westshore.edu West Shore Community College] currently has just under 2,000 registered users in its database and began as a potential alternative to our Blackboard system. Our site has been active for 3 years and we are now fully migrated to Moodle as our sole LMS. The transition was slow (and a bit painful at times), but now that we&#039;re here, things have gone quite well.&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[ja:ユーザ数1000名以上]]&lt;br /&gt;
&lt;br /&gt;
{{Template:Large Installations}}&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Question_bank&amp;diff=44858</id>
		<title>Question bank</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Question_bank&amp;diff=44858"/>
		<updated>2008-10-07T13:00:50Z</updated>

		<summary type="html">&lt;p&gt;Topstone: adjust links&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Questions}}&lt;br /&gt;
{{Moodle 1.6}}This feature allows a teacher to create, preview, and edit questions in a course question bank, a database of questions. These questions can then be used in [[Quizzes]] and through the export process in a Lesson. The teacher enters the question bank by creating or editing a quiz activity or through the Administration block [[Image:Question Icon Administration Block.JPG]]&lt;br /&gt;
&lt;br /&gt;
The initial Question Bank page has tabs that allow you (as teacher) to edit questions, [[Question categories|categories]], [[Import questions|import questions]] and [[Export questions|export questions]].&lt;br /&gt;
[[Image:Question_bank_tabs.gif|frame|center]] &lt;br /&gt;
==Select a category==&lt;br /&gt;
Questions are organised into categories. Initially each course has only one category called &amp;quot;Default&amp;quot;. It is good practice to create more categories to organize your questions. You can create a hierarchy of categories because you can create subcategories inside parent categories. To add or edit categories click on the &amp;quot;[[Question categories|Categories]]&amp;quot; tab.&lt;br /&gt;
&lt;br /&gt;
The question editing screen shows the questions from the currently selected category. You choose this category from the &#039;&#039;&#039;Category:&#039;&#039;&#039; drop-down menu. Using the tick box below that menu you determine whether to also show the questions from all subcategories.&lt;br /&gt;
&lt;br /&gt;
===Categories are shared in contexts since Moodle 1.9===&lt;br /&gt;
&lt;br /&gt;
{{Moodle 1.9}}Since Moodle 1.9 there are separate question category trees in each different &#039;context&#039; in which questions are shared. The contexts available to you depend on whether you access the question bank from an activity or from a course and depend on the permissions assigned you for access to questions. See [[Question contexts]] for more information on these contexts.&lt;br /&gt;
&lt;br /&gt;
==Add a new question==&lt;br /&gt;
# Click the &#039;&#039;Questions&#039;&#039; tab to access the Question Bank page, if not there already.&lt;br /&gt;
# From the &#039;&#039;&#039;Category&#039;&#039;&#039; drop-down menu, select a category you want to add a question to.&lt;br /&gt;
# The page will change to show the questions already in that category&lt;br /&gt;
# Select the question type you want to create from the &#039;&#039;&#039;Create new question&#039;&#039;&#039; drop-down menu.&lt;br /&gt;
# Fill in the form for the question type you are creating. Each [[Question types|question type]] has its own form and has its own options.&lt;br /&gt;
# Click &#039;&#039;Save Changes&#039;&#039; at the bottom of the form.&lt;br /&gt;
&lt;br /&gt;
==Preview, Edit, Delete, and Move==&lt;br /&gt;
The first column in the list of questions contains a number of icons and a selection box.&lt;br /&gt;
&lt;br /&gt;
Clicking on the &#039;&#039;&#039;Preview&#039;&#039;&#039; icon will open a preview window in which you can test the question. The &#039;&#039;&#039;Edit&#039;&#039;&#039; icon allows you to edit the question via the same form that you used to create it. The &#039;&#039;&#039;Delete&#039;&#039;&#039; icon deletes the question, provided it is not already in use in some activity. The selection box allows you to select a subset of questions that you can then move to another category using the controls below the list of questions.&lt;br /&gt;
&lt;br /&gt;
{{Moodle 1.9}}As of Moodle 1.9 the &#039;&#039;&#039;move&#039;&#039;&#039; icon allows you to move one question at a time.&lt;br /&gt;
&lt;br /&gt;
==Tips and tricks==&lt;br /&gt;
*Put the answer into the question name so you can quickly see the answers when students are asking for answers. This is especially useful if you&#039;re dealing with large sets of questions! (No option yet for viewing category or answer of question in the list of questions.)&lt;br /&gt;
*Export questions in GIFT or Moodle XML formats, then import them into a Lesson. (Future versions of Moodle will make Question bank available to both Lesson and Quiz activities.)&lt;br /&gt;
*Remember that while some of the same question types can be found in both the Quiz and Lesson modules, they can be very different.  Scoring and grading each student&#039;s choice is more robust in a Quiz.  On the other hand, each Lesson question answer also has a [[Jumps|jump]] associated it.&lt;br /&gt;
*Use GIFT or other export modes to print questions and answers in a category.  Hint, clever use of word processor macros, using search and replace, can tidy up a GIFT file for printing.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
For info on question sharing relevant to versions of Moodle before Moodle 1.9 see :&lt;br /&gt;
&lt;br /&gt;
*[http://moodle.org/mod/data/view.php?d=13&amp;amp;advanced=1&amp;amp;f_46=Question+Type&amp;amp;f_98=Third-Party Third-party question types]&lt;br /&gt;
*[http://moodle.org/mod/data/view.php?d=13&amp;amp;advanced=1&amp;amp;f_46=Question+Import/Export+Format&amp;amp;f_98=Third-Party Third-Party question import/export formats]&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=58774 Sharing Question Databases] forum discussion&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=33335&amp;amp;parent=154984 Media in Quiz questions] forum reply&lt;br /&gt;
&lt;br /&gt;
For info on Question bank changes from Moodle 1.9 see :&lt;br /&gt;
&lt;br /&gt;
* [[Question_Engine_Changes_in_Moodle_1.9]]&lt;br /&gt;
&lt;br /&gt;
[[es:Banco de Preguntas]]&lt;br /&gt;
[[eu:Galdera-bankua]]&lt;br /&gt;
[[fr:Questions]]&lt;br /&gt;
[[ja:問題バンク]]&lt;br /&gt;
[[zh:题库]]&lt;br /&gt;
[[ca:Banc_de_preguntes]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Installations_1000_plus&amp;diff=44501</id>
		<title>Installations 1000 plus</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Installations_1000_plus&amp;diff=44501"/>
		<updated>2008-09-29T13:27:03Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page has descriptions and links by country to Moodle sites with between 1000 and 5000 users.&lt;br /&gt;
{{Template:Large Installations}}&lt;br /&gt;
&lt;br /&gt;
==Australia==&lt;br /&gt;
&lt;br /&gt;
*Monte Sant&#039; Angelo Mercy College - [http://montenet.monte.nsw.edu.au MonteNet] is used as our colleges student intranet and e-learning portal. Currently running 1.6dev with a few extra custom features thrown in.&lt;br /&gt;
&lt;br /&gt;
*Monte Sant&#039; Angelo Mercy College - [http://compass.monte.nsw.edu.au Compass] takes moodle and uses it for a purpose that is a little outside the square. Compass is used as the staff intranet. Each course is refered to as a &amp;quot;Space&amp;quot; and is used by each departmentr to store meating minutes, agendas and teaching documentation. Communications tools such as forums allow to facilitate better teacher communication and the events are used to keep the teachers events online and targeted (e.g. year 9 teachers all know when excursions are on, all english teachers know when reports are due, etc).&lt;br /&gt;
&lt;br /&gt;
*Vermont Secondary College - [http://moodle.vermontsc.vic.edu.au] is used as the college intranet, portal and eLearning since 2004. There are approximately 1500 users consisting of teachers and years 7-12 students. Although using Moodle is an option, over 180 courses have been created across all learning areas and staff administration. All events within the college are constantly being added to the calendar to inform the school community.&lt;br /&gt;
&lt;br /&gt;
*Saint Ignatius&#039; College, Riverview - [http://www.riverview.nsw.edu.au ] - Jesuit College in Sydney, Australia, with 1,600 students. Adopted Moodle in 2007.&lt;br /&gt;
&lt;br /&gt;
==Belgium==&lt;br /&gt;
&lt;br /&gt;
*[http://www.ritacollege.be Sint-Ritacollege] We are a school for 12-18 year old students.  Currently our database contains about 1600 active users and 130 courses. Always running latest Moodle code since version 1.0.8.&lt;br /&gt;
&lt;br /&gt;
==Catalonia==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*[http://www.iesterrassa.cat/ IES de TERRASSA ] - [http://moodle.iesterrassa.cat MOODLE de l&#039;IES de TERRASSA] - Institut d&#039;Enseyament Secundari de Terrassa. Tenim més de 1300 usuaris.&lt;br /&gt;
&lt;br /&gt;
==Croatia (Hrvatska)==&lt;br /&gt;
&lt;br /&gt;
*Faculty of Philosophy in Zagreb - [http://omega.ffzg.hr Omega sustav ucenja na daljinu] is used as our faculty-wide e-learning system. Currently running 1.8.2 stable with more than 4400 users and 300+ courses. LDAP authorization.&lt;br /&gt;
&lt;br /&gt;
==Czech Republic==&lt;br /&gt;
&lt;br /&gt;
*Faculty of Arts, Masaryk University, Brno - [http://www.phil.muni.cz/elf/ ELF], 16,000+ users total, 4,000+ active users in Spring Term 2006, 600+ courses; using Moodle from April 2003.&lt;br /&gt;
&lt;br /&gt;
==Finland==&lt;br /&gt;
&lt;br /&gt;
*Tampere Polytechnic or Tampereen ammattikorkeakoulu ([http://www.tamk.fi www.tamk.fi]), is a around 5000 student college or &amp;quot;a university of applied sciences&amp;quot; located at Tampere, Finland. Our moodle installation hosts around 2500 active students.&lt;br /&gt;
&lt;br /&gt;
==India==&lt;br /&gt;
* [http://www.doeaccmantra.com DOEACCMantra] is a website for [http://www.doeaccmantra.com DOEACC] students currently (as of July 2007) having 44 courses, 4928 users and 5965 posts.&lt;br /&gt;
&lt;br /&gt;
==Italy==&lt;br /&gt;
&lt;br /&gt;
* University of Rome &amp;quot;Roma Tre&amp;quot; - [http://ltaonline.learning.uniroma3.it/ Laboratorio di Tecnologie Audiovisive] hosts two faculties with more than 1600 students.&lt;br /&gt;
&lt;br /&gt;
==Japan==&lt;br /&gt;
&lt;br /&gt;
* Kyoto Sangyo University - [http://www3.kyoto-su.ac.jp/index-e.html] First university in Japan to completely host all courses in Moodle.&lt;br /&gt;
&lt;br /&gt;
* Sapporo Gakuin University - [http://elearning.sgu.ac.jp] About 25 active courses using Moodle.  Over 1000 registered users.  Now using LDAP, so all 5000 students can login with their standard school ID and password.  &lt;br /&gt;
&lt;br /&gt;
==Netherlands==&lt;br /&gt;
&lt;br /&gt;
* We are a 5000 people school, one server, 9 locations and using Moodle for almost three years now: https://studiewijzerplus.nl Every schoolyear we start again with counting the number of users and the automatic counter (thanks Penny!) is now pointing at 3103&lt;br /&gt;
&lt;br /&gt;
==Norway==&lt;br /&gt;
&lt;br /&gt;
* ASP Hedmark - [http://pdl.asp-hedmark.no/ pdl.asp-hedmark.no] Region with 20 primary and lower-secondary schools have an installation with something above 2000 users. PDL=Platform for Digital Learning.&lt;br /&gt;
&lt;br /&gt;
== Russia ==&lt;br /&gt;
*Moscow State Institute of International Relations (University) - distance education programme [http://www.globalcompetence.ru Management of Global Processes]&lt;br /&gt;
&lt;br /&gt;
==Spain==&lt;br /&gt;
*[http://www.cicei.com CICEI] - Center of Innovation for the Information Society. We have a production [http://cursos.cicei.com Moodle server] having currently 1,042 users in 72 courses covering a wide range of applications (as of February 6, 2006).&lt;br /&gt;
&lt;br /&gt;
==Switzerland==&lt;br /&gt;
&lt;br /&gt;
*[http://moodle.fri-tic.ch/ Centre fri-tic] - Center for ICT Integration of Canton de Fribourg. Currently running 1 moodle for teachers and students from k-12 to High school, with more than 2000 users and about 130 courses. The [http://www.fri-tic.ch/ Centre fri-tic] is also hosting 9 other moodle installations for specific schools.&lt;br /&gt;
&lt;br /&gt;
==United Kingdom==&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.altoncollege.ac.uk/ Alton College] - a Beacon sixth form college with over 2,500 active users.&lt;br /&gt;
&lt;br /&gt;
* [http://egglescliffe.org.uk/ Egglescliffe School and Sixth Form] - a specialist arts school with over 2,000 active moodlers and 345 courses whose usage was the basis of this [http://education.guardian.co.uk/elearning/story/0,,1583832,00.html Guardian article]&lt;br /&gt;
&lt;br /&gt;
* [http://vle.gloscol.ac.uk/ Gloucestershire College] - a general FE college in the south west, with nearly five thousand users and nearly eight hundred users, we have presented at many Moodle events in the UK. &lt;br /&gt;
&lt;br /&gt;
* [http://learn.gold.ac.uk Goldsmiths College, London] - over 2,500 active users. See also this [http://www.alt.ac.uk/altc2004/timetable/abstract.php?abstract_id=270 presentation at a 2004 conference].&lt;br /&gt;
&lt;br /&gt;
*  [https://moodle.plumsteadmanor.com/ Plumstead Manor School] - A specialist Sports, Performing arts and Vocational secondary school in South East London. 1,700 active students.&lt;br /&gt;
&lt;br /&gt;
* [http://www.thanet.ac.uk/ Thanet College] - a &amp;quot;medium sized general FE college&amp;quot;, using Moodle as documented in [http://ferl.becta.org.uk/display.cfm?resID=13423 this Ferl case study]&lt;br /&gt;
&lt;br /&gt;
* [http://www.westnotts.ac.uk West Nottingahmshire College] - an FE college in the East Midlands.&lt;br /&gt;
&lt;br /&gt;
* [http://www.lifeintheuk.org Prepare: Life in the United Kingdom Test] - a free website dedicated to Life in the UK Test.&lt;br /&gt;
&lt;br /&gt;
==United States of America==&lt;br /&gt;
*[http://www.glyphdoctors.com Glyphdoctors] is a site with over 1200 registered users (as of Feb. 2006) on a shared server host, [http://www.opensourcehost.com Open Source Host]. It will offer online courses in Egyptology and Egyptian hieroglyphs to the general public. Currently, there is one free public course available and a course in Egyptian hieroglyphs under beta testing with a small number of students.&lt;br /&gt;
&lt;br /&gt;
*[http://moodle.mcm.edu/ McMurry University]has several Moodle instances, the first begun as a pilot project in June, 2005.  McMurry is a small (1400 FTE) undergraduate-only institution affiliated with the United Methodist church.  Currently the main instance supports 1700 users (650 active), some 60 instructors, and approximately 180 active courses.&lt;br /&gt;
&lt;br /&gt;
* [http://ahshornets.org Aiken High School]has over 2000 registered users in grades 9 - 12 (Feb. 2006).&lt;br /&gt;
&lt;br /&gt;
* [http://academies.culver.org/moodle The Culver Academies] has over 1000 registered users in grades 9 - 12. The school has been using Moodle in the classroom since the 2002-2003 school year. Administratively we have a Moodle &amp;quot;course&amp;quot; for faculty-only announcements and materials. &lt;br /&gt;
&lt;br /&gt;
* [http://online.warner.edu Warner Southern College] began using Moodle in early 2005 as an experiment to move from a simple webboard system into a full learning management system.  The experiment went extremely well and a full transition to Moodle was accomplished in the fall term of 2005.  Currently, Warner Southern College has one Moodle instance running with over 1200 registered users (500+ active students, 50+ instructors, 80+ courses and two system administrators) offering associate, bachelor and master of arts degree programs for both traditional site based and full online students. Warner Southern College is a small institution affiliated with the Church of God and accredited by the Southern Association of Colleges and Schools. &lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[ja:ユーザ数1000名以上]]&lt;br /&gt;
&lt;br /&gt;
{{Template:Large Installations}}&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Quiz_activity&amp;diff=43599</id>
		<title>Quiz activity</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Quiz_activity&amp;diff=43599"/>
		<updated>2008-09-16T03:39:13Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quizzes}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Quiz&#039;&#039;&#039; [[Teacher_documentation#Activity_modules|activity]] module allows the teacher to design and set quizzes consisting of a large variety of [[Question types]], among them multiple choice, true-false, and short answer questions. These questions are kept in the course [[Question bank]] and can be re-used within courses and between courses. Quizzes can allow multiple attempts. Each attempt is automatically marked, and the teacher can choose whether to give feedback and/or show the correct answers. &lt;br /&gt;
&lt;br /&gt;
Feedback on performance is a critical part of a learning environment and assessment is one of the most important activities in education. As educators, we can’t tell what’s going on inside the heads of students, so we need a way for them to demonstrate what they understand and what they don’t. A well-designed test, even a multiple-choice test, can give you critical information about student performance. If the feedback is rapid enough, it can also be a critical tool for students to gauge their own performance and help them become more successful. &lt;br /&gt;
&lt;br /&gt;
Moodle’s quiz module has a large number of options and tools, making it extremely flexible. You can create quizzes with different question types, randomly generated quizzes from pools of questions, allow students to have repeated attempts at a question or retake quizzes multiple times, and have the computer score it all. &lt;br /&gt;
&lt;br /&gt;
These features open up a number of strategies which usually aren’t practical with paper based testing. It’s hard enough to score one batch of quizzes, and nearly impossible to score it 10 times for each student. When the computer does the work for you, it’s easy to give students a chance to practice taking a test, or to give frequent small quizzes. We explore how to apply these advantages on the page [[Effective quiz practices]].&lt;br /&gt;
&lt;br /&gt;
The quiz module index page lists all the quiz activities in the course, organized under four headings: &lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Topic&#039;&#039;&#039; - the number of the block, in which the given quiz appears&lt;br /&gt;
# &#039;&#039;&#039;Name&#039;&#039;&#039; - the name of the quiz &lt;br /&gt;
# &#039;&#039;&#039;Quiz closes&#039;&#039;&#039; - the date after which the quiz will be closed&lt;br /&gt;
# &#039;&#039;&#039;Attempts&#039;&#039;&#039; - if there have been any attempts at the quiz, you will see the text &#039;View reports for x attempts (y Students)&#039;, &#039;x&#039; being the number of attempts and &#039;y&#039; the number of students attempting at the quiz. Otherwise, the field will be empty.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
*[http://moodle.org/mod/data/view.php?d=13&amp;amp;advanced=1&amp;amp;f_46=Quiz+Report&amp;amp;f_98=Third-Party Third-party quiz reports]&lt;br /&gt;
*[[Using Moodle book]] Chapter 6: Quizzes&lt;br /&gt;
*[https://docs.moodle.org/en/Lesson#Types_of_questions_available_within_a_lesson Questions available in a Lesson]&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;br /&gt;
&lt;br /&gt;
[[es:Cuestionarios]]&lt;br /&gt;
[[eu:Galdetegiak]]&lt;br /&gt;
[[ja:小テストモジュール]]&lt;br /&gt;
[[ru:Тест]]&lt;br /&gt;
[[fr:Test]]&lt;br /&gt;
[[pl:Quizy]]&lt;br /&gt;
[[de:Test]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Large_installations&amp;diff=43553</id>
		<title>Large installations</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Large_installations&amp;diff=43553"/>
		<updated>2008-09-15T20:01:45Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Large Moodle installations listing ==&lt;br /&gt;
&lt;br /&gt;
This page was started on Wednesday 14th December 2005 at 1900GMT. &lt;br /&gt;
There are MANY more schools to add, it&#039;s just begun!&lt;br /&gt;
&lt;br /&gt;
*[[Installations 1000 plus]]&lt;br /&gt;
*[[Installations 5000 plus]]&lt;br /&gt;
*[[Installations 10000 plus]]&lt;br /&gt;
*[[Installations 30000 plus]]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
*[http://moodle.org/mod/choice/view.php?id=3934 How big is your Moodle site?] choice activity&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=36216 Chart of schools (by size) that are using Moodle] forum discussion&lt;br /&gt;
*[http://www.frappr.com/moodle World map of Moodle users]&lt;br /&gt;
*[http://moodle.org/stats/ Moodle statistics]&lt;br /&gt;
*[[Institutions that have Migrated to Moodle]]&lt;br /&gt;
&lt;br /&gt;
[[ja:Moodleの大規模インストール]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Choice_activity&amp;diff=43552</id>
		<title>Choice activity</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Choice_activity&amp;diff=43552"/>
		<updated>2008-09-15T19:10:01Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Choices}}&lt;br /&gt;
[[Image:Choices_Icon.GIF]] A &#039;&#039;&#039;choice&#039;&#039;&#039; [[Teacher_documentation#Activity_modules|activity]] is very simple – the teacher asks a question and specifies a choice of multiple responses. It can be useful as a quick poll to stimulate thinking about a topic; to allow the class to vote on a direction for the course; or to gather research consent.&lt;br /&gt;
&lt;br /&gt;
Choice requires some preparation time for creating your activity and thinking about what results you would like to achieve, but your participation with activity itself is likely to be minimal. &lt;br /&gt;
&lt;br /&gt;
==Educational Benefits of Using Choice==&lt;br /&gt;
Pedagogically, the choice activity can be used to provide an opportunity to share starting points through which learners are encouraged to think about and articulate existing knowledge and understandings of a topic. For example, you can ask students to make ‘choices’ about a statement such as “in learning to become a teacher, the most significant issue for me is” (giving the following choices): trust, theoretical underpinnings, communication or delivering materials to students. &lt;br /&gt;
&lt;br /&gt;
This has two benefits: firstly, it forces participants to engage with their choice and think, in advance of a further related activity (you might wish to follow up such a choice activity with a forum discussion or a reflective activity like the online text assignment), about the context and consequences of this choice. Secondly, it allows tutors and students to gain a better understanding of existing views/understandings/knowledge related to the question, idea or concept at hand in the Choice activity.&lt;br /&gt;
&lt;br /&gt;
The choice activity in Moodle only allows a participant to select one choice from a variety of options (that you provide), but you may set the activity so that participants can change their choices.  You can also set the activity so that it ‘closes’ or ‘locks down’ on a specific date, making all choices final from that point on.  This allows participants to change their minds several times before a final date.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Using Moodle book]] Chapter 14: Surveys and Choices&lt;br /&gt;
* [http://www.youtube.com/watch?v=shkelQDKbtM Choice module video]&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=43536 Have Your Students &amp;quot;Sign&amp;quot; an Agreement] forum discussion&lt;br /&gt;
* [[Choice block]] - a 3rd party block&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;br /&gt;
&lt;br /&gt;
[[cs:Modul Anketa]]&lt;br /&gt;
[[de:Abstimmung]]&lt;br /&gt;
[[es:Consulta]]&lt;br /&gt;
[[eu:Inkesta]]&lt;br /&gt;
[[fr:Sondage]]&lt;br /&gt;
[[ja:投票]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Question_types&amp;diff=43488</id>
		<title>Question types</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Question_types&amp;diff=43488"/>
		<updated>2008-09-13T13:05:17Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to other languages&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Questions}}&lt;br /&gt;
&lt;br /&gt;
You may add a variety of different types of questions in the Quiz and Lesson modules.  This page is about [[Quiz module]] question types, some will be similar  to [[Lesson questions]] types, which are fewer in number and function differently. The standard quiz question types are listed below with brief descriptions. &#039;&#039;&#039;Please use the links on the right side of this page to find more detailed information about standard questions types that are found in both modules.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Standard question types==&lt;br /&gt;
&lt;br /&gt;
=== Calculated ===&lt;br /&gt;
Calculated questions offer a way to create individual numerical questions by the use of wildcards that are substituted with individual values when the quiz is taken. [[Calculated_question_type|More on the Calculated question type]]&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
This is not a real question. It simply prints some text (and possibly graphics) without requiring an answer. This can be used to provide some information to be used by a subsequent group of questions, for example. [[Description_question_type|More on the Description question type]]&lt;br /&gt;
&lt;br /&gt;
=== Essay ===&lt;br /&gt;
In response to a question (that may include an image) the respondent writes an answer in essay format. [[Essay_question_type|More on the Essay question type]]&lt;br /&gt;
&lt;br /&gt;
=== Matching ===&lt;br /&gt;
A list of sub-questions is provided, along with a list of answers. The respondent must &amp;quot;match&amp;quot; the correct answers with each question. [[Matching_question_type|More on the Matching question type]]&lt;br /&gt;
&lt;br /&gt;
=== Embedded Answers (Cloze Test / Gap Fill) ===&lt;br /&gt;
These very flexible questions consist of a passage of text (in Moodle format) that has various answers embedded within it, including multiple choice, short answers and numerical answers. [[Embedded_Answers_(Cloze)_question_type|More on the Embedded Answers question type]]&lt;br /&gt;
&lt;br /&gt;
=== Multiple Choice ===&lt;br /&gt;
In response to a question (that may include a image) the respondent chooses from multiple answers. There are two types of multiple choice questions - single answer and multiple answer. [[Multiple_Choice_question_type|More on the Multiple Choice question type]]&lt;br /&gt;
&lt;br /&gt;
=== Short Answer ===&lt;br /&gt;
In response to a question (that may include a image), the respondent types a word or phrase. There may several possible correct answers, with different grades. Answers may or may not be sensitive to case. [[Short-Answer_question_type|More on the Short Answer question type]]&lt;br /&gt;
&lt;br /&gt;
=== Numerical ===&lt;br /&gt;
From the student perspective, a numerical question looks just like a short-answer question. The difference is that numerical answers are allowed to have an accepted error. This allows a continuous range of answers to be set. [[Numerical_question_type|More on the Numerical question type]]&lt;br /&gt;
&lt;br /&gt;
=== Random Short-Answer Matching ===&lt;br /&gt;
From the student perspective, this looks just like a Matching question. The difference is that the sub-questions are drawn randomly from Short Answer questions in the current category. [[Random_Short-Answer_Matching_question_type|More on the Random Short-Answer Matching question type]]&lt;br /&gt;
&lt;br /&gt;
=== True/False ===&lt;br /&gt;
In response to a question (that may include a image), the respondent selects from two options: True or False. [[True/False_question_type|More on the True/False question type]]&lt;br /&gt;
&lt;br /&gt;
==Third-party question types==&lt;br /&gt;
&lt;br /&gt;
Besides the standard question types that are part of the core Moodle distribution, there are question type plugins contributed by the community.&lt;br /&gt;
&lt;br /&gt;
===Drag and Drop===&lt;br /&gt;
&lt;br /&gt;
Please see the [[Drag and Drop question tutorial]] for more information.&lt;br /&gt;
&lt;br /&gt;
===Molecule design===&lt;br /&gt;
&lt;br /&gt;
The [http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=296 Java Molecular Editor question type] allows you to ask students to design and submit a molecular structure.&lt;br /&gt;
&lt;br /&gt;
===Opaque===&lt;br /&gt;
&lt;br /&gt;
[[Development:Opaque|Opaque]] is a system for using questions from other systems that support the Opaque protocol within Moodle quizzes. This question type is the Moodle end of that bridge. It can be downloaded from http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=798. See the [[Opaque question type]] tutorial for more information.&lt;br /&gt;
&lt;br /&gt;
===RQP===&lt;br /&gt;
&lt;br /&gt;
RQP was an earlier attempt to do the same thing that Opaque does, but as of Moodle 1.6 it did not work. It used to be in Moodle core, but in Moodle 1.9 it was moved to be a third-part question type. It is probably now only of historical interest.&lt;br /&gt;
&lt;br /&gt;
===Regular Expression Short Answer===&lt;br /&gt;
{{Moodle 1.6}}Like the Short Answer question, the RegExp Short Answer question expects the student to answer an &amp;quot;open&amp;quot; question with a word or a short phrase. However, using so-called &#039;&#039;&#039;regular expressions&#039;&#039;&#039; gives you access to a more powerful system for analysing the student&#039;s answers and thus providing more adapted feedback messages.&lt;br /&gt;
The [http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=338 Regular Expression Short Answer question type] is available for Moodle 1.6 from the Modules and plugins database.&lt;br /&gt;
&lt;br /&gt;
==Versions and questions==&lt;br /&gt;
*Some question types can be exported in version 1.6 to a lesson through use of a GIFT or XML Moodle file. &lt;br /&gt;
&lt;br /&gt;
==Question bank==&lt;br /&gt;
Moodle 1.6 created &amp;quot;[[Question bank]]&amp;quot;, a database of questions for the quiz module.  This database will be available for both quiz and lesson modules in 2.0.  &lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
[[Lesson questions]]  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Quiz]]&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
[[Category:Lesson]]&lt;br /&gt;
[[ca:Tipus_de_preguntes]]&lt;br /&gt;
[[es:Tipos de preguntas]]&lt;br /&gt;
[[ja:問題タイプ]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Development:Implementing_Reset_course_functionality_in_a_module&amp;diff=43477</id>
		<title>Development:Implementing Reset course functionality in a module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Development:Implementing_Reset_course_functionality_in_a_module&amp;diff=43477"/>
		<updated>2008-09-12T18:28:14Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The course reset code is triggered from /course/reset.php. To have your module included, you need to implement the two fuctions described below. To work out how to do this, a good example is to look at the implementations in /mod/fourm/lib.php&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;mymodule&#039;&#039;_reset_course_form($course)==&lt;br /&gt;
&lt;br /&gt;
This is called directly by /course/reset.php. It needs to output some form controls to control different options for resetting your module.&lt;br /&gt;
&lt;br /&gt;
The convention is to call settings relating your your module reset_&#039;&#039;mymodule&#039;&#039;_&#039;&#039;something&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The forum implementation is a good model:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
/**&lt;br /&gt;
 * Called by course/reset.php&lt;br /&gt;
 */&lt;br /&gt;
function forum_reset_course_form($course) {&lt;br /&gt;
    echo get_string(&#039;resetforums&#039;, &#039;forum&#039;); echo &#039;:&amp;lt;br /&amp;gt;&#039;;&lt;br /&gt;
    print_checkbox(&#039;reset_forum_news&#039;, 1, true, get_string(&#039;namenews&#039;,&#039;forum&#039;), &#039;&#039;, &#039;&#039;);  echo &#039;&amp;lt;br /&amp;gt;&#039;;&lt;br /&gt;
    print_checkbox(&#039;reset_forum_single&#039;, 1, true, get_string(&#039;singleforum&#039;,&#039;forum&#039;), &#039;&#039;, &#039;&#039;);  echo &#039;&amp;lt;br /&amp;gt;&#039;;&lt;br /&gt;
    print_checkbox(&#039;reset_forum_eachuser&#039;, 1, true, get_string(&#039;eachuserforum&#039;,&#039;forum&#039;), &#039;&#039;, &#039;&#039;);  echo &#039;&amp;lt;br /&amp;gt;&#039;;&lt;br /&gt;
    print_checkbox(&#039;reset_forum_general&#039;, 1, true, get_string(&#039;generalforum&#039;,&#039;forum&#039;), &#039;&#039;, &#039;&#039;);  echo &#039;&amp;lt;br /&amp;gt;&#039;;&lt;br /&gt;
    echo &#039;&amp;lt;p&amp;gt;&#039;;&lt;br /&gt;
    print_checkbox(&#039;reset_forum_subscriptions&#039;, 1, true, get_string(&#039;resetsubscriptions&#039;,&#039;forum&#039;), &#039;&#039;, &#039;&#039;);&lt;br /&gt;
    echo &#039;&amp;lt;/p&amp;gt;&#039;;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;mymodule&#039;&#039;_delete_userdata($data, $showfeedback)==&lt;br /&gt;
 &lt;br /&gt;
This actually does the resetting. It is called indirectly, /course/reset.php calls reset_course_userdata() in /lib/moodlelib.php, which then calls the functions for each module.&lt;br /&gt;
&lt;br /&gt;
The $data parameter is what came back from the form printed by forum_reset_course. In particular, $data-&amp;gt;courseid is the id of the coures we are cleaning up.&lt;br /&gt;
&lt;br /&gt;
The $showfeedback parameter determines whether we should output progress information as we go along.&lt;br /&gt;
&lt;br /&gt;
The forum implementation is again a good one to study, here is a very simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
function example_delete_userdata($data, $showfeedback=true) {&lt;br /&gt;
    if (!empty($data-&amp;gt;reset_example_frogs)) {&lt;br /&gt;
        if (delete_records(&#039;example_frogs&#039;, &#039;couresid&#039;, $data-&amp;gt;courseid) and $showfeedback) {&lt;br /&gt;
            notify(get_string(&#039;frogsdeleted&#039;, &#039;example&#039;), &#039;notifysuccess&#039;);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    if (!empty($data-&amp;gt;reset_example_newts)) {&lt;br /&gt;
        if (delete_records(&#039;example_newts&#039;, &#039;couresid&#039;, $data-&amp;gt;courseid) and $showfeedback) {&lt;br /&gt;
            notify(get_string(&#039;newtsdeleted&#039;, &#039;example&#039;), &#039;notifysuccess&#039;);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[ja:開発:コースのリセット機能をモジュールに実装する]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Development:Database_fields&amp;diff=43170</id>
		<title>Development:Database fields</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Development:Database_fields&amp;diff=43170"/>
		<updated>2008-09-06T14:30:06Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Moodle&#039;s [[Database module]] has some predefined [[Database_fields|field types]] (text, date, URL, picture, etc), but you can customise this to create new field types. For example, you might like to create:&lt;br /&gt;
&lt;br /&gt;
; Discipline-specific field types : e.g. &amp;quot;Protein PDB code&amp;quot; - people can enter the PDB code for a protein, and then the display could (for example) include a 3D viewer for the protein structure, or link out to molecular databases.&lt;br /&gt;
; Institution-specific field types :  e.g. &amp;quot;library reference number&amp;quot; - people can enter a number into the field, and this is automatically turned into a direct link to your library webpages&lt;br /&gt;
; Module-specific field types : e.g. &amp;quot;wiki page&amp;quot; - people see a drop-down list containing the names of pages in your wiki, and can choose which page this particular entry refers to&lt;br /&gt;
&lt;br /&gt;
==Basic concepts==&lt;br /&gt;
&lt;br /&gt;
To create a new field type in Moodle we need to create a new folder in /moodle/mod/data/field. Inside this folder will be PHP code telling Moodle:&lt;br /&gt;
&lt;br /&gt;
# What HTML to output when people are looking at a record in the database&lt;br /&gt;
# What form fields to output when people are adding/editing a record in the database&lt;br /&gt;
# What to do (what info to store) when someone submits the record-add/edit form&lt;br /&gt;
# What form fields to output when the teacher is adding/editing an instance of the field&lt;br /&gt;
# What to do (what info to store) when the teacher submits the field-add/edit form&lt;br /&gt;
&lt;br /&gt;
==The files==&lt;br /&gt;
&lt;br /&gt;
The best way to get an understanding of the plugin architecture is to look at an existing field type - I recommend you look at &#039;&#039;&#039;the URL field type&#039;&#039;&#039;, stored in /moodle/mod/data/field/url. There are three files:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;field.class.php&#039;&#039;&#039; - the most important file, this defines a PHP class which defines the majority of the data field&#039;s behaviour. See below for more detail on this.&lt;br /&gt;
* &#039;&#039;&#039;mod.html&#039;&#039;&#039; - contains a HTML &amp;quot;fragment&amp;quot; defining how the form fields will appear when the teacher is adding/editing an instance of the field.&lt;br /&gt;
* &#039;&#039;&#039;icon.gif&#039;&#039;&#039; - the icon to be displayed along with the field, as a visual cue to the teacher about what sort of data is stored in this field.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==The PHP class==&lt;br /&gt;
&lt;br /&gt;
If you look at the file &amp;quot;field.class.php&amp;quot; for the URL field type you&#039;ll see that the class is named &amp;quot;data_field_url&amp;quot; and it is a subclass of &amp;quot;data_field_base&amp;quot;. This is very important - the class &amp;quot;data_field_base&amp;quot; (defined in /moodle/mod/data/lib.php, by the way) defines some of the core behaviours without which your field will not work.&lt;br /&gt;
&lt;br /&gt;
Your class&#039;s name should match the subfolder you have created. For example, if we&#039;re creating a new data type called &amp;quot;Tastiness&amp;quot;, we want to create our plugin in a folder &amp;quot;tastiness&amp;quot; and the PHP class should be data_field_tastiness. The class should also define a class variable $type, which again should use the same name - in our example, we&#039;d give it the value &#039;tastiness&#039;. So the top of our field.class.php would look like this:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?php &lt;br /&gt;
 class data_field_tastiness extends data_field_base {&lt;br /&gt;
    var $type = &#039;tastiness&#039;;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you want to take an existing field type, duplicate it, and rename it to a new type (which you can modify later), this is all you need to do. You might like to try this (again, the URL field is a good one to start with) and see how it works.&lt;br /&gt;
&lt;br /&gt;
The base class defines some simple behaviours which you can override in your subclass, to make the plugin do exactly what you want. For example:&lt;br /&gt;
&lt;br /&gt;
 function display_add_field($recordid=0) // Return some HTML for use when a user is adding/editing a record&lt;br /&gt;
 function display_browse_field($recordid, $template) // Return some HTML for displaying a record&lt;br /&gt;
 function update_content($recordid, $value, $name=&#039;&#039;) // Used when a user stores data for a record&lt;br /&gt;
 function get_sort_sql($fieldname) // Specify SQL for how this field should be sorted&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t bother to specify these functions inside your new class, then the default behaviours specified by data_field_base will be used. Simply add these functions to your new class to make something different happen. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;To be continued...&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Developer]]&lt;br /&gt;
&lt;br /&gt;
[[ja:データベースフィールド]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Category:Teacher&amp;diff=43169</id>
		<title>Category:Teacher</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Category:Teacher&amp;diff=43169"/>
		<updated>2008-09-06T14:23:24Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An index of documentation pages for &#039;&#039;&#039;teachers&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
[[es:Categoría:Profesor]]&lt;br /&gt;
[[eu:Kategoria:Irakasleak]]&lt;br /&gt;
[[fr:Catégorie:Enseignant]]&lt;br /&gt;
[[ja:Category:教師]]&lt;br /&gt;
[[ru:Категория:Учителю]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Administrator_documentation&amp;diff=24158</id>
		<title>Administrator documentation</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Administrator_documentation&amp;diff=24158"/>
		<updated>2007-06-11T17:29:39Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to other languages&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The purpose of this page is to list useful links by general topics for administrators.&lt;br /&gt;
&lt;br /&gt;
== Installation &amp;amp; Upgrading ==&lt;br /&gt;
&lt;br /&gt;
*[[Installation Quickstart]] for an overview of the installation steps&lt;br /&gt;
*[[Installing Moodle]] for detailed installation instructions&lt;br /&gt;
*[[Installation FAQ]]&lt;br /&gt;
*[[Installing AMP|Installing Apache, MySQL and PHP]]&lt;br /&gt;
*[[Upgrading|Upgrading Moodle]]&lt;br /&gt;
&lt;br /&gt;
== System-specific Instructions &amp;amp; Packages ==&lt;br /&gt;
&lt;br /&gt;
* [[SUSE Linux Server 10|Automated Installation Guide for SUSE Linux Enterprise Server 10]] operating system&lt;br /&gt;
* [[RedHat Linux installation|Step by Step Installation Guide for RedHat]] operating system&lt;br /&gt;
* [[Debian GNU/Linux installation|Step by Step Installation Guide for Debian GNU/Linux]] operating system&lt;br /&gt;
* [[Step-by-step Install Guide for Ubuntu]]&lt;br /&gt;
* [[Windows installation|Complete Install Packages for Windows XP and instructions for Windows NT/2000/2003 servers]]&lt;br /&gt;
* [[Complete Install Packages for Mac OS X]]&lt;br /&gt;
* [[Step-by-step Guide for Installing Moodle on Mac OS X 10.4 Client | Step-by-Step Guide for Installing Moodle using the internal web server on Mac OS X 10.4 Client]]&lt;br /&gt;
* [[1and1_MySQL_installation | Installation on 1and1 web hosting]]&lt;br /&gt;
&lt;br /&gt;
==Security, Performance and Roles==&lt;br /&gt;
&lt;br /&gt;
*[[Security]] contains important security procedures for a production site&lt;br /&gt;
*[[Performance | Performance and optimization]] for ideas on improving the speed of your installation&lt;br /&gt;
*[[Manage roles | Managing roles]] For Moodle 1.7 and later&lt;br /&gt;
&lt;br /&gt;
== FAQs ==&lt;br /&gt;
&lt;br /&gt;
*[[Installation FAQ]]&lt;br /&gt;
*[[Administration FAQ]]&lt;br /&gt;
*[[Backup FAQ]]&lt;br /&gt;
&lt;br /&gt;
== Configuration Settings ==&lt;br /&gt;
&lt;br /&gt;
*[[Variables]]&lt;br /&gt;
*[[Site settings]]&lt;br /&gt;
*[[Themes]]&lt;br /&gt;
*[[Language]]&lt;br /&gt;
*[[Modules (administrator)|Modules]]&lt;br /&gt;
*[[Blocks (administrator)|Blocks]]&lt;br /&gt;
*[[Filters (administrator)|Filters]]&lt;br /&gt;
*[[Backup (administrator)|Backup]]&lt;br /&gt;
*[[Editor settings]]&lt;br /&gt;
*[[Calendar (administrator)|Calendar]]&lt;br /&gt;
*[[Maintenance mode]]&lt;br /&gt;
&lt;br /&gt;
* See also: [[Location of admin settings in 1.7|Comparision between configuration settings in Moodle 1.6 &amp;amp; 1.7]]&lt;br /&gt;
&lt;br /&gt;
==User Management==&lt;br /&gt;
&lt;br /&gt;
*[[Authentication]]&lt;br /&gt;
*[[Edit user accounts]]&lt;br /&gt;
*[[Edit profile|Add a new user]]&lt;br /&gt;
*[[Flat file|Upload users]]&lt;br /&gt;
*[[Enrolment plugins]]&lt;br /&gt;
*[[Courses (administrator)|Enrol students]]&lt;br /&gt;
*[[Courses (administrator)|Assign teachers]]&lt;br /&gt;
*[[Assign creators]]&lt;br /&gt;
*[[Assign administrators]]&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
*[[Courses (administrator)|Courses]] and [[Course formats|course formats]]&lt;br /&gt;
*[[Logs]]&lt;br /&gt;
*[[Site files]]&lt;br /&gt;
*[[Moodle database|Database]]&lt;br /&gt;
*[[Environment]]&lt;br /&gt;
*[[Moodle Network]] and Moodle Community Hub&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[:Category:Administrator | Index of all Administrator-related pages]]&lt;br /&gt;
*[[Integrations]]&lt;br /&gt;
*[[CVS (administrator)|CVS documentation]]&lt;br /&gt;
*[[Email processing]]&lt;br /&gt;
*[[Search engine optimization]]&lt;br /&gt;
*[[Messaging]]&lt;br /&gt;
*[[Migration]]&lt;br /&gt;
*[[Metacourses]]&lt;br /&gt;
*[[Block layout]]&lt;br /&gt;
*[[Customizing Moodle]]&lt;br /&gt;
*[[Administrator do&#039;s and don&#039;ts]]&lt;br /&gt;
*[http://download.moodle.org/docs/using_moodle/ch16_server_admin.pdf Using Moodle Chapter 16: Moodle Administration]&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;br /&gt;
[[cs:Rukověť správce]]&lt;br /&gt;
[[es:Documentación para Administradores]]&lt;br /&gt;
[[fr:Documentation administrateur]]&lt;br /&gt;
[[ja:管理者ドキュメント]]&lt;br /&gt;
[[ko:관리자 문서]]&lt;br /&gt;
[[nl:Documentatie voor beheerders]]&lt;br /&gt;
[[ru:Администраторам]]&lt;br /&gt;
[[zh:管理员文档]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Help:Editing&amp;diff=24069</id>
		<title>Help:Editing</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Help:Editing&amp;diff=24069"/>
		<updated>2007-06-05T17:59:46Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Help}}&lt;br /&gt;
This page is for editing Moodle Documentation (MoodleDocs). This is a similar but much more robust type of program than the [[Wiki module|standard Moodle wiki]].&lt;br /&gt;
&lt;br /&gt;
==Edit tab==&lt;br /&gt;
Every ModdleDoc page has an &amp;quot;edit&amp;quot; tab at the top .  This link will let you edit the page you are viewing. Please try editing a page by using this  [[Sandbox|sandbox link]]. We will cover more formatting and special MoodleDoc features below. &lt;br /&gt;
&lt;br /&gt;
=== Show preview ===&lt;br /&gt;
In edit mode, the show preview button at the bottom of the page lets you see what the page will look like after your edit, before you actually save.  We all make mistakes; this feature lets you catch them immediately.  Using Show preview before saving also lets you try format changes and other edits without cluttering up the page history, and has a number of other advantages.  Don&#039;t forget to save your edits after previewing, though!&lt;br /&gt;
&lt;br /&gt;
=== Edit summary ===&lt;br /&gt;
Before saving the page, it&#039;s considered good practice to enter a very brief summary of your changes in the summary box below the edit-box.&lt;br /&gt;
&lt;br /&gt;
== Formatting ==&lt;br /&gt;
&lt;br /&gt;
Most &#039;&#039;&#039;formatting&#039;&#039;&#039;  in MoodleDocs is usually done with MediaWiki markup - you don&#039;t have to learn HTML!&lt;br /&gt;
&lt;br /&gt;
=== Bold and italics ===&lt;br /&gt;
&#039;&#039;&#039;Bolding&#039;&#039;&#039; and &#039;&#039;italicizing&#039;&#039; is done by surrounding a word or phrase with multiple apostrophes (&amp;lt;tt&amp;gt;&#039;&amp;lt;/tt&amp;gt;):&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&#039;&#039;italics&#039;&#039;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; appears as &#039;&#039;italics&#039;&#039;. (2 apostrophes on both sides)&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&#039;&#039;&#039;bold&#039;&#039;&#039;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; appears as &#039;&#039;&#039;bold&#039;&#039;&#039;. (3 apostrophes on both sides)&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&#039;&#039;&#039;&#039;&#039;bolded italics&#039;&#039;&#039;&#039;&#039;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; appears as &#039;&#039;&#039;&#039;&#039;bolded italics&#039;&#039;&#039;&#039;&#039;.  (5 apostrophes on both sides)&lt;br /&gt;
&lt;br /&gt;
=== Headings and subheadings ===&lt;br /&gt;
Headings and subheadings are an easy way to improve the organization of an article. &lt;br /&gt;
&lt;br /&gt;
Headings can be created like this:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;==Top level heading==&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (2 equals signs)&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;===Subheading===&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (3 equals signs)&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;====Another level down====&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (4 equals signs)&lt;br /&gt;
&lt;br /&gt;
If an article has at least four headings, a table of contents will automatically be generated.&lt;br /&gt;
&lt;br /&gt;
=== Indentations ===&lt;br /&gt;
The simplest way of indenting is to place a colon (&amp;lt;code&amp;gt;:&amp;lt;/code&amp;gt;) at the beginning of a line. The more colons you put, the further indented the text will be. A newline marks the end of the indented paragraph e.g.&lt;br /&gt;
:&amp;lt;code&amp;gt;This is aligned all the way to the left.&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;:&amp;lt;/nowiki&amp;gt;This is indented slightly.&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;::&amp;lt;/nowiki&amp;gt;This is indented more.&amp;lt;/code&amp;gt;&lt;br /&gt;
is shown as&lt;br /&gt;
:This is aligned all the way to the left.&lt;br /&gt;
::This is indented slightly.&lt;br /&gt;
:::This is indented more.&lt;br /&gt;
&lt;br /&gt;
=== Lists ===&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!What it looks like&lt;br /&gt;
!What you type&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* &#039;&#039;Unordered lists&#039;&#039; are easy to do:&lt;br /&gt;
** start every line with a star&lt;br /&gt;
*** more stars means deeper levels&lt;br /&gt;
*A newline&lt;br /&gt;
*in a list  &lt;br /&gt;
marks the end of the list.&lt;br /&gt;
&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;* Unordered Lists are easy to do:&lt;br /&gt;
** start every line with a star&lt;br /&gt;
*** more stars means deeper levels&lt;br /&gt;
*A newline&lt;br /&gt;
*in a list  &lt;br /&gt;
marks the end of the list.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
# Numbered lists are also good&lt;br /&gt;
## very organized&lt;br /&gt;
## easy to follow&lt;br /&gt;
#A newline&lt;br /&gt;
#in a list  &lt;br /&gt;
marks the end of the list.&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;# Numbered lists are also good&lt;br /&gt;
## very organized&lt;br /&gt;
## easy to follow&lt;br /&gt;
#A newline&lt;br /&gt;
#in a list  &lt;br /&gt;
marks the end of the list.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Descriptive lists:&lt;br /&gt;
; first tag : accompanying description&lt;br /&gt;
; second tag : more description&lt;br /&gt;
; third tag : surprise! more description&lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;Descriptive lists:&lt;br /&gt;
; first tag : accompanying description&lt;br /&gt;
; second tag : more description&lt;br /&gt;
; third tag : surprise! more description&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Preserving formatting ===&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!What it looks like&lt;br /&gt;
!What you type&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Leading spaces are another way to preserve formatting.&lt;br /&gt;
&lt;br /&gt;
 Putting a space at the beginning of each line&lt;br /&gt;
 stops the text from being reformatted. &lt;br /&gt;
|&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;Leading spaces are another way to preserve formatting.&lt;br /&gt;
&lt;br /&gt;
 Putting a space at the beginning of each line&lt;br /&gt;
 stops the text from being reformatted.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
You can also use &amp;lt;pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;/pre&amp;gt; tags around code and other preformatted text.&lt;br /&gt;
  or use block the text and use the nowiki tool&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
Links to other pages are the heart of a wiki and MoodleDocs.  &lt;br /&gt;
&lt;br /&gt;
=== Wiki links ===&lt;br /&gt;
To make a wiki link, simply put the word in double square brackets, like this: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[Sandbox]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; .  Highlight text and using the &amp;quot;internal link&amp;quot; tool will do this as well.&lt;br /&gt;
&lt;br /&gt;
If you want to use words other than the article title as the text of the link, you can do so by adding the pipe &amp;quot;|&amp;quot; divider followed by the alternative name or text.&lt;br /&gt;
&lt;br /&gt;
For example, if you wanted to make a link to the [[Sandbox]], but wanted it to say &amp;quot;my text&amp;quot; you would write it as: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[Sandbox|my text]]&amp;lt;/nowiki&amp;gt;...&amp;lt;/code&amp;gt; It would appear as: [[Sandbox|my text]]... but would link to the sandbox.&lt;br /&gt;
&lt;br /&gt;
=== External links ===&lt;br /&gt;
&lt;br /&gt;
The easiest way to make an external link is to simply type in the full URL for the page you want to link to e.g. http://moodle.com.&lt;br /&gt;
&lt;br /&gt;
To make the link display something other than the URL, use one square bracket at each end. If you want to make a link to moodle.com, type &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[http://moodle.com/]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
This will display the link as a number in brackets, like this: [http://moodle.com/].  There is also the external link tool which can also assist you.&lt;br /&gt;
&lt;br /&gt;
If you want the link to appear with text that you specify, add an alternative title after the address separated by a &#039;&#039;&#039;space&#039;&#039;&#039; (&#039;&#039;not&#039;&#039; a pipe). So if you want the link to appear as [http://moodle.com Moodle], just type &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[http://moodle.com Moodle] &amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Categories links===&lt;br /&gt;
A catagory is a type of index page, a page of links listed in alphabetical order. In page view mode, a list of catagories that a page is linked to, appears at the bottom.&lt;br /&gt;
To put a page in a category, just type &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[Category:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, and put the name of the category between the colon and the brackets.&lt;br /&gt;
&lt;br /&gt;
To link directly to a category use &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[:Category:Teacher | teacher]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, this will show as [[:Category:Teacher | teacher]], note the preceding &amp;quot;:&amp;quot;, which is different to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[Category:Teacher | teacher]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. The second will put the current page in the teacher category as mentioned above.&lt;br /&gt;
&lt;br /&gt;
This page is linked to the single catagory &amp;quot;MoodleDocs&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
===Inter-language links===&lt;br /&gt;
&lt;br /&gt;
Simply type &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[es:Corresponding page title in Spanish]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; in the English Moodle Docs, or &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[en:Corresponding page title in English]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; in the [[:es:Portada|Spanish Moodle Docs]], at the bottom of the page, below the category link. Inter-language links will appear automatically in the &amp;quot;In other languages&amp;quot; block.&lt;br /&gt;
&lt;br /&gt;
===User-page links===&lt;br /&gt;
User names can be linked to a user page.  For example &amp;lt;nowiki&amp;gt;[[User:Helen Foster|Helen Foster]] &amp;lt;/nowiki&amp;gt; will appear [[User:Helen Foster|Helen Foster]] and link to the user&#039;s page. Comments by other users are generally left on the Users page comment tab.&lt;br /&gt;
&lt;br /&gt;
==Page comments==&lt;br /&gt;
The page comment tab is used for discussion about the page.  Sometimes before making an edit on the page for the first time, it is a good idea to check the page comments. It can be formatted the same as a main page, thus can be used to show a draft of a proposed change.&lt;br /&gt;
&lt;br /&gt;
Talk page contributions may be signed and dated by typing four tildes &amp;lt;nowiki&amp;gt;~~~~&amp;lt;/nowiki&amp;gt;. This will appear as [[User:Helen Foster|Helen Foster]] 06:35, 19 February 2006 (WST), for example.&lt;br /&gt;
&lt;br /&gt;
==Page history==&lt;br /&gt;
The page history tab allows a way to look at changes between different edits. It is also possible to revert (roll back) an edit to a previous version.  Usually this is left to the administrator, but you certainly can rollback your recent edits.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Watch and unwatch page==&lt;br /&gt;
A watched page will appear on &amp;quot;my watchlist&amp;quot; when ever someone edits the page. There is a tab next to history which acts as a toggle between watch and unwatch. There is also at the bottom of the page in edit mode a &amp;quot;Watch this page&amp;quot; check off box.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[http://meta.wikimedia.org/wiki/Help:Editing MediaWiki Help:Editing]&lt;br /&gt;
*[http://meta.wikimedia.org/wiki/Help:HTML_in_wikitext Help:HTML in wikitext]&lt;br /&gt;
*[http://diberri.dyndns.org/html2wiki.html HTML to MediaWiki converter]&lt;br /&gt;
*[http://wikipedia.mozdev.org/ Firefox Wikipedia extension] - The Wikipedia extension makes editing of  wiki pages easier by adding a new toolbar to your browser and by providing new menu items in the context menu (right mouse key).&lt;br /&gt;
*[[Wiki module]] for the wiki included as part of the standard Moodle&lt;br /&gt;
&lt;br /&gt;
[[Category:MoodleDocs]]&lt;br /&gt;
&lt;br /&gt;
[[es:Ayuda:Cómo se edita una página]]&lt;br /&gt;
[[fr:Aide:Comment éditer une page]]&lt;br /&gt;
[[ja:Help:編集方法]]&lt;br /&gt;
[[nl:Meehelpen]]&lt;br /&gt;
[[ru:Справка:Редактирование]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Sandbox&amp;diff=23893</id>
		<title>Sandbox</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Sandbox&amp;diff=23893"/>
		<updated>2007-06-01T10:32:54Z</updated>

		<summary type="html">&lt;p&gt;Topstone: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;abcdef deneme 1 2&lt;br /&gt;
&lt;br /&gt;
Very nice :-)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;strong&amp;gt;Moodle is Great!&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;== אחת שתיים שלו ארבע&lt;br /&gt;
 ==== Headline text ==== Headline text ==&#039;&#039;&#039;Bold text&#039;&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====bbbbbb====&lt;br /&gt;
[[Table]]&lt;br /&gt;
$$ x^2 $$&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;x^2&amp;lt;/math&amp;gt;&lt;br /&gt;
== Headline text ==&lt;br /&gt;
&lt;br /&gt;
== Aesthetic buggery to follow! ==&lt;br /&gt;
&amp;lt;hr size=5&amp;gt;  &lt;br /&gt;
&amp;lt;hr size=10&amp;gt;&lt;br /&gt;
&amp;lt;hr size=20&amp;gt;  &lt;br /&gt;
... well, that&#039;s too bad: &amp;lt;tt&amp;gt; I was expecting to be able to make larger headers! &amp;lt;i&amp;gt;[pout!]&amp;lt;/i&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Interesting.  Don&#039;t know much about HTML but &lt;br /&gt;
#remember this is a Mediawiki.   &lt;br /&gt;
#When I want to try something off the beaten track in MoodleDocs, I [http://meta.wikimedia.org/wiki/Help:Editing#Templates start here with a search on editing tips].&lt;br /&gt;
#Since I am a clutz, I created a web page using a word processor.  Then opened my browser and revealed the page code.  Then placed it below.   So you can make larger headers several ways. chris collman&lt;br /&gt;
::see examples below&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;span style=&#039;font-size:26.0pt&#039;&amp;gt;This is 26.opt test&amp;lt;/span&amp;gt;==&lt;br /&gt;
&lt;br /&gt;
Notice it still is a header just not the default font&lt;br /&gt;
&lt;br /&gt;
===This is a 3rd level - a little smaller===&lt;br /&gt;
&lt;br /&gt;
====This is a 3rd level header - Probably no difference====&lt;br /&gt;
&lt;br /&gt;
== Headline text ==&lt;br /&gt;
&lt;br /&gt;
Martha is a radical&lt;br /&gt;
&lt;br /&gt;
=Is a 1st level header - the larger header topic=&lt;br /&gt;
&lt;br /&gt;
just to see what would happen&lt;br /&gt;
&lt;br /&gt;
=&amp;lt;span style=&#039;font-size:40.0pt&#039;&amp;gt;This  is a 400.opt font test&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hmm...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Just testing it out!&lt;br /&gt;
&lt;br /&gt;
Seems OK!&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Here&#039;s some text.&lt;br /&gt;
:Here&#039;s some indented text.&lt;br /&gt;
::And a bit more indented.&lt;br /&gt;
::::::::::Now you&#039;re just being silly.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[fr:Bac à sable]]&lt;br /&gt;
[[ja:サンドボックス]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=HTML_in_Moodle&amp;diff=23854</id>
		<title>HTML in Moodle</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=HTML_in_Moodle&amp;diff=23854"/>
		<updated>2007-05-31T11:12:12Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;When writing HTML in Moodle, you are free to use almost any HTML tags you like to produce the effect you want.&lt;br /&gt;
&lt;br /&gt;
Note that scripting (eg Javascript or VB Script) is not allowed, and will be removed automatically.&lt;br /&gt;
&lt;br /&gt;
Your code will normally be printed on the page within a table cell, so:&lt;br /&gt;
&lt;br /&gt;
* there is no need to use any &amp;lt;HEAD&amp;gt; or &amp;lt;BODY&amp;gt; tags&lt;br /&gt;
* be careful about unmatched &amp;lt;/TABLE&amp;gt; tags that may mess up the display. &lt;br /&gt;
&lt;br /&gt;
Smilies (emoticons) will be converted into their graphical equivalent, and bare URLs will be converted into links.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
[[HTML editor]] | [[overlib]]&lt;br /&gt;
&lt;br /&gt;
[[ja:MoodleでのHTML]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Development:Coding&amp;diff=23850</id>
		<title>Development:Coding</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Development:Coding&amp;diff=23850"/>
		<updated>2007-05-31T03:46:20Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Any collaborative project needs consistency and stability to stay strong.&lt;br /&gt;
&lt;br /&gt;
These &#039;&#039;&#039;coding guidelines&#039;&#039;&#039; are to provide a goal for all Moodle code to strive to. It&#039;s true that some of the older existing code falls short in a few areas, but it will all be fixed eventually. All new code definitely must adhere to these standards as closely as possible.&lt;br /&gt;
&lt;br /&gt;
==General rules==&lt;br /&gt;
&lt;br /&gt;
# All code files should use the .php extension.&lt;br /&gt;
# All template files should use the .html extension.&lt;br /&gt;
# All text files should use Unix-style text format (most text editors have this as an option).&lt;br /&gt;
# All php tags must be &#039;full&#039; tags like &amp;lt;?php ?&amp;gt; ... not &#039;short&#039; tags like &amp;lt;? ?&amp;gt;.&lt;br /&gt;
# All existing copyright notices must be retained. You can add your own if necessary.&lt;br /&gt;
# Each file should include the main config.php file.&lt;br /&gt;
# Each file should check that the user is authenticated correctly, using require_login() and isadmin(), isteacher(), iscreator() or isstudent().&lt;br /&gt;
# All access to databases should use the functions in &#039;&#039;lib/dmllib.php&#039;&#039; whenever possible - this allows compatibility across a wide range of databases. You should find that almost anything is possible using these functions. If you must write SQL code then make sure it is: cross-platform; restricted to specific functions within your code (usually a lib.php file); and clearly marked.&lt;br /&gt;
# Don&#039;t create or use global variables except for the standard $CFG, $SESSION, $THEME, $SITE, $COURSE and $USER.&lt;br /&gt;
# All variables should be initialised or at least tested for existence using isset() or empty() before they are used.&lt;br /&gt;
# All strings should be translatable - create new texts in the &amp;quot;lang/en_utf8&amp;quot; files with concise English lowercase names and retrieve them from your code using get_string() or print_string(). Never delete strings to ensure backwards compatibility of the language packs is maintained.&lt;br /&gt;
# All errors should be printed using print_error() to maximise translation and help for users (it automatically links to the docs wiki).&lt;br /&gt;
# All help files should be translatable - create new texts in the &amp;quot;lang/en_utf8/help&amp;quot; directory and call them using helpbutton(). If you need to update a help file:&lt;br /&gt;
#* with a minor change, where an old translation of the file would still make sense, then it&#039;s OK to make the change but you should notify translation AT moodle DOT org.&lt;br /&gt;
#* for a major change you should create a new file by adding an incrementing number (eg filename2.html) so that translators can easily see it&#039;s a new version of the file. Obviously the new code and the help index files should also be modified to point to the newest versions.&lt;br /&gt;
# Incoming data from the browser (sent via GET or POST) automatically has magic_quotes applied (regardless of the PHP settings) so that you can safely insert it straight into the database. All other raw data (from files, or from databases) must be escaped with addslashes() before inserting it into the database. Because this is so often done incorrectly, there is more explanation on this issue of adding and stripping slashes on a [[Developer:Slashes|separate page]].&lt;br /&gt;
# VERY IMPORTANT: All texts within Moodle, especially those that have come from users, should be printed using the format_text() function. This ensures that text is filtered and cleaned correctly. More information can be found on the page about [[Development:Output_functions|output functions]].&lt;br /&gt;
# User actions should be logged using the [[Development:Logs|add_to_log()]] function. These logs are used for [[Settings#Show_activity_reports|activity reports]] and [[Logs]].&lt;br /&gt;
# When generating a HTML link, always make it relative to the full site root, i.e. link to  &#039;&#039;$CFG-&amp;gt;wwwroot/mod/blonk/view.php?id=99&#039;&#039; rather than just &#039;&#039;view.php?id=99&#039;&#039;. This means that your code will work if called by a script in another folder, among other things.&lt;br /&gt;
&lt;br /&gt;
==Coding style==&lt;br /&gt;
&lt;br /&gt;
I know it can be a little annoying to change your style if you&#039;re used to something else, but balance that annoyance against the annoyance of all the people trying later on to make sense of Moodle code with mixed styles. There are obviously many good points for and against any style that people use, but the current style just is, so please stick to it.&lt;br /&gt;
&lt;br /&gt;
1. Indenting should be consistently 4 spaces. Don&#039;t use tabs AT ALL.&lt;br /&gt;
&lt;br /&gt;
2. Variable names should always be easy-to-read, meaningful lowercase English words. If you really need more than one word then run them together, but keep them short as possible. Use plural names for arrays of objects.&lt;br /&gt;
&lt;br /&gt;
      GOOD: $quiz&lt;br /&gt;
      GOOD: $errorstring&lt;br /&gt;
      GOOD: $assignments (for an array of objects)&lt;br /&gt;
      GOOD: $i (but only in little loops)&lt;br /&gt;
&lt;br /&gt;
      BAD: $Quiz&lt;br /&gt;
      BAD: $aReallyLongVariableNameWithoutAGoodReason&lt;br /&gt;
      BAD: $error_string&lt;br /&gt;
&lt;br /&gt;
3. Constants should always be in upper case, and always start with the name of the module. They should have words separated by underscores.&lt;br /&gt;
&lt;br /&gt;
      define(&amp;quot;FORUM_MODE_FLATOLDEST&amp;quot;, 1);&lt;br /&gt;
4. Function names should be simple English lowercase words, and start with the name of the module to avoid conflicts between modules. Words should be separated by underscores. Parameters should always have sensible defaults if possible. Note there is no space between the function name and the following (brackets).&lt;br /&gt;
&lt;br /&gt;
      function forum_set_display_mode($mode=0) {&lt;br /&gt;
          global $USER, $CFG;&lt;br /&gt;
          &lt;br /&gt;
          if ($mode) {&lt;br /&gt;
              $USER-&amp;gt;mode = $mode;&lt;br /&gt;
          } else if (empty($USER-&amp;gt;mode)) {&lt;br /&gt;
              $USER-&amp;gt;mode = $CFG-&amp;gt;forum_displaymode;&lt;br /&gt;
          }&lt;br /&gt;
      }&lt;br /&gt;
&lt;br /&gt;
5. Blocks must always be enclosed in curly braces (even if there is only one line). Moodle uses this style:&lt;br /&gt;
&lt;br /&gt;
      if ($quiz-&amp;gt;attempts) {&lt;br /&gt;
          if ($numattempts &amp;gt; $quiz-&amp;gt;attempts) {&lt;br /&gt;
              error($strtoomanyattempts, &amp;quot;view.php?id=$cm-&amp;gt;id&amp;quot;);&lt;br /&gt;
          }&lt;br /&gt;
      }&lt;br /&gt;
&lt;br /&gt;
6. Strings should be defined using single quotes where possible, for increased speed.&lt;br /&gt;
&lt;br /&gt;
      $var = &#039;some text without any variables&#039;;&lt;br /&gt;
      $var = &amp;quot;with special characters like a new line \n&amp;quot;;&lt;br /&gt;
      $var = &#039;a very, very long string with a &#039;.$single.&#039; variable in it&#039;;&lt;br /&gt;
      $var = &amp;quot;some $text with $many variables $within it&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
7. Comments should be added as much as is practical, to explain the code flow and the purpose of functions and variables.&lt;br /&gt;
&lt;br /&gt;
* Every function (and class) should use the popular [http://www.phpdoc.org/ phpDoc format]. This allows code documentation to be generated automatically.&lt;br /&gt;
* Inline comments should use the // style, laid out neatly so that it fits among the code and lines up with it.&lt;br /&gt;
&lt;br /&gt;
      /**&lt;br /&gt;
      * The description should be first, with asterisks laid out exactly&lt;br /&gt;
      * like this example. If you want to refer to a another function,&lt;br /&gt;
      * do it like this: {@link clean_param()}. Then, add descriptions&lt;br /&gt;
      * for each parameter as follows.&lt;br /&gt;
      *&lt;br /&gt;
      * @param int $postid The PHP type is followed by the variable name&lt;br /&gt;
      * @param array $scale The PHP type is followed by the variable name&lt;br /&gt;
      * @param array $ratings The PHP type is followed by the variable name&lt;br /&gt;
      * @return mixed&lt;br /&gt;
      */&lt;br /&gt;
      function forum_get_ratings_mean($postid, $scale, $ratings=NULL) {&lt;br /&gt;
          if (!$ratings) {&lt;br /&gt;
              $ratings = array();     // Initialize the empty array&lt;br /&gt;
              if ($rates = get_records(&amp;quot;forum_ratings&amp;quot;, &amp;quot;post&amp;quot;, $postid)) {&lt;br /&gt;
                  // Process each rating in turn&lt;br /&gt;
                  foreach ($rates as $rate) {&lt;br /&gt;
      ....etc&lt;br /&gt;
&lt;br /&gt;
8. Space should be used liberally - don&#039;t be afraid to spread things out a little to gain some clarity. Generally, there should be one space between brackets and normal statements, but no space between brackets and variables or functions:&lt;br /&gt;
&lt;br /&gt;
      foreach ($objects as $key =&amp;gt; $thing) {&lt;br /&gt;
          process($thing);&lt;br /&gt;
      }&lt;br /&gt;
      &lt;br /&gt;
      if ($x == $y) {&lt;br /&gt;
          $a = $b;&lt;br /&gt;
      } else if ($x == $z) {&lt;br /&gt;
          $a = $c;&lt;br /&gt;
      } else {&lt;br /&gt;
          $a = $d;&lt;br /&gt;
      }&lt;br /&gt;
&lt;br /&gt;
9. When making a COPY of an object, always use the php5 clone() function (otherwise you may end up with just a reference to the first object).  Moodle will make sure this works consistently on php4 too.&lt;br /&gt;
&lt;br /&gt;
      BAD:   $b = $a;&lt;br /&gt;
      GOOD:  $b = clone($a);&lt;br /&gt;
&lt;br /&gt;
If the thing you want to copy is not an object, but may contain objects (eg an array of objects) then use fullclone() instead.&lt;br /&gt;
&lt;br /&gt;
==Database structures==&lt;br /&gt;
&lt;br /&gt;
To help you create tables that meet these guidelines, we recommend you use the built in [[Development:XMLDB_defining_an_XML_structure#The_XMLDB_editor|database definition (XMLDB) editor]].&lt;br /&gt;
&lt;br /&gt;
# Every table must have an auto-incrementing id field (INT10) as primary index. (see [[IdColumnReasons]])&lt;br /&gt;
# The main table containing instances of each module must have the same name as the module (eg widget) and contain the following minimum fields:&lt;br /&gt;
#* id - as described above&lt;br /&gt;
#* course - the id of the course that each instance belongs to&lt;br /&gt;
#* name - the full name of each instance of the module&lt;br /&gt;
# Other tables associated with a module that contain information about &#039;things&#039; should be named widget_things (note the plural).&lt;br /&gt;
# Table and column names should avoid using [[Database reserved words|reserved words in any database]]. Please check them before creation.&lt;br /&gt;
# Column names should be always lowercase, simple and short, following the same rules as for variable names.&lt;br /&gt;
# Where possible, columns that contain a reference to the id field of another table (eg widget) should be called widgetid. (Note that this convention is newish and not followed in some older tables)&lt;br /&gt;
# Boolean fields should be implemented as small integer fields (eg INT4) containing 0 or 1, to allow for later expansion of values if necessary.&lt;br /&gt;
# Most tables should have a timemodified field (INT10) which is updated with a current timestamp obtained with the PHP time() function.&lt;br /&gt;
# Always define a default value for each field (and make it sensible)&lt;br /&gt;
# Each table name should start with the database prefix ($CFG-&amp;gt;prefix). In a lot of cases, this is taken care of for you automatically. Also, under Postgres, the name of every index must start with the prefix too.&lt;br /&gt;
# In order to guarantee [[Development:XMLDB problems#Table and column aliases - the AS keyword|cross-db compatibility]] follow these simple rules about the use of the &#039;&#039;&#039;AS&#039;&#039;&#039; keyword (only if you need table/colum aliases, of course):&lt;br /&gt;
#* &#039;&#039;&#039;Don&#039;t use&#039;&#039;&#039; the &#039;&#039;&#039;AS&#039;&#039;&#039; keyword for &#039;&#039;&#039;table aliases&#039;&#039;&#039;.&lt;br /&gt;
#* &#039;&#039;&#039;Do use&#039;&#039;&#039; the &#039;&#039;&#039;AS&#039;&#039;&#039; keyword for &#039;&#039;&#039;column aliases&#039;&#039;&#039;.&lt;br /&gt;
# &#039;&#039;&#039;Never&#039;&#039;&#039; create UNIQUE KEYs (constraints) at all. Instead use UNIQUE INDEXes. In the future, if we decide to add referential integrity to Moodle and we need UNIQUE KEYs they will be used, but not now. Please note that the XMLDB editor allows you to specify both XMLDB-only UNIQUE and FOREIGN constraints (and that&#039;s good, in order to have the XML well defined) but only underlying INDEXes will be generated. &lt;br /&gt;
# Those XMLDB-only UNIQUE KEYs (read previous point) only must be defined if such field/fields &#039;&#039;&#039;are going to be the target&#039;&#039;&#039; for some (XMLDB-only too) FOREIGN KEY. Else, create them as simple UNIQUE INDEXes.&lt;br /&gt;
# Tables associated &#039;&#039;&#039;with one block&#039;&#039;&#039; must follow this convention with their names: &#039;&#039;&#039;$CFG-&amp;gt;prefix + &amp;quot;block_&amp;quot; + name_of_the_block + anything_else&#039;&#039;&#039;. For example, assuming that $CFG-&amp;gt;prefix is &#039;mdl_&#039;, all the tables for the block &amp;quot;rss_client&amp;quot; must start by &#039;mdl_block_rss_client&#039; (being possible to add more words at the end, i.e. &#039;mdl_block_rss_client_anothertable&#039;...). This rule will be 100% enforced with Moodle 2.0, giving time to developers until then. See [http://tracker.moodle.org/browse/MDL-6786 Task 6786] for more info about this.&lt;br /&gt;
# &#039;&#039;&#039;Never&#039;&#039;&#039; make database changes in the STABLE branches.  If we did, then users upgrading from one stable version to the next would have duplicate changes occurring, which may cause serious errors.&lt;br /&gt;
&lt;br /&gt;
==Security issues (and handling form and URL data)==&lt;br /&gt;
&lt;br /&gt;
# Do not rely on &#039;register_globals&#039;. Every variable must be properly initialised in every code file. It must be obvious where the variable came from.&lt;br /&gt;
# Initialise all arrays and objects, even if empty. $a = array() or $obj = new stdClass();.&lt;br /&gt;
# Do not use the optional_variable() function (this function is now deprecated). Use the optional_param() function instead. Pick the correct PARAM_XXXX value for the data type you expect.&lt;br /&gt;
# Do not use the require_variable() function (this function is now deprecated). Use the required_param() function instead. Pick the correct PARAM_XXXX value for the data type you expect.&lt;br /&gt;
# Use data_submitted(), with care. Data must still be cleaned before use.&lt;br /&gt;
# Do not use $_GET, $_POST or $_REQUEST. Use the appropriate required_param() or optional_param() appropriate to your need.&lt;br /&gt;
# Do not check for an action using something like if (isset($_GET[&#039;something&#039;])). Use, e.g., $something = optional_param( &#039;something&#039;,-1,PARAM_INT ) and then perform proper test for it being in its expected range of values e.g., if ($something&amp;gt;=0) {....&lt;br /&gt;
# Wherever possible group all your required_param(), optional_param() and other variables initialisation at the beginning of each file to make them easy to find.&lt;br /&gt;
# Use &#039;sesskey&#039; mechanism to protect form handling routines from attack. Basic example of use: when form is generated, include &amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;sesskey&amp;quot; value=&amp;quot;&amp;lt;?php echo sesskey(); ?&amp;gt;&amp;quot; /&amp;gt;. When you process the form check with if (!confirm_sesskey()) {error(&#039;Bad Session Key&#039;);}.&lt;br /&gt;
# All filenames must be &#039;cleaned&#039; using the clean_filename() function, if this has not been done already by appropriate use of required_param() or optional_param()&lt;br /&gt;
# Any data read from the database must have [[Developer:Slashes|addslashes()]] applied to it before it can be written back. A whole object of data can be hit at once with addslashes_object().&lt;br /&gt;
# Wherever possible, data to be stored in the database must come from POST data (from a form with method=&amp;quot;POST&amp;quot;) as opposed to GET data (ie, data from the URL line).&lt;br /&gt;
# Do not use data from $_SERVER if you can avoid it. This has portability issues.&lt;br /&gt;
# If it hasn&#039;t been done somewhere else, make sure all data written to the database has been through the clean_param() function using the appropriate PARAM_XXXX for the datatype.&lt;br /&gt;
# If you write custom SQL code, make very sure it is correct. In particular watch out for missing quotes around values. Possible SQL &#039;injection&#039; exploit.&lt;br /&gt;
# Check all data (particularly that written to the database) in every file it is used. Do not expect or rely on it being done somewhere else.&lt;br /&gt;
# Blocks of code to be included should contain a definite PHP structure (e.g, a class declaration, function definition(s) etc.) - straight blocks of code promote uninitialised variable usage.&lt;br /&gt;
&lt;br /&gt;
[[Category:Developer|Coding]]&lt;br /&gt;
&lt;br /&gt;
[[es:Manual de Estilo de Código]]&lt;br /&gt;
[[ja:コーディング]]&lt;br /&gt;
[[zh:代码指南]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Language_packs&amp;diff=23797</id>
		<title>Language packs</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Language_packs&amp;diff=23797"/>
		<updated>2007-05-28T17:04:37Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moodle 1.6}}&lt;br /&gt;
&lt;br /&gt;
Location: &#039;&#039;Administration &amp;gt; Language &amp;gt; Language packs&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Additional language packs may be selected from the list in the right pane and installed directly.&lt;br /&gt;
* The new location for language files is &#039;&#039;moodledata/lang&#039;&#039;.&lt;br /&gt;
* Please note that certain language packs contain only the modified language strings from their parent language, rather than a complete set. Thus, it is necessary to install the parent language pack too. These language packs are:&lt;br /&gt;
** de_du (which requires de)&lt;br /&gt;
** es_mx and es_ar (which require es)&lt;br /&gt;
** fr-ca (which requires fr)&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Upgrading to Moodle 1.6]]&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=48492 Language import utility broken] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category:Language]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Utilitaire d&#039;importation de langues]]&lt;br /&gt;
[[ja:言語インポートユーティリティ]]&lt;br /&gt;
[[zh:语言倒入工具]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Development:Modules&amp;diff=23795</id>
		<title>Development:Modules</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Development:Modules&amp;diff=23795"/>
		<updated>2007-05-28T14:23:09Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Activity modules&#039;&#039;&#039; reside in the &#039;mod&#039; directory. Each module is in a separate subdirectory and consists of the following mandatory elements (plus extra scripts unique to each module):&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;mod.html&#039;&#039; - a form to set up or update an instance of this module&lt;br /&gt;
* &#039;&#039;version.php&#039;&#039; - defines some meta-info and provides upgrading code&lt;br /&gt;
* &#039;&#039;icon.gif&#039;&#039; - a 16x16 icon for the module&lt;br /&gt;
* &#039;&#039;db/&#039;&#039; - SQL dumps of all the required db tables and data (for each database type)&lt;br /&gt;
* &#039;&#039;index.php&#039;&#039; - a page to list all instances in a course&lt;br /&gt;
* &#039;&#039;view.php&#039;&#039; - a page to view a particular instance&lt;br /&gt;
* &#039;&#039;lib.php&#039;&#039; - any/all functions defined by the module should be in here. If the modulename is called widget, then the required functions include:&lt;br /&gt;
:* widget_add_instance() - code to add a new instance of widget&lt;br /&gt;
:* widget_update_instance() - code to update an existing instance&lt;br /&gt;
:* widget_delete_instance() - code to delete an instance&lt;br /&gt;
:* widget_user_outline() - given an instance, return a summary of a user&#039;s contribution&lt;br /&gt;
:* widget_user_complete() - given an instance, print details of a user&#039;s contribution&lt;br /&gt;
:* Other functions available but not required are:&lt;br /&gt;
:** widget_delete_course() - code to clean up anything that would be leftover after all instances are deleted&lt;br /&gt;
:** widget_process_options() - code to pre-process the form data from module settings&lt;br /&gt;
:* To avoid possible conflict, any module functions should be named starting with widget_ and any constants you define should start with WIDGET_&lt;br /&gt;
* &#039;&#039;config.html&#039;&#039; - (optional) a form to set up or update global settings of this module&lt;br /&gt;
* Lastly, each module will have some language files that contain strings for that module.&lt;br /&gt;
&lt;br /&gt;
IMPORTANT: When creating a new module, the new name of the module must not contain numbers or other special characters! &lt;br /&gt;
&lt;br /&gt;
You should also make sure that your activity module provides appropriate support for groups and metacourses. &lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* http://download.moodle.org/download.php/modules/NEWMODULE.zip - new module template for starting module development. Please follow the README instructions inside the zip.&lt;br /&gt;
* Using Moodle [http://moodle.org/course/view.php?id=5 Activity modules] forum&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=66165 A new resource type: where do I put the language strings?] forum discussion&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=65986 New Module Template Code for Moodle 1.7] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category:Developer]]&lt;br /&gt;
[[Category:Modules]]&lt;br /&gt;
&lt;br /&gt;
[[es:Módulos de actividades (desarrollador)]]&lt;br /&gt;
[[ja:モジュール (開発者)]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Teaching_with_Moodle&amp;diff=23794</id>
		<title>Teaching with Moodle</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Teaching_with_Moodle&amp;diff=23794"/>
		<updated>2007-05-28T14:20:24Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Objective:&#039;&#039;&#039; To organize and share resources and &amp;quot;good practices&amp;quot; so that teachers and students have a positive Moodle experience that enhances the learning process.  The resources presented will focus on the pedagogical implementation of Moodle in a classroom setting (whatever that classroom may look like).&lt;br /&gt;
&lt;br /&gt;
*[[The Good Teacher]] - The best place for a teacher contemplating using Moodle in their classroom to start learning as well as a great place for experienced Moodlers to remember why they began using it.&lt;br /&gt;
&lt;br /&gt;
*[[Teaching Do&#039;s]] &amp;amp; [[Teaching Don&#039;ts]] - Good general/pedagogical guidelines to consider when setting up a course in Moodle and introducing students to it.&lt;br /&gt;
&lt;br /&gt;
*[[Learning Activities Overview]] - A list of the different activities available within Moodle, as well as what type of learning strategy they employ, suggested age level, and a link to each activity&#039;s pedagogy page.&lt;br /&gt;
&lt;br /&gt;
*[[Moodle Stories]] - This is a subset of the &#039;&#039;[http://moodle.org/mod/forum/view.php?f=127 Moodle Stories]&#039;&#039; forum.  It contains a collection of innovative ways teachers are utilizing [http://www.moodle.org Moodle] in their classroom.  This is a great place for teachers who like the idea of Moodle and what it has to offer, but could benefit from ideas to start from.&lt;br /&gt;
&lt;br /&gt;
*[[Teaching FAQ | Common Teacher Questions (FAQs)]]&lt;br /&gt;
&lt;br /&gt;
*[[Teaching Good Practices (K-12) | Good Practices (K-12)]]&lt;br /&gt;
&lt;br /&gt;
*[[NECC 06 Collaboration Session | NECC 2006 Bird&#039;s of a Feather Session]] - Notes from the NECC 2006 Bird&#039;s of a Feather Session.  The focus is on using Moodle in educational settings with ideas about how to use it and hints too.&lt;br /&gt;
&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=61228 How teaching is changing using Moodle] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Enseigner avec Moodle]]&lt;br /&gt;
[[ja:Moodleで教える]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Metacourse&amp;diff=23793</id>
		<title>Metacourse</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Metacourse&amp;diff=23793"/>
		<updated>2007-05-28T14:18:17Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A &#039;&#039;&#039;metacourse&#039;&#039;&#039; automatically enrolls participants from other &amp;quot;child&amp;quot; courses.  Metacourses take their enrollments from other courses. This feature can populate many courses from one enrollment or one course from many enrollents. &lt;br /&gt;
&lt;br /&gt;
For example, a course is part of a program (metacourse).  Each time a student enrols in (or unenrols from) this course, they are enrolled/unenrolled from any metacourse(s) associated with it. &lt;br /&gt;
&lt;br /&gt;
Please note that metacourse enrolments do not preserve groups and enrolment does not happen immediately.&lt;br /&gt;
&lt;br /&gt;
==Metacourse setup==&lt;br /&gt;
Teachers are able to choose whether a course is a metacourse via the &amp;quot;Is this a metacourse?&amp;quot; (yes/no) menu option in the [[Course settings|course settings]]. In Moodle 1.5 and 1.6, if a meta course is chosen, the [[Students|students]] page changes from listing/searching for students to listing/searching for courses.  In Moodle 1.7 &amp;quot;Child courses&amp;quot; appears in the teacher&#039;s administration block.&lt;br /&gt;
&lt;br /&gt;
==Metacourse examples==&lt;br /&gt;
Metacourses may be used in a variety of ways:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Scenario 1:&#039;&#039;&#039; X is a metacourse with Course 1 through 4 as normal courses with standard student enrollments. Students enrolling on these courses are automatically enrolled onto Metacourse X. &lt;br /&gt;
&lt;br /&gt;
[[Image:Metacourses1_en.jpg|Standard Metacourse Usage]]&lt;br /&gt;
&lt;br /&gt;
For example, a math teacher or department has 2 algebra and 2 geometry courses. The teacher or department wants course for each of these subjects. But they also want a generic space where they can post things for all of the students in all of their courses, perhaps including compulsory work for all students.  By making algebra 1 &amp;amp; 2 and geometry 1 &amp;amp; 2 as each as part of a Math metacourse, they acheive this goal. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Scenario 2:&#039;&#039;&#039; Metacourses 1-4 are linked to Y which is a normal course. Students enrolling on Course Y are automatically enrolled on Metacourses  1-4. This would be used, for example, when all five courses are intended to have exactly the same students. &lt;br /&gt;
&lt;br /&gt;
[[Image:Metacourses2_en.jpg|Upsidedown Metacourse Usage]]&lt;br /&gt;
&lt;br /&gt;
In both diagrams you can see students being enrolled normally into standard courses and then the entire student list of a course being added to the Metacourse.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Scenario 3:&#039;&#039;&#039; One or more meta courses are used as a library of resources and activities.  For example, the English department has collected material useful in writing papers. Teachers can direct or embed a link to a specific reference about citations, or how to select a topic for a paper or suggested reading compiled by students.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Scenario 4:&#039;&#039;&#039; The metacourse feature can also be used &amp;quot;in reverse.&amp;quot;  Say you have a Diploma program that involves courses D1, D2, D3, and D4.  In this case, you would create a &amp;quot;Diploma&amp;quot; course as a normal course (non-metacourse).  You would then designate programs D1 through D4 as metacourses (plus completing the student enrollment task under Course Administration).  When a student enrolls in &amp;quot;Diploma&amp;quot;, he or she will be automatically enrolled in courses D1 through D4.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=48901 Metacourses?], [http://moodle.org/mod/forum/discuss.php?d=54389 Metacourses and Roles in 1.7] and [http://moodle.org/mod/forum/discuss.php?d=39438 Best reference for describing a metacourse] forum discussions&lt;br /&gt;
&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
[[Category:Enrolment]]&lt;br /&gt;
&lt;br /&gt;
[[es:Metacourses]]&lt;br /&gt;
[[fr:Méta-cours]]&lt;br /&gt;
[[ja:メタコース]]&lt;br /&gt;
[[ru:Метакурсы]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Migration&amp;diff=23792</id>
		<title>Migration</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Migration&amp;diff=23792"/>
		<updated>2007-05-28T14:16:59Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Migrating to/from Moodle ==&lt;br /&gt;
&lt;br /&gt;
*[[WebCT migration|Migrating from WebCT]] (whether Campus Edition or Vista) to Moodle&lt;br /&gt;
*[[Blackboard migration|Migrating from Blackboard]] to Moodle&lt;br /&gt;
*[[Learnwise migration|Migrating from Learnwise]] to Moodle&lt;br /&gt;
*[[Migration from Moodle|Migrating to another system]] from Moodle&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous import/export ==&lt;br /&gt;
* [[Import PowerPoint]] into lesson feature in 1.6&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=24572 Import Powerpoint html to lesson] forum discussion&lt;br /&gt;
*[http://www.openoffice.org/ OpenOffice] - this software can be used to convert Powerpoint files to Flash animations, which can then be loaded into Moodle&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Developer]]&lt;br /&gt;
[[ja:移行作業]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Messaging&amp;diff=23791</id>
		<title>Messaging</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Messaging&amp;diff=23791"/>
		<updated>2007-05-28T14:16:11Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Site-wide messaging may be disabled/enabled by the Administrator in the permissions section of &#039;&#039;Administration &amp;gt; Configuration &amp;gt; Variables&#039;&#039; (1.6) or in &#039;&#039;Administration &amp;gt; Security &amp;gt; Site policies&#039;&#039; (1.7 onwards).&lt;br /&gt;
&lt;br /&gt;
Unlike [[Forums]] and [[Chats]], Messaging is non-course specific i.e. students may send messages to each other regardless of whether they are enrolled on the same course. Your profile page contains a &amp;quot;Messages&amp;quot; button for opening the Messages window. Alternatively, to encourage the use of messaging in your course, you may wish to add a [[Messages block]] and/or an [[Online Users block]] to your course page.&lt;br /&gt;
&lt;br /&gt;
==Sending messages==&lt;br /&gt;
&lt;br /&gt;
To send a message to an individual:&lt;br /&gt;
#In the Messages window click on the Search tab to search for the person, if appropriate checking the box &amp;quot;Only in my courses&amp;quot;, then click on their name. (Alternatively, if the person is listed in the Online Users block, simply click on the &amp;quot;Add/send message&amp;quot; envelope opposite their name.)&lt;br /&gt;
#Type the message in the pop-up box then click on the &amp;quot;Send message&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
To send a message to selected course participants (for teachers only):&lt;br /&gt;
#Click on the Participants link in the People bock on the course page.&lt;br /&gt;
#Select participants from the list or use the &amp;quot;Select all&amp;quot; button at the bottom of the list.&lt;br /&gt;
#Choose &amp;quot;Add/send message&amp;quot; from the &amp;quot;With selected users...&amp;quot; drop-down menu.&lt;br /&gt;
#Type the message then click the &amp;quot;Preview&amp;quot; button.&lt;br /&gt;
#Assuming you are satisfied with the message, click the &amp;quot;Send&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
==Reading and replying to messages==&lt;br /&gt;
&lt;br /&gt;
When you are sent a message, the Messages window will pop-up. Also, the Messages block will display the name of the person sending the message with a link to read the message. If you have set the email option (see Message Settings below), then you will get a copy of the message in your email after the time you have specified if you are not logged in.&lt;br /&gt;
&lt;br /&gt;
After reading a message, you may type a reply then click on the &amp;quot;Send message&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
==Searching messages==&lt;br /&gt;
&lt;br /&gt;
In addition to searching for people, the Search tab in the Messages window provides the option to search for keywords, only messages to or from you, and to include in the search people you have previously blocked from contacting you.&lt;br /&gt;
&lt;br /&gt;
[[Image:MsgSearch.jpg|frame|none|Message window Search tab]]&lt;br /&gt;
&lt;br /&gt;
==Managing contacts==&lt;br /&gt;
&lt;br /&gt;
People may be added to your list of contacts (or blocked from contacting you) by clicking the &amp;quot;Add contact&amp;quot; (or &amp;quot;Block contact&amp;quot;) icon opposite their name in the Messages window.&lt;br /&gt;
&lt;br /&gt;
By default the contact list is empty. In order to send a message or to create a shortcut to the person you are sending, go to the Search tab. &lt;br /&gt;
&lt;br /&gt;
[[Image:MsgContacts.jpg|frame|none|Message window Contacts tab]]&lt;br /&gt;
&lt;br /&gt;
==Message history==&lt;br /&gt;
&lt;br /&gt;
A record of messages sent to/from a person may obtained by clicking the &amp;quot;History&amp;quot; icon opposite their name in the Messages window.&lt;br /&gt;
&lt;br /&gt;
==Message settings==&lt;br /&gt;
&lt;br /&gt;
Message settings may be changed via the Settings tab in the Messages window.&lt;br /&gt;
&lt;br /&gt;
Here you can decide on having a popup Message window whenever you get a new message, blocking messages from people who are not on your Contacts list, having an audio signal for a new message, using a HTML editor, or getting email messages when you are offline.&lt;br /&gt;
&lt;br /&gt;
[[Image:MsgSettings.jpg|frame|none|Message window Settings tab]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[Messaging enhancements]]&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/view.php?f=476 Messaging forum]&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=58977 How can I see student messages?] forum discussion&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=34972 Viewing old messages?] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category: Teacher]]&lt;br /&gt;
[[Category: Messaging]]&lt;br /&gt;
&lt;br /&gt;
[[es:Mensajería]]&lt;br /&gt;
[[fr:Messagerie]]&lt;br /&gt;
[[ja:メッセージング]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Environment&amp;diff=23790</id>
		<title>Environment</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Environment&amp;diff=23790"/>
		<updated>2007-05-28T14:13:01Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This setting allows administrators compare their server with the minimum requirements for hosting a particular version of moodle.&lt;br /&gt;
&lt;br /&gt;
==1.5.3==&lt;br /&gt;
&lt;br /&gt;
*MySQL version - 3.23 or later is required&lt;br /&gt;
*PHP version - 4.1.0 or later is required &lt;br /&gt;
*The php_extension mbstring is recommended to be installed/enabled&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==1.6==&lt;br /&gt;
&lt;br /&gt;
*MySQL version 4.1.12 or later for sites that are exclusively [http://czyborra.com/charsets/iso8859.html Latin-1], 4.1.16 if you have other languages, or PostgreSQL 7.4.x or later.&lt;br /&gt;
*PHP version 4.3.0 or later is required (but don&#039;t use versions 5.0.0 to 5.0.6 which were buggy)&lt;br /&gt;
*The php_extension iconv is recommended to be installed/enabled&lt;br /&gt;
*The php_extension mbstring is recommended to be installed/enabled&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Environnement]]&lt;br /&gt;
[[ja:環境]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=LDAP_authentication&amp;diff=23788</id>
		<title>LDAP authentication</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=LDAP_authentication&amp;diff=23788"/>
		<updated>2007-05-28T14:10:19Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document describes how to set up Lightweight Directory Access Protocol (LDAP) authentication in Moodle.  We cover the basic, advanced and some trouble shooting sections to assist the user in the installation and administrating LDAP in Moodle.  &lt;br /&gt;
&lt;br /&gt;
==Basic Scenario==&lt;br /&gt;
The simple and straightforward approach  for most installations.&lt;br /&gt;
&lt;br /&gt;
===Assumptions===&lt;br /&gt;
&lt;br /&gt;
# Your Moodle site is located at &#039;&#039;&#039;http://your.moodle.site/&#039;&#039;&#039;&lt;br /&gt;
# You have configured your PHP installation with the LDAP extension. It is loaded and activated, and it shows when you go to &#039;&#039;&#039;http://your.moodle.site/admin/phpinfo.php&#039;&#039;&#039; (logged in as user &#039;admin&#039;).&lt;br /&gt;
# Your LDAP server has &#039;&#039;&#039;192.168.1.100&#039;&#039;&#039; as its IP address.&lt;br /&gt;
# You are not using LDAP with SSL (also known as LDAPS) in your settings. This might prevent certain operations from working (e.g., you cannot update data if you are using MS Active Directory -- MS-AD from here on --), but should be OK if you just want to authenticate your users.&lt;br /&gt;
# You don&#039;t want your users to change their passwords the first time they log in into Moodle.&lt;br /&gt;
# You are using a single domain as the source of your authentication data in case you are using MS-AD (more on this in the Appendices).&lt;br /&gt;
# You are using a top level distinguished name (DN) of &#039;&#039;&#039;dc=my,dc=organization,dc=domain&#039;&#039;&#039; as the root of your LDAP tree. &lt;br /&gt;
# You have a non-privileged LDAP user account you will use to bind to the LDAP server. This is not necessary with certain LDAP servers, but MS-AD requires this and it won&#039;t hurt if you use it even if your LDAP server doesn&#039;t need it. Make sure &#039;&#039;&#039;this account and its password don&#039;t expire&#039;&#039;&#039;, and make this password as strong as possible. Remember you only need to type this password once, when configuring Moodle, so don&#039;t be afraid of making it as hard to guess as possible. Let&#039;s say this user account has a DN of &#039;&#039;&#039;cn=ldap-user,dc=my,dc=organization,dc=domain&#039;&#039;&#039;, and password &#039;&#039;&#039;hardtoguesspassword&#039;&#039;&#039;.&lt;br /&gt;
# All of your Moodle users are in an organizational unit (OU) called &#039;&#039;&#039;moodleusers&#039;&#039;&#039;, which is right under your LDAP root. That OU has a DN of &#039;&#039;&#039;ou=moodleusers,dc=my,dc=organization,dc=domain&#039;&#039;&#039;.&lt;br /&gt;
# You &#039;&#039;&#039;don&#039;t&#039;&#039;&#039; want your LDAP users&#039; passwords to be stored in Moodle at all.&lt;br /&gt;
&lt;br /&gt;
===Configuring Moodle authentication===&lt;br /&gt;
&lt;br /&gt;
Log in as an admin user and go to Administration &amp;gt;&amp;gt; Users &amp;gt;&amp;gt; Authentication. In the drop down listbox titled  &amp;quot;Choose an authentication method&amp;quot; select &amp;quot;Use an LDAP Server&amp;quot;. You will get a page similar to this one:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::: [[Image:auth_ldap_config_screenshot.jpg]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, you just have to fill in the values. Let&#039;s go step by step.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
! Field name&lt;br /&gt;
! Value to fill in&lt;br /&gt;
|-&lt;br /&gt;
| ldap_host_url&lt;br /&gt;
| As the IP of your LDAP server is 192.168.1.100, type &amp;quot;&#039;&#039;&#039;ldap://192.168.1.100&#039;&#039;&#039;&amp;quot; (without the quotes).&lt;br /&gt;
|-&lt;br /&gt;
| ldap_version&lt;br /&gt;
| Unless you are using a really old LDAP server, &#039;&#039;&#039;version 3&#039;&#039;&#039; is the one you should choose.&lt;br /&gt;
|-&lt;br /&gt;
| ldap_preventpassindb&lt;br /&gt;
| As you &#039;&#039;&#039;don&#039;t&#039;&#039;&#039; want to store the users&#039;s password in Moodle&#039;s database, choose &#039;&#039;&#039;Yes&#039;&#039;&#039; here.&lt;br /&gt;
|-&lt;br /&gt;
| ldap_bind_dn&lt;br /&gt;
| This is the distinguished name of the bind user defined above. Just type &amp;quot;&#039;&#039;&#039;cn=ldap-user,dc=my,dc=organization,dc=domain&#039;&#039;&#039;&amp;quot; (without the quotes).&lt;br /&gt;
|-&lt;br /&gt;
| ldap_bind_pw&lt;br /&gt;
| This is the bind user password defined above. Type &amp;quot;&#039;&#039;&#039;hardtoguesspassword&#039;&#039;&#039;&amp;quot; (without the quotes).&lt;br /&gt;
|-&lt;br /&gt;
| ldap_user_type&lt;br /&gt;
| Choose: &lt;br /&gt;
* &#039;&#039;&#039;Novel Edirectory&#039;&#039;&#039; if your LDAP server is running Novell&#039;s eDdirectory.&lt;br /&gt;
* &#039;&#039;&#039;posixAccount (rfc2307)&#039;&#039;&#039; if your LDAP server is running a RFC-2307 compatible LDAP server (choose this is your server is running OpenLDAP).&lt;br /&gt;
* &#039;&#039;&#039;posixAccount (rfc2307bis)&#039;&#039;&#039; if your LDAP server is running a RFC-2307bis compatible LDAP server.&lt;br /&gt;
* &#039;&#039;&#039;sambaSamAccount (v.3.0.7)&#039;&#039;&#039; if your LDAP server is running with SAMBA&#039;s 3.x LDAP schema extension and you want to use it.&lt;br /&gt;
* &#039;&#039;&#039;MS ActiveDirectory&#039;&#039;&#039; if your LDAP server is running Microsoft&#039;s Active Directory (MS-AD)&lt;br /&gt;
|-&lt;br /&gt;
| ldap_contexts&lt;br /&gt;
| The DN of the context (container) where all of your Moodle users are found. Type &#039;&#039;&#039;ou=moodleusers,dc=my,dc=organization,dc=domain&#039;&#039;&#039; here.&lt;br /&gt;
|-&lt;br /&gt;
| ldap_search_sub&lt;br /&gt;
| If you have any sub organizational units (subcontexts) hanging from &#039;&#039;&#039;ou=moodleusers,dc=my,dc=organization,dc=domain&#039;&#039;&#039; and you want Moodle to search there too, set this to &#039;&#039;&#039;yes&#039;&#039;&#039;. Otherwise, set this to &#039;&#039;&#039;no&#039;&#039;&#039;.&lt;br /&gt;
|-&lt;br /&gt;
| ldap_opt_deref&lt;br /&gt;
| Sometimes your LDAP server will tell you that the real value you are searching for is in fact in another part of the LDAP tree (this is called an alias). If you want Moodle to &#039;dereference&#039; the alias and fetch the real value from the original location, set this to &#039;&#039;&#039;yes&#039;&#039;&#039;. If you don&#039;t want Moodle to dereference it, set this to &#039;&#039;&#039;no&#039;&#039;&#039;. If you are using MS-AD, set this to &#039;&#039;&#039;no&#039;&#039;&#039;.&lt;br /&gt;
|-&lt;br /&gt;
| ldap_user_attribute&lt;br /&gt;
| The attribute used to name/search users in your LDAP tree. This option takes a default value based on the &#039;&#039;ldap_user_type&#039;&#039; value you choosed above. &amp;lt;u&amp;gt;So unless you need something special, you don&#039;t need to fill this in&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
By the way, it&#039;s usually &#039;&#039;&#039;cn&#039;&#039;&#039; (Novell eDirectory and MS-AD) or &#039;&#039;&#039;uid&#039;&#039;&#039; (RFC-2037, RFC-2037bis and SAMBA 3.x LDAP extension), but if you are using MS-AD you could use &#039;&#039;&#039;sAMAccountName&#039;&#039;&#039; (the pre-Windows 2000 logon account name) if you need too.&lt;br /&gt;
|-&lt;br /&gt;
| ldap_memberattribute&lt;br /&gt;
| The attribute used to list the members of a given group. This option takes a default value based on the &#039;&#039;ldap_user_type&#039;&#039; value you choosed above. &amp;lt;u&amp;gt;So unless you need something special, you don&#039;t need to fill this in.&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By the way, the usual values are &#039;&#039;&#039;member&#039;&#039;&#039; and &#039;&#039;&#039;memberUid&#039;&#039;&#039;.&lt;br /&gt;
|-&lt;br /&gt;
| ldap_objectclass&lt;br /&gt;
| The type of LDAP object used to search for users. This option takes a default value based on the &#039;&#039;ldap_user_type&#039;&#039; value you choosed above. &amp;lt;u&amp;gt;So unless you need something special, you don&#039;t need to fill this in.&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here are the default values for each of the &#039;&#039;ldap_user_type&#039;&#039; values:&lt;br /&gt;
* &#039;&#039;&#039;User&#039;&#039;&#039; for Novel eDirectory&lt;br /&gt;
* &#039;&#039;&#039;posixAccount&#039;&#039;&#039; for RFC-2037 and RFC-2037bis&lt;br /&gt;
* &#039;&#039;&#039;sambaSamAccount&#039;&#039;&#039; for SAMBA 3.0.x LDAP extension&lt;br /&gt;
* &#039;&#039;&#039;user&#039;&#039;&#039; for MS-AD&lt;br /&gt;
|-&lt;br /&gt;
| Force change password&lt;br /&gt;
| Set this to &#039;&#039;Yes&#039;&#039; if you want to force your users to change their password on the first login into Moodle. Otherwise, set this to &#039;&#039;no&#039;&#039;. Bear in mind the password they are forced to change is the one stored in your LDAP server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;As you don&#039;t want your users to change their passwords in their first login, leave this set to &#039;&#039;No&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Use standard Change Password Page&lt;br /&gt;
|&lt;br /&gt;
* Setting this to &#039;&#039;Yes&#039;&#039; makes Moodle use it&#039;s own standard password change page, everytime users want to change their passwords.&lt;br /&gt;
* Setting this to &#039;&#039;No&#039;&#039; makes Moodle use the the page specified in the field called &amp;quot;Change password URL&amp;quot; (at the bottom of the configuration page).&lt;br /&gt;
&lt;br /&gt;
Bear in mind that changing your LDAP passwords from Moodle might require a LDAPS connection (this is true at least for MS-AD).&lt;br /&gt;
&lt;br /&gt;
Also, code for changing passwords from Moodle for anything but Novell eDirectory is almost not tested, so this may or may not work for other LDAP servers.&lt;br /&gt;
|-&lt;br /&gt;
| ldap_expiration&lt;br /&gt;
| &lt;br /&gt;
* Setting this to &#039;&#039;No&#039;&#039; will make Moodle not to check if the password of the user has expired or not.&lt;br /&gt;
* Setting this to &#039;&#039;LDAP&#039;&#039; will make Moodle check if the LDAP password of the user has expired or not, and warn her a number of days before the password expires.&lt;br /&gt;
&lt;br /&gt;
Current code only deals with Novell eDirectory LDAP server, but there is a patch floating around to make it work with MS-AD too (search in the authentication forum).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;So unless you have Novell eDirectory server (or use the patch), choose &#039;&#039;No&#039;&#039; here.&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ldap_expiration_warning&lt;br /&gt;
| This value sets how many days in advance of password expiration the user is warned that her password is about to expire.&lt;br /&gt;
|-&lt;br /&gt;
| ldap_exprireattr&lt;br /&gt;
| The LDAP user attribute used to check password expiration. This option takes a default value based on the &#039;&#039;ldap_user_type&#039;&#039; value you choosed above. &amp;lt;u&amp;gt;So unless you need something special, you don&#039;t need to fill this in.&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ldap_gracelogins&lt;br /&gt;
| This setting is specific to Novell eDirectory. If set to &#039;&#039;Yes&#039;&#039;, enable LDAP gracelogin support. After password has expired the user can login until gracelogin count is 0.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;So unless you have Novell eDirectory server and want to allow gracelogin support, choose &#039;&#039;No&#039;&#039; here.&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ldap_graceattr&lt;br /&gt;
| This setting is currently not used in the code (and is specific to Novell eDirectory). &lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;So you don&#039;t need to fill this in.&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ldap_create_context&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| ldap_creators&lt;br /&gt;
| The DN of the group that contains all of your Moodle creators. This is typically a posixGroup with a &amp;quot;memberUid&amp;quot; attribute for each user you want to be a creator.  If your group is called &#039;&#039;creators&#039;&#039;, type &#039;&#039;&#039;cn=creators,ou=moodleusers,dc=my,dc=organization,dc=domain&#039;&#039;&#039; here.  Each memberUid attribute contains the CN of a user who is authorized to be a creator.  Do not use the user&#039;s full DN (e.g.,  not &#039;&#039;&#039;memberUid: cn=JoeTeacher,ou=moodleusers,dc-my,dc=organizations,dc=domain&#039;&#039;&#039;, but rather &#039;&#039;&#039;memberUid: JoeTeacher&#039;&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
In eDirectory, the objectClass for a group is (by default) not &#039;&#039;&#039;posixGroup&#039;&#039;&#039; but &#039;&#039;&#039;groupOfNames,&#039;&#039;&#039; whose member attribute is &#039;&#039;&#039;member,&#039;&#039;&#039; not &#039;&#039;&#039;memberUid,&#039;&#039;&#039; and whose value is the full DN of the user in question.  Although you can probably modify Moodle&#039;s code to use this field, a better solution is just to add a new &#039;&#039;&#039;objectClass&#039;&#039;&#039; attribute of &#039;&#039;&#039;posixGroup&#039;&#039;&#039; to your creators group and put the CNs for each creator in a &#039;&#039;&#039;memberUid&#039;&#039;&#039; attribute.&lt;br /&gt;
&lt;br /&gt;
In MS Active Directory, you will need to create a security group for your creators to be part of and then add them all. If your ldap context above is &#039;ou=staff,dc=my,dc=org&#039; then your group should then be &#039;cn=creators,ou=staff,dc=my,dc=org&#039;. If some of the users are from other contexts and have been added to the same security group, you&#039;ll have to add these as separate contexts after the first one using the same format.&lt;br /&gt;
|-&lt;br /&gt;
| First name&lt;br /&gt;
| The name of the attribute that holds the first name of your users in your LDAP server. This is usually &#039;&#039;&#039;givenName&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Surname&lt;br /&gt;
| The name of the attribute that holds the surname of your users in your LDAP server. This is usually &#039;&#039;&#039;sn&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Email address&lt;br /&gt;
| The name of the attribute that holds the email address of your users in your LDAP server. This is usually &#039;&#039;&#039;mail&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Phone 1&lt;br /&gt;
| The name of the attribute that holds the telephone number of your users in your LDAP server. This is usually &#039;&#039;&#039;telephoneNumber&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Phone 2&lt;br /&gt;
|  The name of the attribute that holds an additional telephone number of your users in your LDAP server. This can be &#039;&#039;&#039;homePhone&#039;&#039;&#039;, &#039;&#039;&#039;mobile&#039;&#039;&#039;, &#039;&#039;&#039;pager&#039;&#039;&#039;, &#039;&#039;&#039;facsimileTelephoneNumber&#039;&#039;&#039; or even others.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Department&lt;br /&gt;
| The name of the attribute that holds the department name of your users in your LDAP server. This is usully &#039;&#039;&#039;departmentNumber&#039;&#039;&#039; (for posixAccount and maybe eDirectory) or &#039;&#039;&#039;department&#039;&#039;&#039; (for MS-AD).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Address&lt;br /&gt;
| The name of the attribute that holds the street address of your users in your LDAP server. This is usully &#039;&#039;&#039;streetAddress&#039;&#039;&#039; or &#039;&#039;&#039;street&#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| City/town&lt;br /&gt;
| The name of the attribute that holds the city/town of your users in your LDAP server. This is usully &#039;&#039;&#039;l&#039;&#039;&#039; (lowercase L) or &#039;&#039;&#039;localityName&#039;&#039;&#039; (not valid in MS-AD).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt; &lt;br /&gt;
|-&lt;br /&gt;
| Country&lt;br /&gt;
| The name of the attribute that holds the couuntry of your users in your LDAP server. This is usully &#039;&#039;&#039;c&#039;&#039;&#039; or &#039;&#039;&#039;countryName&#039;&#039;&#039; (not valid in MS-AD).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Description&lt;br /&gt;
| &#039;&#039;&#039;description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ID Number&lt;br /&gt;
| &lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Language&lt;br /&gt;
| &#039;&#039;&#039;preferredLanguage&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;This setting is optional&amp;lt;/u&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Instructions&lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The rest of the fields are common to all authentication methods and will not be discussed here..&lt;br /&gt;
&lt;br /&gt;
==Active Directory Troubleshooting Help==&lt;br /&gt;
&lt;br /&gt;
===Warning: The PHP LDAP module does not seem to be present. Please ensure it is installed and enabled.===&lt;br /&gt;
This usually means that the main ldap dll or one of the supporting dlls are missing.&lt;br /&gt;
Let&#039;s start with the main one itself. &lt;br /&gt;
Browse to http://(moodleserver)/admin/phpinfo.php and examine the &amp;quot;Configuration File (php.ini) Path&amp;quot; field to determine which php.ini is being used and open it with an editor. Find the line &#039;extension=php_ldap.dll&#039; and take out the semi-colon if it is there. That semi-colon will stop it loading the module all together! &lt;br /&gt;
While you have that file open, search for &#039;extension_dir&#039; and note which folder it is set to. Open that folder and ensure the php_ldap.dll file is in there. If it isn&#039;t then put it in there.&lt;br /&gt;
If that still hasn&#039;t fixed it you are missing a supporting dll, but you don&#039;t get told that. To see what dlls are missing open the Command Prompt and navigate to the php directory and execute the following line &#039;php -m&#039;. You should get some error messages now. Ugly, but at least they give you information! Find the dlls listed and copy them to the php directory. You may now need to restart the apache/httpd service. Run &#039;php -m&#039; again and you should be error free and the message in Moodle should be gone now.&lt;br /&gt;
&lt;br /&gt;
===LDAP-module cannot connect any LDAP servers : Server: &#039;ldap://my.ldap.server/&#039; Connection: &#039;Resource id #26&#039; Bind result: &#039;&#039;===&lt;br /&gt;
Getting this message when you are trying to log in is a result of incorrect details for the Bind user, or the user account having insufficient permissions in Active Directory. The best way to test and resolve this is use ldp.exe to test binding until it suceeds. There are instructions on installing ldp.exe below.&lt;br /&gt;
Open the program and Connect to AD, giving the server name, then from the Connection menu choose Bind. Enter the details you think are correct and you will probably find that an error is returned. Try adjusting the accounts priveleges or another account until you are returned an &amp;quot;Authenticated as&amp;quot; message.&lt;br /&gt;
Once you are sure your account can be used to bind to AD, check that the DN of that users name is correct. Expand the tree on the left until you find the user you used to bind. Right click on that item and choose Copy DN. Go to the User Authentication page in Moodle and paste the value into the ldap_bind_dn field. Add the password and you can now feel safe your user is binding sucessfully.&lt;br /&gt;
&lt;br /&gt;
===Getting correct CNs for Contexts and Creators===&lt;br /&gt;
For those not familiar with AD this could be very confusing, and not that easy for some who are familiar with it. Again, ldp.exe is your friend. There are instructions on installing ldp.exe below.&lt;br /&gt;
Open it up and expand the tree on the left until you find the group or user you want to use and right click on it and select Copy DN. Go back to the Moodle User Authentication page and paste that value into either ldap_contexts or ldap_creators.&lt;br /&gt;
&lt;br /&gt;
===Getting the right user_attribute===&lt;br /&gt;
By default, Moodle uses an accounts cn (full name) to verify against, but most networks don&#039;t use a full given name for logon as it&#039;s too easy to guess and you can easily have two people with the same name. If this is the case for you too you need to tell Moodle to look at another field for the logon id.&lt;br /&gt;
In ldp.exe navigate the tree on the left to find a user account, preferably your own. Double-click the item in the tree and full-details will be loaded into the screen on the right. Look down the details until you find your logon id and note the item listed against it. For me, and a lot of people, it is sAMAccountName. Copy this name and paste it into the ldap_user_attribute on the Moodle User Authentication page.&lt;br /&gt;
There are instructions on installing ldp.exe below.&lt;br /&gt;
&lt;br /&gt;
===Installing ldp.exe Server Tool===&lt;br /&gt;
ldp.exe comes as part of the Server Tools on most versions of Windows Server. Find your Windows Server installation disc and find a folder on it called Support\Tools. In there will be a SupTools.msi which will install the server tools if run. You should now have a folder under Program Files called Support Tools, in which will be ldp.exe. ldp.exe is also available in the Windows XP Support Tools, which you can download from Microsoft [http://www.microsoft.com/downloads/details.aspx?FamilyId=49AE8576-9BB9-4126-9761-BA8011FABF38&amp;amp;displaylang=en here]. Alternatively, a single download of ldp.exe is available [http://www.computerperformance.co.uk/w2k3/utilities/ldp.htm here].&lt;br /&gt;
&lt;br /&gt;
===Example Active Directory Configuration===&lt;br /&gt;
Below is an example configuration for Active Directory. As detailed above, the values may vary based on your local Active Directory configuration, but should provide a good starting point for most cases.&lt;br /&gt;
&lt;br /&gt;
 ldap_host_url = ldap://ads.example.com&lt;br /&gt;
 ldap_version = 3&lt;br /&gt;
 ldap_preventpassindb = yes&lt;br /&gt;
 ldap_bind_dn = bind-user@example.com&lt;br /&gt;
 ldap_bind_pw = bind-password&lt;br /&gt;
 ldap_user_type = MS ActiveDirectory&lt;br /&gt;
 ldap_contexts = ou=moodleusers,dc=example,dc=com&lt;br /&gt;
 ldap_user_attribute = sAMAccountName&lt;br /&gt;
&lt;br /&gt;
==Advanced Scenarios - Multiple servers or locations==&lt;br /&gt;
For larger installations with  multiple LDAP servers, or multiple locations (contexts) in a LDAP tree.&lt;br /&gt;
&lt;br /&gt;
===Using multiple LDAP Servers===&lt;br /&gt;
Entering more than one name in the ldap_host_url field can provide some sort of resilience to your system. Simply use the syntax :&lt;br /&gt;
ldap://my.first.server ; ldap://my.second.server ; ...&lt;br /&gt;
&lt;br /&gt;
Of course, this will only work if all the servers share the same directory information, using a replication or synchronization mecanism once introduced in eDirectory and now generalized to the main LDAP-compatible directories.&lt;br /&gt;
&lt;br /&gt;
There is one drawback in Moodle 1.5 - 1.6 implementation of LDAP authentication : the auth_ldap_connect() function processes the servers sequentially, not in a round robin mode. Thus, if the primary server fails, you will have to wait for the connection to time out before switching to the following one.&lt;br /&gt;
&lt;br /&gt;
===Using multiple user locations (contexts) in your LDAP tree===&lt;br /&gt;
There is no need to use multiple user locations if your directory tree is flat, i.e. if all user accounts reside in a &#039;&#039;&#039;ou=people,dc=my,dc=organization,dc=domain&#039;&#039;&#039; or &#039;&#039;&#039;ou=people,o=myorg&#039;&#039;&#039; container. &lt;br /&gt;
&lt;br /&gt;
At the opposite, if you use the ACL mecanism to delegate user management, there are chances that your users will be stored in containers like &#039;&#039;&#039;ou=students,ou=dept1,o=myorg&#039;&#039;&#039; and &#039;&#039;&#039;ou=students,ou=dept2,o=myorg&#039;&#039;&#039; ...&lt;br /&gt;
&lt;br /&gt;
Then there is an alternative :&lt;br /&gt;
* Look at the &#039;&#039;&#039;o=myorg&#039;&#039;&#039; level with the ldap_search_sub attribute set to &#039;&#039;&#039;yes&#039;&#039;&#039;.&lt;br /&gt;
* Set the ldap_context to &#039;&#039;&#039;ou=students,ou=dept1,o=myorg ; ou=students,ou=dept2,o=myorg&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Choosing between these two solutions supposes some sort of benchmarking, as the result depends heavily on the structure of your directory tree &#039;&#039;&#039;and&#039;&#039;&#039; on your LDAP software indexing capabilities. Simply note that there is a probability in such deep trees that two users share the same &#039;&#039;common name&#039;&#039; (cn), while having different &#039;&#039;distinguished names&#039;&#039;. Then only the second solution will have a deterministic result (returning allways the same user).&lt;br /&gt;
&lt;br /&gt;
===Using LDAPS (LDAP + SSL)===&lt;br /&gt;
====MS Active Directory + SSL ====&lt;br /&gt;
&lt;br /&gt;
If the Certificate Authority is not installed you&#039;ll have to install it first as follows:&lt;br /&gt;
# Click &#039;&#039;&#039;Start&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;Control Panel&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;Add or Remove programs.&#039;&#039;&#039;&lt;br /&gt;
# Click &#039;&#039;&#039;Add/Remove Windows Components&#039;&#039;&#039; and select &#039;&#039;&#039;Certificate Services.&#039;&#039;&#039;&lt;br /&gt;
# Follow the procedure provided to install the &#039;&#039;&#039;Certificate Authority&#039;&#039;&#039;. Enterprise level is a good choice.&lt;br /&gt;
&lt;br /&gt;
Verify that SSL has been enabled on the server by installing suptools.msi from Windows installation cd&#039;s \Support\tools directory. After support tools installation:&lt;br /&gt;
# Select &#039;&#039;&#039;Start&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;Run&#039;&#039;&#039;, write &#039;&#039;&#039;ldp&#039;&#039;&#039; in the Open field.&lt;br /&gt;
# From the ldp window select &#039;&#039;&#039;Connection&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;Connect&#039;&#039;&#039; and supply valid hostname and port number &#039;&#039;&#039;636&#039;&#039;&#039;. Also select the SSL check box.&lt;br /&gt;
&lt;br /&gt;
If successful, you should get information about the connection.&lt;br /&gt;
&lt;br /&gt;
Next step is to tell PHP&#039;s OpenLDAP extension to disable SSL certificate checking. On Windows servers you&#039;re most likely using pre-compiled PHP version, where you must create a path &#039;&#039;C:\OpenLDAP\sysconf&#039;&#039;. In this path create a file called &amp;quot;ldap.conf&amp;quot; with content:&lt;br /&gt;
&lt;br /&gt;
 TLS_REQCERT never.&lt;br /&gt;
&lt;br /&gt;
Now you should be able to use &#039;&#039;&#039;ldaps://&#039;&#039;&#039; when connecting to MS-AD.&lt;br /&gt;
&lt;br /&gt;
==Appendices==&lt;br /&gt;
&lt;br /&gt;
===Child Domains and the Global Catalog in MS Active Directory===&lt;br /&gt;
&lt;br /&gt;
Moodle currently only has limited support for multiple domain controllers; specifically it expects each of the LDAP servers listed to contain identical sets of information. If you have users in multiple domains this presents an issue. One solution when working with MS-AD is to use the Global Catalog. The Global Catalog is designed to be a read-only, partial representation of an entire MS-AD forest, designed for searching the entire directory when the domain of the required object is not known.&lt;br /&gt;
&lt;br /&gt;
For example your organisation has a main domain example.org, staff and students are contained in two child domains staff.example.org and students.example.org. The 3 domains (example.org, staff.example.org and students.example.org) each have a domain controller (dc01, dc02 and dc03 respectively.) Each domain controller contains a full, writable, representation of only the objects that belong to its domain. However, assuming that the Global Catalog has been enabled (see below) on one of the domain controllers (for example dc01) a query to the Global Catalog would reveal matching objects from all three domains. The Global Catalog is automatically maintained through replication across the active directory forest, it can also be enabled on multiple servers (if, for example, you need redundancy / load balancing.)&lt;br /&gt;
&lt;br /&gt;
To make use of this in Moodle to allow logins from multiple domains is simple. The Global Catalog runs on port 3268 as opposed to 389 for standard LDAP queries. As a result, still assuming the Global Catalog is running on dc01, the &#039;&#039;&#039;&#039;ldap_host_url&#039;&#039;&#039;&#039; would be &#039;&#039;ldap://dc01.example.org:3268&#039;&#039;. The rest of the settings are the same as for other MS-AS Auth setups.&lt;br /&gt;
&lt;br /&gt;
You should use the &#039;&#039;&#039;&#039;ldap_contexts&#039;&#039;&#039;&#039; setting to indicate the locations of individuals you wish to grant access. To extend the example above a little: In the example.org domain users are all in the&#039;&#039; &#039;Users&#039; &#039;&#039;OU, in the staff.example.org domain users are in two OUs at the root of the domain,&#039;&#039; &#039;Support Staff&#039; &#039;&#039;and&#039;&#039; &#039;Teaching Staff&#039; &#039;&#039;, and in the students.example.org domain students are in an OU indicating the year that they enrolled, all of which are under the&#039;&#039; &#039;Students&#039; &#039;&#039;OU. As a result our &#039;&#039;&#039;&#039;ldap_contexts&#039;&#039;&#039;&#039; setting may look a little like this:&#039;&#039; &#039;OU=Users,DC=example,DC=org; OU=Support Staff,DC=staff,DC=example,DC=org; OU=Teaching Staff,DC=staff,DC=example,DC=org; OU=Students,DC=students,DC=example,DC=org&#039;&#039;.&#039; The &#039;&#039;&#039;&#039;ldap_search_sub&#039;&#039;&#039;&#039; option should be set to&#039;&#039; &#039;Yes&#039; &#039;&#039;to allow moodle to search within the child OUs.&lt;br /&gt;
&lt;br /&gt;
Its worth noting that the Global Catalog only contains a partial representation of the attributes of each object, as defined in the Partial Attribute Set supplied by Microsoft. However common information likely to be of use to a general Moodle installation (Forename, Surname, Email Address, sAMAccountName etc) is included in the set. For specific needs the schema can be altered to remove or add various attributes.&lt;br /&gt;
&lt;br /&gt;
In most cases the Global Catalog is read-only, update queries must be made over the standard LDAP ports to the domain controller that holds the object in question (in our example, updating a student&#039;s details would require an LDAP query to the students.example.org domain controller - dc03, it would not be possible to update details by querying the Global Catalog.) The exception to this would be in an environment where there is only a single domain in the active directory forest; in this case the Global Catalog holds a writable full set of attributes for each object in the domain. However, for the purposes of Moodle authorisation, there would be no need to use the Global Catalog in this case.&lt;br /&gt;
&lt;br /&gt;
===Enabling the Global Catalog===&lt;br /&gt;
&lt;br /&gt;
The Global Catalog is available on Windows 2000 and Windows 2003 Active Directory servers. To enable, open the ‘Active Directory Sites and Services’ MMC (Microsoft Management Console) snap-in. Extend ‘Sites’ and then the name of the Site containing the active directory forest you wish to use. Expand the server you wish to enable the Global Catalog on, right click ‘NTDS settings’ and select the ‘Properties’ tab. To enable, simply click the ‘Global Catalog’ checkbox. Under a Windows 2000 server it is necessary to restart the server (although it won’t prompt you to); under Windows 2003 server it is not necessary to restart the server. In either case you will generally have to wait for the AD forest to replicate before the Global Catalog offers a representation of the entire AD forest. Changes made in Active Directory will also be subject to a short delay due to the latency involved with replication. If your AD servers are firewalled port 3268 will need to be opened for Global Catalog servers.&lt;br /&gt;
If your organisation uses Microsoft Exchange then it its highly likely that at least one Domain Controller will already have Global Catalog enabled – Exchange 2000 and 2003 rely on the Global Catalog for address information, users also access the Global Catalog when using the GAL (Global Address List)&lt;br /&gt;
&lt;br /&gt;
===ldap auth_user_create() only suports Novell===&lt;br /&gt;
&lt;br /&gt;
After configuring user authentication with ldap I realized ldap only support edir (Novell) when combining ldap an email user confirmation. For example in my case (I use openldap) I have the following error after filling the user form:&lt;br /&gt;
&lt;br /&gt;
auth: ldap auth_user_create() does not support selected usertype:&amp;quot;rfc2307&amp;quot; (..yet)&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[http://moodle.org/mod/forum/view.php?id=42 Using Moodle: User authentication] forum&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=32168 PHP LDAP module does not seem to be present] forum discussion&lt;br /&gt;
* [[LDAP enrolment]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Authentication]]&lt;br /&gt;
&lt;br /&gt;
[[es:LDAP_authentication]]&lt;br /&gt;
[[fr:Utiliser un serveur LDAP]]&lt;br /&gt;
[[ja:LDAP認証]]&lt;br /&gt;
[[zh:LDAP认证]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Maintenance_mode&amp;diff=23787</id>
		<title>Maintenance mode</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Maintenance_mode&amp;diff=23787"/>
		<updated>2007-05-28T14:07:47Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The idea of maintenance mode is to prevent any users other than admin to use the site while the maintenance process takes place.&lt;br /&gt;
&lt;br /&gt;
When students/guests/teachers try access a course in maintenance mode, they will obtain a message saying the course is in maintenance mode. A customized message may be added, perhaps stating when the site will be available again or giving the reason for doing maintenance.&lt;br /&gt;
&lt;br /&gt;
If for some reason the webinterface is not available you can also put the Moodle installation in maintenance mode by creating a file called &#039;&#039;maintenance.html&#039;&#039; in the folder called &#039;&#039;1&#039;&#039; in your moodle data folder. Any text in that file will be displayed to users trying to access anything other than the frontpage.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=46451 Maintenance mode?] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Mode de maintenance]]&lt;br /&gt;
[[ja:メンテナンスモード]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Backup_and_restore_FAQ&amp;diff=23785</id>
		<title>Backup and restore FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Backup_and_restore_FAQ&amp;diff=23785"/>
		<updated>2007-05-28T14:05:43Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{FAQ}}&lt;br /&gt;
;Site backups&lt;br /&gt;
:Site backups, as explained in [[Upgrading_Moodle#Backup_important_data|upgrading Moodle]], are recommended in order to have all data saved with the best confidence and the shortest recovery time.&lt;br /&gt;
&lt;br /&gt;
;Course backups&lt;br /&gt;
:Course backups, configured on the [[admin/backup|backup]] page, are more expensive in terms of time and CPU usage. The recovery time to have your site running again is longer. Course backups are useful for obtaining &amp;quot;fresh&amp;quot; copies of courses to be re-used or distributed individually, however they should never be used as a primary backup system (unless your hosting doesn&#039;t allow the preferred site backups). In order to make scheduled backups, you have to set up CRON to run periodically. Please refer to the [[Cron|cron instructions]].&lt;br /&gt;
&lt;br /&gt;
==How do I backup my whole Moodle site?==&lt;br /&gt;
&lt;br /&gt;
There are two main things you need to make a copy of - the database and the uploaded files. The Moodle scripts themselves are less important, since you can always download a fresh copy if you have to.&lt;br /&gt;
&lt;br /&gt;
There are many ways to do such backups. Here is an outline of a little script you can run on Unix to backup the database (it works well to have such a script run daily via a cron task):&lt;br /&gt;
&lt;br /&gt;
 cd /my/backup/directory&lt;br /&gt;
 mv moodle-database.sql.gz moodle-database-old.sql.gz&lt;br /&gt;
 mysqldump -h example.com -u myusername --password=mypassword -C -Q -e -a mydatabasename &amp;gt; moodle-database.sql&lt;br /&gt;
 gzip moodle-database.sql&lt;br /&gt;
&lt;br /&gt;
For the files, you can use rsync regularly to copy only the changed files to another host:&lt;br /&gt;
&lt;br /&gt;
 rsync -auvtz --delete -e ssh mysshusername@example.com:/my/server/directory /my/backup/directory/&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Character Encoding&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When dumping the entire Moodle database, Administrators should be careful to watch for possible character encoding issues. In some instances, backups created with mysqldump or phpmyadmin may not properly encode all of the data resulting in spurious A characters. One solution is to use mySQL Administrator 1.1 or another tool that will force a UTF-8 dump of the data.&lt;br /&gt;
&lt;br /&gt;
==How do I restore a backup of my whole Moodle site?==&lt;br /&gt;
&lt;br /&gt;
If you have followed the above instructions and created a backup of a Moodle site, you may need to know how to restore the site backup you created.  Here is a set of basic steps that make up the restore process.&lt;br /&gt;
&lt;br /&gt;
1. Rename the original moodle directory to something different (so you still have it) and copy the backed up moodle directory or a newly downloaded moodle directory in its place.&lt;br /&gt;
&lt;br /&gt;
2. If you are running mysql, a backup of the database should be a .sql, .gz or .tar.gz file.  If it is .tar.gz or .gz you need to extract it until it is an sql file.&lt;br /&gt;
&lt;br /&gt;
 tar -xzvf moodlesqlfile.tar.gz&lt;br /&gt;
&lt;br /&gt;
3. If you are running mysql, import the sql file back into a newly created database on the mysql server.  Be careful here, some backups try to import right back into the same working database that moodle is connected to.  This causes database problems that damage a Moodle installation.  The best thing to do is make a new database, restore the backed up database into it, and change the Moodle config.php file to connect to this new database (this way you still have the original database).&lt;br /&gt;
&lt;br /&gt;
once you have created the new database:&lt;br /&gt;
 mysql -p new_database &amp;lt; moodlesqlfile.sql&lt;br /&gt;
&lt;br /&gt;
==What data is not contained in course backups?==&lt;br /&gt;
&lt;br /&gt;
By selecting all the options when setting up the backup you can include almost all the data in the course. However you should be aware of the fact that some things are not backed up:&lt;br /&gt;
* Quiz questions are only backed up if at least one question from their category has been added to a quiz.&lt;br /&gt;
* Scales are only backed up if they are used by at least one activity.&lt;br /&gt;
&lt;br /&gt;
==Error: An error occurred deleting old backup data==&lt;br /&gt;
&lt;br /&gt;
This part of the backup (or restore) procedure tries to delete old info, used in previous executions, performing the following tasks:&lt;br /&gt;
&lt;br /&gt;
* Delete old records from &amp;quot;backup_ids&amp;quot; table: Check the table exists, repair it and try again.&lt;br /&gt;
&lt;br /&gt;
* Delete old records from &amp;quot;backup_files&amp;quot; table: Check the table exists, repair it and try again.&lt;br /&gt;
&lt;br /&gt;
* Delete old files from &amp;quot;moodledata/temp/backup&amp;quot;: Delete the dir completely and try again.&lt;br /&gt;
&lt;br /&gt;
There are various ways of repairing tables, including using MySQL Admin.&lt;br /&gt;
&lt;br /&gt;
==XML error: not well-formed (invalid token) at line YYYY==&lt;br /&gt;
&lt;br /&gt;
This problem can appear at any point in the restore process. It&#039;s caused when the XML parser detects something incorrect in the backup file that prevent correct operation. Usually, it&#039;s caused by some &amp;quot;illegal&amp;quot; characters added in the original course due to some copy/paste of text containing them (control characters, or invalid sequences...).&lt;br /&gt;
&lt;br /&gt;
The best method to handle this issue is:&lt;br /&gt;
&lt;br /&gt;
* Unzip the problematic backup file under one empty folder.&lt;br /&gt;
&lt;br /&gt;
* Open the moodle.xml with Firefox. It will show you where (exact char) the problem is happening.&lt;br /&gt;
&lt;br /&gt;
* Edit the moodle.xml file with some UTF8-compatible editor and delete such characters. Save changes.&lt;br /&gt;
&lt;br /&gt;
* Test the moodle.xml file again with Firefox until no error was displayed.&lt;br /&gt;
&lt;br /&gt;
* Zip everything again (all the folder contents but not the folder itself!).&lt;br /&gt;
&lt;br /&gt;
* Restore the course. It should work now.&lt;br /&gt;
&lt;br /&gt;
* Restore still not working? See the next paragraph.&lt;br /&gt;
&lt;br /&gt;
Also, if possible, it&#039;s highly recommended to solve those problems in the original course too from Moodle itself. Once &amp;quot;repaired&amp;quot; there, problems will be out if you create new backup files in the future.&lt;br /&gt;
&lt;br /&gt;
==Still XML error: how to clean xml borked file==&lt;br /&gt;
&lt;br /&gt;
In some cases XML backup files may contain characters causing the restore process to abort, even after the steps described in the previous paragraph. In such cases you may want to try the following:&lt;br /&gt;
&lt;br /&gt;
* Download the [http://repository.atlassian.com/atlassian-xml-cleaner/jars/atlassian-xml-cleaner-0.1.jar Atlassian XML Cleanr Utility] from the [http://confluence.atlassian.com/display/JIRA/Removing+invalid+characters+from+XML+backups JIRA Atlassian site].&lt;br /&gt;
&lt;br /&gt;
* Unzip the problematic Moodle backup file under one empty folder. Moodle will create the course file folders as long as the unclean moodle.xml file. Please unzip using the Moodle unzip feature.&lt;br /&gt;
&lt;br /&gt;
* Rename the unclean moodle.xml file to moodle-unclean.xml. &lt;br /&gt;
&lt;br /&gt;
* If you don&#039;t have access to your Moodle server&#039;s command prompt, using the Moodle zip feature, zip the moodle-unclean.xml file only, download the zip file locally and unzip it. It is very important to download the xml file in zipped format to avoid unwanted charachter encoding when transferring from an operating system to another.&lt;br /&gt;
&lt;br /&gt;
* Move the downloaded Atlassian XML Cleaner Utility in the same folder where is your moodle-unclean.xml file.&lt;br /&gt;
&lt;br /&gt;
* Issue the following command from the command prompt: &lt;br /&gt;
&lt;br /&gt;
 java -jar atlassian-xml-cleaner-0.1.jar moodle-unclean.xml &amp;gt; moodle.xml&lt;br /&gt;
&lt;br /&gt;
* If you launched the utility on your local computer, zip the just created (and hopefully cleaned) moodle.xml file and upload it in the same place from where you downloaded the moodle-unclean.xml file. Once uploaded, unzip it using the Moodle unzip feature.&lt;br /&gt;
&lt;br /&gt;
* Zip everything again (all the folder contents but the folder itself!).&lt;br /&gt;
&lt;br /&gt;
* Restore the course. It should work now.&lt;br /&gt;
&lt;br /&gt;
==Some of your courses weren&#039;t saved!!==&lt;br /&gt;
&lt;br /&gt;
There are three possible causes of this problem:&lt;br /&gt;
# Error - this happens when the backup procedure has found an error and so hasn&#039;t finished the backup of a particular course. These are &amp;quot;controlled&amp;quot; errors and the scheduled backup continues with the next course.&lt;br /&gt;
# Unfinished - this happens when the backup procedure dies without knowing why. When the cron is next executed it detects that the last execution went wrong, and continues skipping the problematic course. A possible solution would be to raise the PHP/Apache limit in your installation (memory, time of execution...). By taking a look to your log tables you should be able to see if the &amp;quot;crash&amp;quot; is happening at exact time intervals (usually a problem with the max_execution_time php&#039;s variable), or if there is some exact point were all the courses are breaking (generally internal zip libraries, try to switch to external executables instead).&lt;br /&gt;
# Skipped - this happens when a course is unavailable to students and has not been changed in the last month (31 days). This isn&#039;t an error situation - it&#039;s a feature, especially useful for sites with many unavailable old courses, saving process time.&lt;br /&gt;
&lt;br /&gt;
==Restoring pre 1.6 non-ISO-8859-1 backups to Moodle 1.6 - Unicode==&lt;br /&gt;
&lt;br /&gt;
Any backup files with contents which are not 100% ISO-8859-1 will be a problem to restore to Moodle 1.6 (and upwards) running under Unicode. Instead, please try the following:&lt;br /&gt;
&lt;br /&gt;
# Make a clean install of Moodle 1.5.x (the latest version available)&lt;br /&gt;
# Restore all your courses there (they should work if they were working originally)&lt;br /&gt;
# Upgrade your site to Moodle 1.6 and run the UTF-8 migration script&lt;br /&gt;
# Backup your courses again&lt;br /&gt;
&lt;br /&gt;
This will produce a new set of backup files that will be 100% UTF-8 and you will be able to use them with Moodle 1.6 without any problems.&lt;br /&gt;
&lt;br /&gt;
==Why are some courses being skipped?==&lt;br /&gt;
&lt;br /&gt;
From 1.6 onwards, course backups automatically skip courses which are unavailable to students AND have not been changed in the last month.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/view.php?f=128 Backup and Restore forum]&lt;br /&gt;
*[[Backup restore]] Version 1.6 description of screens for both&lt;br /&gt;
*[[Restore]] almost same as backup_restore&lt;br /&gt;
*[[Roll courses forward]] new Version 1.7 option&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=66708 Scheduled backup fails] forum discussion including possible solution to &amp;quot;An error occured while copying files&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
&lt;br /&gt;
*[http://www.databasejournal.com/features/mysql/article.php/10897_3300511_2 Repairing Database Corruption in MySQL]&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:Backup]]&lt;br /&gt;
&lt;br /&gt;
[[es:FAQ Backup]]&lt;br /&gt;
[[fr:FAQ de sauvegarde]]&lt;br /&gt;
[[ja:バックアップFAQ]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Automated_course_backup&amp;diff=23784</id>
		<title>Automated course backup</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Automated_course_backup&amp;diff=23784"/>
		<updated>2007-05-28T14:04:23Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The backup configuration page enables administrators to configure automated course backups and a backup schedule.  This menu can be found in the administration block under configuration.&lt;br /&gt;
&lt;br /&gt;
*Course backups are more expensive in terms of time and CPU usage. The recovery time to have your site running again is longer. &lt;br /&gt;
*Course backups are useful for obtaining &amp;quot;fresh&amp;quot; copies of courses to be re-used or distributed individually, however they should never be used as a primary backup system (unless your hosting doesn&#039;t allow the preferred site backups). &lt;br /&gt;
*In order to make scheduled course backups, you have to setup CRON to run periodically. Have a look at [[Cron|Set up cron]] for details.&lt;br /&gt;
*Site backups, as explained in [[Upgrading_Moodle#Backup_important_data|upgrading Moodle]], are recommended in order to have all data saved with the best confidence and the shorter recovery time.&lt;br /&gt;
{{Moodle 1.6}}&lt;br /&gt;
*From 1.6 onwards, course backups automatically skip courses which are unavailable to students AND have not been changed in the last month.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Backup FAQ]]&lt;br /&gt;
*[[Backup restore]]&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Backup]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Sauvegarde (administrateur)]]&lt;br /&gt;
[[ja:バックアップ (管理者)]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/400/en/index.php?title=Filters&amp;diff=23783</id>
		<title>Filters</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/400/en/index.php?title=Filters&amp;diff=23783"/>
		<updated>2007-05-28T14:03:28Z</updated>

		<summary type="html">&lt;p&gt;Topstone: link to Japanese&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Filters&#039;&#039;&#039; allow for the automatic transformation of entered text into different, often more complex forms. For example the titles of [[Resources|resources]] can automatically become hyperlinks that take you to the relevant resource, URLs pointing to [[mp3]] files can become [[Flash]] controls embedded in the webpage that let you pause and rewind the audio. The possibilities are endless and there are a number of standard filters included with Moodle and many more specialized filters contributed by the community.&lt;br /&gt;
&lt;br /&gt;
Filters are one of Moodle&#039;s pluggable resources and may be added or removed simply by using a file manager to add or remove them from the /filters directory.  Moodle detects those that are present and makes them available to use.  &lt;br /&gt;
&lt;br /&gt;
In versions prior to 1.7, the filters manager and individual filter settings may be found in the site administration block &amp;gt;&amp;gt; [[Configuration]] &amp;gt;&amp;gt; Filters.  In 1.7 it can be found in the administration block &amp;gt;&amp;gt; Modules &amp;gt;&amp;gt; Filters.&lt;br /&gt;
&lt;br /&gt;
[[Image:Filters_configuration_table.JPG|thumb|300px|left|Moodle 1.6 Filters administration]] &lt;br /&gt;
Prior to Moodle 1.6 the filters administration screen has two columns - &#039;&#039;&#039;active&#039;&#039;&#039; and &#039;&#039;&#039;inactive&#039;&#039;&#039;. The arrows are used to move filters from one column to the other. Only filters in the active column will be applied. Note that up and down arrows are provided to the left of the &#039;&#039;&#039;active&#039;&#039;&#039; column to enable the order in which filters are applied to be changed. In some cases this can be significant.&lt;br /&gt;
{{Moodle 1.6}}&lt;br /&gt;
Moodle 1.6 has a more unified administration screen (similar to the modules and blocks administration screens). &lt;br /&gt;
 &lt;br /&gt;
The filters administration screen enables individual filters to be shown (enabled) or hidden (disabled). Only enabled filters will be applied to displayed text. The order in which filters are applied to displayed text can be significant - you can change the order in which enabled filters are applied using the up and down buttons. The enabled filters are applied from the top of the list down. Some filters have their own settings screen. Please refer to the documentation for the individual filter for more information.&lt;br /&gt;
&lt;br /&gt;
Underneath the filter selection area, there are fields which control the cache.&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both;&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Filters==&lt;br /&gt;
&lt;br /&gt;
*Activity Names Auto-linking - This scans text for activity titles that exist in the same course and creates a link.&lt;br /&gt;
*[[Algebra filter|Algebra]] - This filter will convert algebra code into GIF images. It requires the tex filter to be installed ([[#TeX notation|see below]]). Note also that your system must also include the following Perl module: HTML::Entities.pm&lt;br /&gt;
*Database auto-linking - As the name suggests, this filter enables automatic linking of [[Database module]] entries.&lt;br /&gt;
*Email Protection - This filter scans the text for any email addresses. Where found they are changed to reduce the chance of being added to a spammers list.&lt;br /&gt;
*Glossary auto-linking - As the name suggests, this filter enables automatic linking of [[Glossary module]] entries. In addition to this filter, individual glossary entries should have the &amp;quot;This entry should be automatically linked&amp;quot; box checked.&lt;br /&gt;
*[[Multi language content]] - This filter enables resources to be created in multiple languages. It looks for &amp;amp;lt;span&amp;amp;nbsp;lang=&amp;quot;xx&amp;quot; class=&amp;quot;multilang&amp;quot;&amp;amp;gt;...&amp;amp;lt;/span&amp;amp;gt; tags which indicate that a text contains multiple languages. Then it selects and outputs the best language for the current user. The language of the resource will change when the user changes their selected Moodle language. Please note: going to the past, the multilang filter supported the &amp;amp;lt;lang&amp;amp;gt; tag. Then, officially, we changed it to the standard HTML &amp;amp;lt;span&amp;amp;gt; tag and the &amp;amp;lt;lang&amp;amp;gt; solution is now deprecated.&lt;br /&gt;
*[[Multimedia plugins]]&lt;br /&gt;
*Resource Names Auto-linking - The titles of [[Resources]] can automatically become hyperlinks that take you to the relevant resource within the same course.&lt;br /&gt;
*[[TeX filter|TeX notation]]&lt;br /&gt;
*Tidy - This filter checks whether HTML code is XHTML compliant, tidying where necessary. To make this filter work you need to have PHP compiled with the libtidy option; see http://www.php.net/tidy. The Using Moodle discussion [http://moodle.org/mod/forum/discuss.php?d=28418 Tidy Filter for Moodle 1.5] contains more details.&lt;br /&gt;
*Wiki Page Auto-linking&lt;br /&gt;
*[[Word censorship]] - This filter &amp;quot;blacks out&amp;quot; words found on a list.&lt;br /&gt;
&lt;br /&gt;
==Cache Controls==&lt;br /&gt;
{{Moodle 1.6}}&lt;br /&gt;
*Text cache lifetime - To reduce load on the server and to speed display of pages, Moodle can store previously processed pages (that have not changed) for a period of time. This setting controls the time for which processed pages are stored. A longer setting may improve performance but has the effect that changes to pages may not become visible for a time. You can switch caching off completely here.&lt;br /&gt;
*Filter uploaded files - This setting enables uploaded files (HTML and text only) to be processed by the filters system. You can choose to have none, only HTML or all files filtered.&lt;br /&gt;
*Filter match once per page - This setting effects the glossary, activity and resource linking filters. If set to yes, only the first match on the complete page will be converted to a link. All others will be ignored.&lt;br /&gt;
*Filter match once per text - This setting effects the glossary, activity and resource linking filters. If set to yes, only the first match in a discrete block of text will be converted to a link. All others in that text block will be ignored.&lt;br /&gt;
*Filter all strings - When set to yes, almost all Moodle text will be filtered. This is probably only necessary when using the multi-language filter.&lt;br /&gt;
&lt;br /&gt;
==Config.php settings==&lt;br /&gt;
{{Moodle 1.5}}&lt;br /&gt;
*For Moodle 1.6 see the Cache Settings above. For earlier versions of Moodle, the filter/config.php file will need to be changed for the visual effects below.  The following two settings affect the glossary, activity and resource linking filters:&lt;br /&gt;
:To convert only the first matching title on a page, insert or uncomment the  following line in config.php: &amp;lt;code&amp;gt;$CFG-&amp;gt;filtermatchoneperpage = true;&amp;lt;/code&amp;gt;&lt;br /&gt;
:To convert only the first matching title in a discrete block of text, insert or uncomment the following line in config.php: &amp;lt;code&amp;gt;$CFG-&amp;gt;filtermatchonepertext = true;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Development:Filters]]&lt;br /&gt;
Non-standard filters:&lt;br /&gt;
&lt;br /&gt;
* [[Jmol filter|Jmol]] - for interactive 3D viewing of molecular structures&lt;br /&gt;
* [[Code Syntax Highlighting]] - for more readable excerpts of programming languages including [[PHP]], [[HTML]], [[CSS]], and XML amongst many others&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Filter]]&lt;br /&gt;
&lt;br /&gt;
[[es:Filtros (Administrador)]]&lt;br /&gt;
[[fr:Filtres (administrateur)]]&lt;br /&gt;
[[ja:フィルタ (管理者)]]&lt;/div&gt;</summary>
		<author><name>Topstone</name></author>
	</entry>
</feed>