Your Moodle version

Course formats: Collapsed Topics

format_topcoll
Maintained by Gareth J Barnard Gareth J Barnard
An interchangeable topic or week based format that solves the issue of the 'Scroll of Death' when a course has many topics.
4k
3k
35

An interchangeable topic or week (day for 2.3.1+) based format that solves the issue of the 'Scroll of Death' when a course has many topics / weeks. All sections except zero have a toggle that displays that section. One or more sections can be displayed at any given time. Toggles are persistent on a per browser session per course basis but can be made to persist longer by a small code change. Full installation instructions, code adapt-ions and credits are included in the 'Readme.md' file.

If you have a course with more than fifty two sections then currently the toggle persistence will not work for the fifty third section and above.  Then you need to upgrade to the Moodle 2.5 version+.

REPORTING ISSUES: When reporting issues you MUST clearly state the full version and release of both Moodle and the Collapsed Topics format as contained within their 'version.php' files - if not it takes me longer to figure out, often resulting in me asking for the details anyway and slowing the process of solving your problem down.  It really helps to read the 'Reporting Issues' section in the 'readme' file and upload and describe in detail the issue you are having on the 'Course formats' forum.

NEW: 'The Complete Guide to Collapsed Topics' (and 'Blurb') book is now available, covering: installation, upgrade, uninstallation, course and global features, resetting, capabilities, language strings, overriding icons / styles in a theme and adding a new icon set.

The Complete Guide to Collapsed Topics book


The Complete Guide to Collapsed Topics book on a book stand


Inside the Complete Guide to Collapsed Topics.


NOTE: The latest version incorporates functionality to support new UK / EU Cookie Law which is implemented as a user acceptance in the 1.9 version and no 'cookie' is used at all in 2.x versions.

Screen casts:



Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5
Screenshot #6
Screenshot #7

Contributors

Gareth J Barnard
Gareth J Barnard (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Gareth J Barnard
    Tue, Jun 7, 2016, 6:30 AM
    Dear Edward and Mathew,

    Please test https://github.com/gjb2048/moodle-format_topcoll/commit/7475dfd0b4e589241061710977755721d43fd069 on your test server (ensure you do a 'Purge all caches') and see if it fixes the problem for you.

    Gareth
  • Picture of Mathew Gancarz
    Tue, Jun 7, 2016, 6:45 AM
    Hi Gareth, just doing a quick test on the emulator before heading out, but the change appears to fix the issue. Only niggle is after tapping it, it leaves the topic title bar highlighted (the hover state) until you click on another topic title bar.
  • Picture of Mathew Gancarz
    Tue, Jun 7, 2016, 6:47 AM
    And Cheers on the incredibly speedy response!
  • Gareth J Barnard
    Tue, Jun 7, 2016, 6:55 AM
    The hover state will have to be a compromise and probably was that way in previous versions. If not then I'll have to revert and remove the functionality of MDL-51802 or only use 'spans' in editing mode - which leaves the issue of not being able to inline edit the section name on an iPad and still operate the toggle. No win situation. This is not easy!
  • Gareth J Barnard
    Wed, Jun 8, 2016, 12:58 AM
    RE: "Only niggle is after tapping it, it leaves the topic title bar highlighted (the hover state) until you click on another topic title bar." - Checked the M3.0 version and happens there too. Nothing I can do about it as no 'focus' pseudo-selector style defined.
  • Picture of Mohammad Islam
    Wed, Jun 8, 2016, 11:21 AM
    I am trying create collapsed format for all section. I can do collapsed inside the section but can't do for all section. My course has 10-12 weeks. So I create as 10-12 section. But I like to do all section will be close and whenever student will click current/particular section then it will open.
  • Gareth J Barnard
    Wed, Jun 8, 2016, 6:41 PM
    Dear Mohammad,

    Please post on https://moodle.org/mod/forum/view.php?id=47 for community support.

    Kind regards,

    Gareth
  • Picture of Annick Fructoso
    Thu, Jun 9, 2016, 7:01 PM
    Is the 3.1.1.1 version of this great plugin support the Elegance theme?
    I cannot get more than one column to display with the elegance theme, or is it a theme issue?

    Many Thanks

    Annick
  • Gareth J Barnard
    Fri, Jun 10, 2016, 12:23 AM
    Dear Annick,

    Its a theme issue. As Bootstrap is the parent theme, I've put in a pull request here: https://github.com/bmbrands/theme_bootstrap/pull/423 - where you can see the changes.

    Kind regards,

    Gareth
  • Picture of Roland Sherwood
    Fri, Jun 17, 2016, 10:57 AM
    Hi Gareth. Many, many thanks for making this plugin available and your continued efforts to maintain and update it. We're going to be switching to Collapsed Topics as the default for all our courses next semester which I really think will please both staff and students a great deal. I did just have a quick query - nothing urgent, but thought it might be worth raising: under Moodle 3.x installations is it possible to easily turn off the 'edit section' "cog" icons which are shown when using Collapsed Topics but which no longer feature in the Moodle 3.x default topics or weeks formats (under those formats a single 'edit section' link can be accessed through the relevant 'Edit' drop down menu associated with the section)? For 3.x users, these additional icons are, effectively, redundant and visually add to page clutter as well as, again, being inconsistent with the other default formats Moodle 3.x offers.

    Again, not urgent - and thanks again for offering this plugin to the community.
  • Picture of Roland Sherwood
    Fri, Jun 17, 2016, 2:22 PM
    Hi again Gareth. Apologies - just one more quick query: under Moodle 3.1 editing of a section title is now possible in the same way that editing of activity/resource names has been for a while now i.e. users can click a little pencil icon to the right of the title and then enter their text directly, without the need to click the dedicated 'edit section' link and be taken to a separate page. However, while this functionality still works when using Collapsed Topics, because clicking anywhere in the region which contains the section title also simultaneously toggles the section's open/closed state, it actually can be quite confusing for users when the contents of a section disappear or appear just as a result of trying to edit the section title. So, in short I just wondered if it's possible to make clicking the pencil icon not activate toggling of the section? If it's not, no worries and, again, just thought it worth raising.
  • Gareth J Barnard
    Fri, Jun 17, 2016, 5:44 PM
    Dear Roland,

    Please let me think about this.

    Kind regards,

    Gareth
  • Picture of Jacques Monnard
    Thu, Jun 23, 2016, 10:07 PM
    Hi Gareth (and Roland),

    Regarding the problem when clicking the pencil icon, please note that in Moodle 3.1, clicking on the section name will also allow one to edit its title. Thus any solution should probably also disable toggling the section when clicking on the title.

    Here are also two temporary workarounds for the two problems mentioned above (use at your own risk wink :
    1. make cog icon for section invisible : add the following to your theme style sheet
    img.tceditsection {
    display: none;
    }
    2. add this if statement at line 125 of /course/format/topcolll/module.js and enclose the three lines that follow between { ... } :
    if (!(e.target.get('parentElement').hasClass('quickediticon') || e.target.hasClass('quickeditlink') ))

    Regards and thanks for your great job !

    Jacques



  • Gareth J Barnard
    Fri, Jun 24, 2016, 7:36 PM
    Thank you Jacques,

    Food for thought. I've been thinking about detecting if the icon has been pressed and simply not changing the state of the toggle.

    Cheers,

    Gareth
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Please login to post comments