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: Difference between revisions

From MoodleDocs
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
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.
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 OO hierarchy and uses JavaScript to make folders collapsible. It remains compatible with non-JavaScript browsers.


== Latest Version ==
== Latest Version ==
Line 9: Line 9:
Try out the block at [http://betaserv.vkm.ca:82/moodle/ 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!
Try out the block at [http://betaserv.vkm.ca:82/moodle/ 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 ==
== Issues Remaining ==
* 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.
* The link locations for items in the hierarchy still have to be finalized.
* I have to double-check how to get the icons to interface properly with the different themes.
* I have to double-check how to get the icons to interface properly with the different themes.
* Possibly switch to using <li> tags instead of (or with) spans
[[Category:Developer]]
[[Category:Project]]

Latest revision as of 06:45, 21 August 2006

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 OO hierarchy and uses JavaScript to make folders collapsible. It remains compatible with non-JavaScript browsers.

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!

Issues Remaining

  • I have to double-check how to get the icons to interface properly with the different themes.
  • Possibly switch to using <li> tags instead of (or with) spans