Select Moodle version:

Blocks: Course Tree List

block_course_tree_list
This block will display all courses a user is enrolled in, within the hierarchy course categories listing.
Maintained by: Picture of Jay Huber Jay Huber

I NO LONGER WORK IN HIGHER ED AND AM NO LONGER SUPPORTING THIS PLUGIN.  

IF YOU WISH TO ASSUME OWNERSHIP OF THE CODEBASE PLEASE LET ME KNOW!

----

This block will display all courses a user is enrolled in, within the hierarchy course categories listing.  If the courses in the menu are not currently active, the category will be collapsed.  The administrator can also set a weeks before and weeks after integer, that will affect how long before or after a course the item should still be considered active.  Default is 2 weeks.  It only uses javascript for Internet Explorer 8 and below.  All other browsers use only CSS for its function.
block_course_list image

Screenshots

screenshot
screenshot

Contributors

Picture of Jay Huber
Jay Huber (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Alan Hare
    Tue, Mar 5, 2013, 2:39 AM
    This Block is just awesome, Thank you Jay Huber. We were looking to provide our Teachers and Students the ability to view only the courses they are enrolled in, but in a Tree list format and this block fits perfectly.
  • Picture of Alan Hare
    Tue, Mar 5, 2013, 3:07 AM
    Suggestion(s) for the Block settings:
    1. Provide the ability to turn On/Off the Folder Icon - But still provide the Indent with the text as to visually see the difference between the Subject and Sub-Content.

    2. Provide the ability to enlarge the Expand/Collapse Icon(s) by pixel size (fill in, slider, choice, etc.).

    3. Provide the setting choice to render the list Expanded or Collapsed by default.
  • Picture of Jay Huber
    Tue, Mar 5, 2013, 5:36 AM
    Thanks Alan - I will look into those features for the next iteration.
  • Picture of Alan Hare
    Thu, Aug 8, 2013, 11:29 PM
    Thanks Jay! Questions for you.. The block currently lists only courses that the students are enrolled in, but I would like the option to also only display courses that ARE NOT complete. In other words, do not display courses that are complete.

    Do you know of a quick code change to achieve this? Your help is very much appreciated! smile
  • Picture of Jay Huber
    Fri, Aug 9, 2013, 12:40 AM
    Alan, the question that would need to be answered is how is the course completion established? Look at this document, http://docs.moodle.org/dev/Course_completion. I just looked at my production database and mdl_course_completion_crit_compl is blank. Sounds like a great feature, but may be difficult to establish how to know the course has been completed if your moodle instance is not setup correctly. Thought?
  • Picture of Alan Hare
    Fri, Aug 9, 2013, 1:27 AM
    I've been looking into this myself. I do want to note, in case others are interested in this as well, I am are talking about Course Completion NOT Activity or SCORM module completion.

    For example if you setup a Course with the Completion Tracking settings set appropriately to complete the course, then when the course completes, the [timecompleted] field in [mdl_course_completions] is filled, if Not Completed then it's NULL.
  • Picture of Sam Todorich
    Thu, Dec 12, 2013, 2:45 AM
    It would be helpful for us if the text for the Full name of the course wrapped so you could see the complete full name. We organize our categories into tree's up to three or four categories deep, and at that point you can only see a the first few letters in the name of the course.

    It would also be helpful if the categories you select to expand are cached so the next time you return to the page they are still expanded rather than collapsed again.

    Thank you!
Please login to post comments