A plugin for the learning management system moodle to provide individual course assortment for its users.
- @package block_course_tree_list
- @copyright 2013 Jay Huber jhuber@colum.edu, 2024 Unicorn Development AG
- @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
This plugin addresses the navigation problem for users that are enrolled in a lot of courses on a moodle site.
The hierarchy expands to courses in progress, and will display based on admin settings to display active courses for x number of weeks before they start and after they complete.
It builds a hierarchy collapsable/expandable menu based on the categories. The menu was designed entirely with CSS, and works for all browsers except for IE 8 and below. In that instance, javascript is a necessary evil.
You can always find the latest version at: https://github.com/jayhuber/course_tree_list Moodle plugins will notify you as I update the code on Moodle.org
Report all bugs on https://github.com/unicorn-development/course_tree_list/issues
- Copy the "course_tree_list" folder into the "moodle/blocks" directory
- Visit your moodle site in a browser, logged in as an administrator.
- Go to "Site Administration > Notifications > Continue"
- Add the "course-tree-access" block.
Currently, No Tables are created for the use of this block.
- Fixed hardcoded string that should have been in language file.
- Last fix - caused reverse error in 2.3 or less so added branch check
- Fixing Strict Warning
- Upgrade Release to Stable
-Error with missing $ie variable causing other browsers beside Internet Explorer to display "undefined variable" -This fix is credited to Aleksandra Ferenz - Thank You! -Reversed the README list, so the recent change is at the top
-Found has_config was set to false and should have been true. Affecting Moodle 2.4 installs -Added 2 weeks as default value in case the Moodle config values are missing. -IE7 & 8 Fixes -The Previous version did not fix the IE problem, as my test environment had jquery running causing selectivizr.js to work, which it will not with YUI. Im not so good at YUI. So, the IE8 detect also adds the script from Google for jquery so this fix will now work. -Will need to revisit this fix in the future, but, it is good enough now.
-Added IE detection to PHP code and cause selectivizer-min.js to load if version 8 or below
-Modified block_course_tree_list.php for version 2.4 use as db field was removed.
-Added db/access.php file as required
- Disabled the block from displaying for guest accounts
- Initial Version
- Stable Release
- Stable Release
- Stable Release
- Release Candidate
- Release Candidate
- Release Candidate
- Release Candidate
- Release Candidate