Collapsible Topics format

Course formats ::: format_collapsibletopics
Maintained by Jean-Roch Meurisse
Warning: since sections collapsing behaviour is now integrated into Moodle core, this plugin will not be maintained for Moodle 4.x The collapsible topics format is a clone of the core topics format that adds collapsing behaviour to sections in order to reduce page size.
Latest release:
1155 sites
147 downloads
70 fans
Current versions available: 4
Warning: since sections collapsing behaviour is now integrated into Moodle core, this plugin will not be maintained for Moodle 4.x

The collapsible topics format is a clone of the core topics format that adds collapsing behaviour to sections in order to reduce page size. A plugin setting allow to retain topics collapse state on a per user basis for the current session or across sessions. This plugin is an alternative to Gareth J. Barnard's format_topcoll plugin (see references below) The purpose is to offer a simple collapsing behaviour for sections in order to reduce course home page size without all the display options that Gareth's plugin offers.

Screenshots

Screenshot #0
Screenshot #1

Contributors

Jean-Roch Meurisse (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Jean-Roch Meurisse
    Wed, Jun 16, 2021, 5:01 PM
    Hi Fee,
    I do not have a 3.10 installed at the time. Are you experiencing issues with 3.9 version of the plugin in your Moodle 3.10?
  • Mark Desmaele
    Mon, Aug 9, 2021, 9:10 PM
    Dear
    The topics always display in Blue. In the stylesheet however, it is easy to change this colour! A suggestion to make the colour for the topics a parameter?
  • Jean-Roch Meurisse
    Thu, Aug 12, 2021, 3:10 PM
    Hi Mark,
    For consistency, we decided to use the color used for links. Anyway, you can override that by adding a custom scss rule in administration
    .course-content ul.collapsibletopics li.section .sectionname {
    color: your-color-code;
    }

    Regards
  • Lindsay Hayward
    Tue, Aug 31, 2021, 11:24 PM
    Hi Jean-Roch,

    We are testing v.3.9 of the plugin in our Moodle 3.10 development environment - because we've had some reports of students not being able to expand some topic sections within our production 3.10 environment, which uses v3.8 of the plugin.

    With v.3.9, we are finding that while in the student view, the collapse/expand all function doesn't work for all topic sections but all topic sections can be individually expanded. Reading through some of the comments, we have javascript caching enabled and are having this issue. Do you have any other ideas of what we could try with v.3.9 to improve the course format's function in 3.10.4?

    Thanks!
  • Jean-Roch Meurisse
    Mon, Sep 6, 2021, 5:50 PM
    Hi Lindsay,
    I currently do not have a 3.10 running so it's difficult for me to reproduce. Could you check the browser console for potential javascript errors when trying to "expand all" and please record the issue in the bug tracker rather than here
    Regards
  • Ey Marieb
    Thu, Dec 16, 2021, 10:23 PM
    Dear Community,

    Has anyone tried the plugin yet on Moodle 3.11? Is it working with no issues?
  • Christian Flury
    Tue, Jun 7, 2022, 5:30 PM
    Hi, is it correct to assume that there will be no Moodle 4-version of this plugin, since the Moodle 4 standard "topics"-format is collapsible?
    thx!
  • Jean-Roch Meurisse
    Thu, Jun 9, 2022, 9:22 PM
    Hi,
    Actually, there are still two differences:
    The plugin records the topics collapse state in the browser rather than in DB and it offers an optional topic progress bar
    IMO these small differences do not justify continuing to maintain this plugin (and its companion collapsibleweeks)
  • Lucas Goujon
    Wed, Jun 22, 2022, 1:50 AM
    Hi,
    Quick question, it looks like if I "Mark as done" an activity, the completion tracking shown on the topic is not automatically refreshed, and I need to refresh the page in order for the value to be updated.
    Is that behaviour on purpose or an issue? Running a Moodle v3.11.5+ here.
    Thanks,
  • Jean-Roch Meurisse
    Wed, Jun 29, 2022, 8:38 PM
    Hi,
    Thanks for reporting this
    You're right, I fixed it. You can get the fix on github (branch moodle311). I'll publish a release in the next few days.
    Regards
  • Lucas Goujon
    Thu, Jun 30, 2022, 3:16 AM
    Awesome! Many thanks for your work!!
  • Lucas Goujon
    Tue, Jul 19, 2022, 11:27 PM
    Just tried the fix and the progress bar is properly updated now, many thanks! The "Progress: X / X" shown when the progress is disabled seems to still have the issue tho.
  • Дмитрий Курбатов
    Sat, Aug 20, 2022, 6:04 PM
    Hello!
    When can we expect a plugin update for Moodle version 4.0?
  • P H
    Fri, Dec 16, 2022, 9:32 PM
    Hello. Any plans for Moodle 4.1? Regards.
  • Jean-Roch Meurisse
    Thu, Jan 5, 2023, 8:46 PM
    Since collapsible behaviour is now implemented in moodle core, I don't think it's necessary to go on maintening this plugin any more
    Regards
1 2 3
Please login to post comments