Attached file contains the local hack code so far. Effects demonstrated in screen shots.
Mind you, it's still not done. The code is quite ugly and will need some cleaning up, and more importantly, some comments.
The code in the zip needs to go to /moodle/local/. in addition to this, my code relies on
http://tracker.moodle.org/browse/MDL-17446 ("LOCAL: my moodle centre column override") which Penny Leach wrote in December.
Another thing that's not quite ready for prime time yet, is that I haven't created a database xml file in /moodle/local/db/ yet. It will come, though.
As it is at the moment, the attached code requires the manual (by admin) creation of two new additional profile fields:
"myNumCourses"
"myorder"
both are straight text fields (not text input), and it's clearly visible that I need to fix the names to be firstly consistent, and secondly in agreement with the coding guidelines.
If you risk installing this code as it is right now, users will get two and a half new features on myMoodle:
1: users have the option to change the order of courses on myMoodle by clicking up and down arrows while in editing mode.
2: user can choose how many courses are displayed on myMoodle by changing the number in the drop-down box while in editing mode.
2 1/2: course details such as due assignments are initially collapsed when the myMoodle page is loaded. they can be unfolded by clicking an icon.
parts of this sort-of go in the same direction as shown in the myMoodle-myCourses mockup in
MDL-19124MDL-19124