Course formats: Collapsible Topics format

format_collapsibletopics
Maintained by Picture of Jean-Roch Meurisse 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.
101 sites
257 downloads
9 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

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

Comments RSS

Show comments
  • Picture of Plugins bot
    Thu, 24 May 2018, 9:00 PM
    Approval issue created: CONTRIB-7314
  • Gareth J Barnard
    Mon, 18 Jun 2018, 11:29 PM
    Dear Jean-Roch,

    I've installed the plugin and what can I say, but 'neat' very 'neat', I like it! smile It is simple, elegant and does what it does well. From a technical point of view I love your use of the tilde selector combinator. One concern is the similarity of the name with CT, but perhaps time will tell, we'll just have to manage any support issues accordingly. I did notice that with Boost on M3.5 that when the section opens there is a slight height readjustment 'flicker' that is visible.

    Cheers,

    Gareth
  • Picture of Jean-Roch Meurisse
    Tue, 19 Jun 2018, 3:38 PM
    Dear Gareth,

    Thanks for your feedback smile (you can add it to your favourites if you like wink )
    As for the height readjustment 'flicker', I think removing the bottom margin on
    (line 119 of sytles.css) will do the job. I'll fix that in next release.

    Cheers,

    Jean-Roch
  • Picture of Jean-Roch Meurisse
    Fri, 22 Jun 2018, 4:29 PM
    Hi Gareth again,
    The companion plugin (same thing for weeks format) has just been released wink

    Cheers,

    Jean-Roch
  • Picture of Steve Radford
    Fri, 27 Jul 2018, 5:02 PM
    Hi Jean,

    Are you able to explain the difference between this plugin and the Collapsed Topics (format_topcoll) plugin please?

    Thanks in advance,

    Steve
  • Picture of Jean-Roch Meurisse
    Fri, 27 Jul 2018, 5:19 PM
    Hi Steve,
    This plugin (and the companion one collapsible_weeks) just adds sections collapsing behaviour to core topics (weeks) format using bootstrap4 built-in collapsing behaviour. It aims at replacing core topics (weeks) format to keep consistency among courses. The only option proposed is to keep collapsing state over sessions or not.
    Gareth's plugin also offers collapsing behaviour but with many display options (number of columns, orientation, choice of toggle icon, and so on). His plugin is great, but users in my context wanted something simpler.

    Regards

    Jean-Roch
  • Picture of Steve Radford
    Fri, 27 Jul 2018, 5:56 PM
    Thanks Jean-Roch,

    In which case I think this is just the plugin I am looking for!

    Steve
  • Picture of Jean-Roch Meurisse
    Fri, 27 Jul 2018, 5:59 PM
    Great, if you like it you can add it to your favourites wink
  • Picture of jose Nicolas
    Thu, 2 Aug 2018, 8:52 PM
    Hello
    I installed the Collapsed Topic Plugin on a Campus Virtual running Moodle 3.1. The Moodle was in Traditional Spanish (ES), however after installed the Collapsed Topic plugin the Moodle installation changed to English language (EN), and I am getting some errors that I did not have before the installation of the plugin.
    Specifically when I try to grade some task of students and got the error:
    “Undefined - Invalid parameter value detected”
    Could you please let me know what is going on?
    I am in a hurry; I have looked on Internet and nothing.
    Thanks
  • Picture of Jean-Roch Meurisse
    Fri, 3 Aug 2018, 4:36 PM
    Hi,
    Collapsible topics has been developed for Moodle 3.5. I tested it on 3.3 but not previous versions. Unless you changed the required version in version.php it should not have installed at all.
    Regarding language, i guess the plugin has not been translated into Spanish yet. Since there are only about 15 lang strings,maybe you could do that on lang.moodle.org
    As for the error, I can try to have a look, but I do not have access to a 3.1 anymore. Please turn on developer debug mode, take a screenshot of the displayed error and write the specific context in which this error occurs (the url for example).
    Not that I will be off for some days
    Regards
  • Picture of Roland Sherwood
    Mon, 3 Sep 2018, 11:22 PM
    Many thanks for sharing this excellent plugin. One quick question: both this and the collapsibleweeks format force the title of section 0 to be hidden (except when in editing mode). Is there a particular reason for this? If it's purely for aesthetic reasons, I wonder if you might consider including a setting which would allow admins to choose whether the section 0 title is hidden or not? Thanks again.
  • Picture of Jean-Roch Meurisse
    Tue, 4 Sep 2018, 2:54 PM
    Hi Roland, thanks for feedback.
    I'll try to add such a setting in a future version (when I have time to work on it wink )
    In the meantime you can make section 0 name visible by editing section and ticking "custom" next to section name.
    Regards
Please login to post comments