Collapsible Topics format

Course formats ::: format_collapsibletopics
Maintained by Jean-Roch Meurisse
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:
1922 sites
586 downloads
60 fans
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
  • Thu, Apr 30, 2020, 2:54 PM
    Hi there,
    Sorry for answering late, but with the current situation all or our ressources are dedicated to transtion to full distance learning and examination in our University following the Covid-19 confinement.
    Could you check the javascript console for any errors?
    Could you also open an issue on https://github.com/cellule-tice/moodle-format_collapsibletopics/issues please?
    I will investigate the issue asap
    Regards
  • Thu, Apr 30, 2020, 3:56 PM
    After first quick investigation, it appears that this error occurs only when javascript is not cached (admin-> presentation-> Ajax and javascript->cache javascript, which is normally not the case in production systems.
    Can you confirm?
  • Fri, May 1, 2020, 11:12 PM
    Hi Jean-Roch, thank you for your reply. I went to Appearance -> AJAX and Javascript and turned OFF "Cache Javascript" and the issue no longer presents.
  • Fri, May 1, 2020, 11:14 PM
    Correction: the last topic in the list after a hidden topic shows but the contents do not. I'll proceed to Github per your request.
  • Wed, May 27, 2020, 1:32 AM
    Hi,
    First off, thank you for making this plugin! We are not able to use the other Collapsed Topics since it's additional CSS is conflicting with our theme.

    We're using Moodle 3.5, so I installed the 3.6 version of the plugin. We have run into a CSS problem. If I try to edit an activity or resource near the bottom of a section, the Edit dropdown menu does not extend below the section/topic, which means most of the menu gets cut off.

    It looks like this is being caused by an overflow:hidden rule on a parent div (specifically, the rule targets the .collapse class). However, that seems to be the rule that allows the topics to collapse and "hide", so I can't change it. I'm guessing there's a CSS trick that would allow the dropdown menu to display outside the parent container despite the overflow rule on the parent, but I haven't figured it out yet. Thanks for any suggestions!
  • Tue, Jul 28, 2020, 2:18 AM
    Hi Jean-Roch

    Thank you so much for making and sharing this plugin! I am glad I found it, it just so very useful...

    I love the plugin's elegance and simplicity. However, two things you might consider adding are:
    • the possibility to hide the activity summaries (I've done that on my instance using CSS),
    • the option to only open one section, i.e. an open section closes when another is opened (c.f. plugin collapsed topics, I don't now how hard implementation would be).

    Thanks again,
    Florian
  • Wed, Sep 16, 2020, 4:08 AM
    Hi, thanks for this great plugin. Unfortunately the progress bar isn't working correctly. For example: You have 3 tasks, you mark one of them, the progress bar is already full or is not moving at all. I work with moodle 3.8. Here an example: https://gibz-my.sharepoint.com/:f:/g/personal/rweiss_gibz_ch/EpgxHB-N151Iox6_BFIQx7EBAeUWLYbrOxSC-gyNKqtcow?e=DZhr2M
  • Wed, Sep 16, 2020, 8:08 PM
    Hi Raphael,
    Unfortunately, I cannot reproduce your problem, neither on 3.7 nor 3.9. I do not have access to a 3.8 for the moment. Could you check javascript console for any errors and if any report that in the bug tracker?
    Cheers
  • Fri, Feb 12, 2021, 1:41 AM
    Hi
    Is there an issue with Moodle 3.9 collapse? It seems like in order for it to work to view activities, you have to keep selecting "Expand All" at the top. It has never done this. I'm using the Fordson Theme. Should I turn it off in the theme settings integration?
  • Fri, Feb 12, 2021, 3:57 PM
    Hi,
    I cannot reproduce your issue. Make sure that you have the proper version of both fordson and collapsibletopics (3.9)
    Otherwise, check for errors in the browser console and open an issue at https://github.com/cellule-tice/moodle-format_collapsibletopics/issues/
  • Fri, Feb 26, 2021, 6:41 AM
    Thank you for this plugin ! It's very useful !
  • Mon, May 3, 2021, 4:32 PM
    Hi Jean-Roch,

    I have installed your "Collapsible Topics format" moodle plugin in my moodle setup and facing one issue with it.

    Issue:
    On student dashboard it is not displaying progress bar for all topics, only displaying for unrestricted activities topics.

    PDF: https://tinyurl.com/yje7n39y

    I want to display progress bar for all topics with restricted activities. Just like it is dispalying for admin user when course editing off.

    PFA: https://tinyurl.com/ygxzu5rc

    Course format settings

    PFA: https://tinyurl.com/ygeb3l38

    Tell me the solution for above issue and also coding changes in plugin files.

    Thanks
    Mangesh
  • Mon, Jun 14, 2021, 8:21 PM
    Hi Mangesh and sorry for late reply,
    To achieve that you have just to comment condition at line 214 in renderer.php
    Regards
    Jean-Roch
  • Wed, Jun 16, 2021, 3:15 PM
    Hi Jean-Roch,
    will you release an update of your great plugin for Moodle 3.10 in the near future?

    Thanks
    Fee
  • 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?
1 2
Please login to post comments