Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Student projects/Admin page cleanup/Admin block.

Student projects/Admin page cleanup/Admin block

From MoodleDocs

As part of the Student projects/Admin page cleanup project, I'm redesigning the admin block that appears on the main page and course pages. The new block interfaces with the XML hierarchy and uses JavaScript to make folders collapsible.

Latest Version

The code for the latest version of the new admin block is available here.

Demo

Try out the block at this Moodle installation. To login as a creator, use username creator password rotaerc. To login as a student, use username student password tneduts. Sorry, no admin login will be posted here!

Remarks, Bugs and Things To Be Done

  • If your browser supports javascript, the block should appear (by default) with all subfolders collapsed. If your browser does not, the block should appear with all subfolders expanded. Let me know if this doesn't work properly... I've encountered a few difficulties with the automatic collapsing.
  • I have to double-check how to get the icons to interface properly with the different themes.