Skip to content

Moodle Block - Course Tree List - Collapsible/Expandable

License

Notifications You must be signed in to change notification settings

unicorn-development/course_tree_list

 
 

Repository files navigation

Readme file for the course-tree-access block

A plugin for the learning management system moodle to provide individual course assortment for its users.

Description

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.

Code Location

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

Bug Reports

Report all bugs on https://github.com/unicorn-development/course_tree_list/issues

Installation

  • 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.

Changelog

v2013090900

  • Fixed hardcoded string that should have been in language file.

v2013030100

  • Last fix - caused reverse error in 2.3 or less so added branch check

v2013022800

  • Fixing Strict Warning
  • Upgrade Release to Stable

v2013011600

-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

v2013011101

-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.

v2013011100

-Added IE detection to PHP code and cause selectivizer-min.js to load if version 8 or below

v2012120600

-Modified block_course_tree_list.php for version 2.4 use as db field was removed.
-Added db/access.php file as required

v2012110900

  • Disabled the block from displaying for guest accounts

v2012110800

  • Initial Version

Release notes

v2013090900

  • Stable Release

v2013030100

  • Stable Release

v2013022800

  • Stable Release

v2013011600

  • Release Candidate

v2013011100

  • Release Candidate

v2012110800

  • Release Candidate

v2012110900

  • Release Candidate

v2012120600

  • Release Candidate

About

Moodle Block - Course Tree List - Collapsible/Expandable

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 57.3%
  • PHP 39.0%
  • CSS 3.7%