What Does This Do?
- This allows you to sort students by student number when viewing "participants" or when assigning students to "groups" and "courses."
Why the Hack?
- I had to do this, since in Japan we need to sort by family names, which are in Kanji.
- Our university assigns student numbers in Japanese alphabetical order, so being able to sort by student number solves the problem.
Change these $strings
In this file: /lang/en_utf8/moodle.php
Add the following to the end of the file, just before the ?>
// Changed by CK 2006-09-20
// to be able to use and sort by student numbers
$string['firstname'] = 'Name (Example: Kenji Suzuki)';
$string['lastname'] = 'Student Number (Example: E06999)';
$string['missingfirstname'] = 'Missing name';
$string['missinglastname'] = 'Missing student number';
// End of Changed by CK 2006-09-20
In this file: moodledata/lang/ja_utf8/moodle.php
Add the following to the end of the file, just before the ?>
// Changed by CK 2006-09-20
// to use and sort by student numbers
$string['lastname'] = 'Student Number (例: E06999)';
$string['missinglastname'] = 'Student Number (例: E06999)が入力されていません。';
$string['firstname'] = '名前 (例: Kenji Suzuki)';
$string['missingfirstname'] = '名前 (例: Kenji Suzuki)が入力されていません。';
// End of Changed by CK 2006-09-20
Change "Full Name Format" to This
- Put student numbers first, so you can sort by student number when choosing groups.
- Go to here to do that: /admin/settings.php?section=sitepolicies