Your Moodle version

Course formats: Folder View format

Maintained by Picture of Kris Stokking Kris Stokking
Moodlerooms is proud to release Folder View, a course format that displays activities and resources within a folder that is expandable or collapsible. This course format can display all folders on a page or a single folder at a time with previous and next topic navigations or a jump-to menu, which each allow the student to easily navigate between folders. Editing functionality is consolidated for the course into an area at the top of the page. This course format mimics many of the features of ANGEL folders, making previous ANGEL users feel more at home within a Moodle environment. The plugin was also developed with an eye towards consolidating the editing functionality in Moodle's Topics and Weeks course formats.


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

Comments RSS

Show comments
  • Picture of Daniel Kaelin
    Fri, Jun 7, 2013, 3:36 AM
    I'm currently running into a problem with my installation. The "add block" "add resource" , etc links at the top of the course when editing is turned on are non responsive. The "expand all" / "collapse all" buttons are non-responsive as well.

    My Moodle build is Moodle 2.4.3+ (Build: 20130405)

    I'm using these versions of the necessary plugins

    Folder View - Version 2013021200
    MR Framework - 2010090200

    The weirdest part is I have another Moodle installation where things are working find with this exact same configuration and I can't figure out what the problem is.

    I've tried using multiple themes but the problem is persistent on all themes.

    Are there any server dependencies needed for the functionality I detailed? These portals are behind a load balancer so I would be able to check to make sure the servers are all identically configured if I knew what to look for.

    Is it running off javascript?
  • Picture of Daniel Kaelin
    Fri, Jun 7, 2013, 4:05 AM
    More specifically when I open the console on Google Chrome it is throwing this javascript error:

    Uncaught TypeError: Cannot read property 'ariacontrolled' of undefined

    Located in folderview/yui/sectiontoggle/sectiontoggle.js on line 89

    sectionContent.plug(M.local_mr.ariacontrolled, {
    Uncaught TypeError: Cannot read property 'ariacontrolled' of undefined
    ariaLabelledBy: sectionName,
    ariaState: 'aria-expanded',
    autoHideShow: false,
    autoFocus: false
  • Picture of Wasim Fadloun
    Fri, Jun 7, 2013, 4:52 AM
    Hi Kris,
    Thanks for your prompt response
    now I can install the plugin but I am facing the problem with adding resources and topics link ( like Daniel )

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3)
    Timestamp: Thu, 6 Jun 2013 20:50:51 UTC
    Message: 'M.local_mr.ariacontrolled' is null or not an object
    Line: 86
    Char: 25
    Code: 0
    URI: http://moodle/theme/yui_combo.php?moodle/1370551060/format_folderview/menu/menu.js

    can you please help
  • Picture of Kris Stokking
    Sat, Jun 8, 2013, 5:15 AM
    Dan/Wasim - I'm having trouble uploading the newest version of the MR Framework to the plugins database. Please install the 2.4 version from in the meantime.
  • Picture of Daniel Kaelin
    Sat, Jun 8, 2013, 5:31 AM

    That worked great! Thank you for helping us out on that and for your contributions in general. This was a big help.
  • Picture of Kris Stokking
    Mon, Jun 10, 2013, 11:04 AM
    Excellent - glad to hear it Daniel. Enjoy!
  • Picture of Daniel Kaelin
    Wed, Jul 17, 2013, 2:02 AM
    I'm receiving this error in the console now when viewing the course from the main overview.

    Uncaught TypeError: Cannot call method 'plug' of null yui_combo.php?moodle/1373990859/format_folderview/sectiontoggle/sectiontoggle.js:95

    I can't seem to isolate the cause it is only affecting certain courses on a portal utilizing the folderview format.

    The course had Moodle Room's E-Folio assignment types in there that I removed from the mdl_assignment, mdl_grade_items table to make sure they weren't causing a conflict. If you can shed any light it I would be very thankful.

    I'm using these versions:

    My Moodle build is Moodle 2.4.3+ (Build: 20130405)

    I'm using these versions of the necessary plugins

    Folder View - Version 2013021200
    MR Framework - 2010090201

    You had provided the updated Moodle Room Framework and you changed the framework version # from 2010090200 to 2010090201
  • Picture of Daniel Kaelin
    Wed, Jul 17, 2013, 2:20 AM
    I forgot to add this is preventing me from adding resources, activities, etc when I click the links at the top of the page.
  • Picture of Kris Stokking
    Mon, Jul 22, 2013, 8:42 PM
    Hi Daniel - We've never seen that error message before. I imagine that the root cause is related to the fact that you've tried to cleanup the eFolio assignment records from the database. In general, this is not a good practice because you can cause all sorts of problems with records that are expected to be there that have suddenly gone missing. Did you also clean the eFolio assignments from the course modules and related course sections tables? In this case, I would guess that the course section is referring to a course module that points to an assignment record that doesn't exist when it's expected to.
  • Picture of Daniel Kaelin
    Tue, Jul 23, 2013, 2:23 AM
    I'll try to go through and check to see if there are any other database references.

    It wasn't working before I deleted the Efolio assignments. So either way the functionality wasn't working previously. I'll continue looking at it.
  • Picture of Kenton Smith
    Thu, Aug 29, 2013, 9:44 PM
    Hi Kris. We're running Moodle 2.5.1 and updated the Moodlerooms Framework in order to get Folder View format to function properly. We're running into problems moving files within this format though. The workaround is to switch to Topics view in order to move files. This seemingly is the only issue we've experienced with the plugin and Moodle 2.5.
  • Picture of Kris Stokking
    Wed, Sep 4, 2013, 6:59 PM
    Thanks for the update and workaround Kenton! I've notified the developer - we should have a Beta version available by the end of this month. Stay tuned.
  • Picture of Kris Stokking
    Thu, Jun 5, 2014, 3:10 AM
    A new version of this plugin for Moodle 2.6 has been uploaded to the plugins repository. There are no known issues with the new version at this time, but if you do experience a problem please ensure that you submit any issues to
  • Picture of Jeff Ferrell
    Sun, Jun 29, 2014, 9:48 AM
    Hey Kris! Love the folder views for my topic-oriented courses, but I've got a small issue that probably doesn't qualify as a bug. I'm using the "orphaned links" hack to enable me to add custom icons to Page resources that better reflect their content, rather than the generic Page icon in Moodle.

    In other words, I have a course with 18 topics, with my custom pages in the 18th. Then I set the number of topics to 17, and the 18th becomes orphaned. The links are completely hidden, but still accessible via URL.

    Folder View doesn't like this, I've discovered. Apparently, if the number of topics in the course settings doesn't match the number of actual topics containing content, it gets . . . confused? The result is that the "Add Topic," "Add Resource," and "Add Block" links on the main course page don't work.

    Anyway, I don't know if there's a fix for that that I could implement . . . It's not a complete deal-breaker—I can add resources from individual topic views, and I could always change my number of topics to the full number to add resources, and then toggle it back to n-1 again when I was finished. It would just be more convenient, obviously, if I could get the main page "Add" links to work when I've got orphaned resources.

    Oh: I'm on Moodle 2.6.3—I just upgraded, so I'm the latest versions of the Moodlerooms plugins.
  • Picture of Kris Stokking
    Thu, Jul 10, 2014, 5:00 AM
    Hi Jeff - this seems like a bug. Could you enter an issue using the Bug Tracker link?
1 2
Please login to post comments