Difference between revisions of "Moodle version"

Jump to: navigation, search
m (re-wording, formatting)
(page update)
Line 1: Line 1:
The [[Site administration block]] and the Notification link will show a site's current Moodle version.  The example below came from demo.moodle.org when it was version 200721520, which is also known as "Moodle 1.8.2+" branch.
+
[[Image:Moodle_Version_Notification_Page.JPG|thumb|Moodle version with (build number) and copyright]]
[[Image:Moodle_Version_Notification_Page.JPG|frame|center|Moodle Version with (build number) and copyright]]
 
==Logo hover==
 
[[Image:MoodleVersionPopup.jpg|Version popup over Moodle logo|right]]
 
Often one sees references to differences in different Moodle versions. How can one see which version is  on a certain site?
 
  
'''Hover over the Moodle logo''': On many Moodle sites (it depends on the how customised the theme is) you can hover the mouse over the Moodle logo at the bottom of the page and you'll see the exact release version.
+
The version of Moodle which your site is using can be found on the notifications page (''Site Administration > Notifications'').
  
==Administrator page==
+
You can also view version information by opening ''moodle/version.php'' file in a text editor. Here is a typical ''version.php'':
In earlier versions of Moodle, Administrators can see the exact version at the bottom of the main admin screen.
 
 
 
==PHP file==
 
'''Version.php''': You can also view version information by opening the moodle/version.php file in your text editor. Here is a typical version.php:
 
  
 
<pre>
 
<pre>
Line 32: Line 24:
  
 
Note: You cannot view the contents of version.php in your browser - you must use a text editor.
 
Note: You cannot view the contents of version.php in your browser - you must use a text editor.
 +
 +
In earlier versions of Moodle, the version number was sometimes available (depending upon the theme used) by hovering over the Moodle logo on the front page. This functionality was removed in Moodle 1.9.7 onwards for security reasons.
  
 
[[Category:FAQ]]
 
[[Category:FAQ]]
 
[[Category:Administrator]]
 
[[Category:Administrator]]

Revision as of 09:15, 26 November 2009

Moodle version with (build number) and copyright

The version of Moodle which your site is using can be found on the notifications page (Site Administration > Notifications).

You can also view version information by opening moodle/version.php file in a text editor. Here is a typical version.php:

<?php

// MOODLE 1.6 VERSION INFORMATION

// This file defines the current version of the core Moodle code being used.
// This is compared against the values stored in the database to determine
// whether upgrades should be performed (see lib/db/*.php)

   $version = 2006050521;  // YYYYMMDD   = date of the 1.6 branch (don't change)
                           //         X  = release number 1.6.[0,1,2,3...]
                           //          Y = micro-increments between releases

   $release = '1.6.2+';    // Human-friendly version name

?>

Note: You cannot view the contents of version.php in your browser - you must use a text editor.

In earlier versions of Moodle, the version number was sometimes available (depending upon the theme used) by hovering over the Moodle logo on the front page. This functionality was removed in Moodle 1.9.7 onwards for security reasons.