Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Student projects/Admin page cleanup/Bookmarks: Difference between revisions

From MoodleDocs
(Created page with "As part of the Student projects/Admin page cleanup project, I'm designing an admin bookmark block that allows admins to bookmark frequently-accessed admin setting pages easil...")
 
(No difference)

Latest revision as of 08:14, 22 June 2011

As part of the Student projects/Admin page cleanup project, I'm designing an admin bookmark block that allows admins to bookmark frequently-accessed admin setting pages easily.

How the Block Works

The admin_bookmarks block can be added to any page that supports blocks. When it's on an admin page (e.g. .../admin/index.php?section=something), a link to "bookmark this page" will appear at the bottom of the block. When it's on an admin page that's already bookmarked, a link to "unbookmark this page" will appear at the bottom of the block.

The bookmarks are automatically named to match the title of the admin section as per the current language pack.

For now (and in the foreseeable future), the block will only support bookmarking admin pages.

Latest Version

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

The scripts used to create and delete bookmarks are also available.

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!