Moodle plugins directory: Collapsed Topics | Moodle.org
Collapsed Topics
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+.
Support:
The format comes with NO support. Please see the 'Support' section in 'Readme.md' file that comes with the format. This is because the format is complex and I regret that I don't have the time / resources to freely assist with questions pertaining to specific enhancements / changes / knowledge improvement.
I will investigate genuine bugs and issue fixes in a timescale set by myself. 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.md' file and upload and describe in detail the issue you are having on the 'Course formats' forum.
Book:
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.
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:
Privacy API support starts with V3.3.1.2 for M3.3 and V3.4.0.2 for M3.4 where the API has been implemented in the minor release of Moodle.
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 :
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
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
What 'grey' box? What version of Moodle / CT? If you mean the 'toggle' then its colour has been setable for years in the course settings etc.
G
https://drive.google.com/file/d/0B1VnywRikl7VM1hGUFVXenI4dmc/view?usp=sharing
We are using moodle 3.1 and this happened with an update to collapsed topics that came out last week. It was ok before this. It's the same update that included the "edit topic title" option.
Thanks for the screen shot. I cannot replicate in any of my themes or the Clean theme. I can only replicate when I mess around with the CSS.
G
I also wonder if it only appears in EDITING ON mode. The class isn't live, so I haven't seen it without editing on. I will try that out today.
Thanks - I'll PM you contact details. Odd that the AMOS version is not good enough.
Cheers,
Gareth
Please see my reply to the same question above.
Kind regards,
Gareth
Yes, I know! Its the same question the third time. Its intentional. Please refer to my answer above.
G
Some teachers from my university really like you course format plugin, but they keep asking me to be able to add section_summary to collapsed sections (like default behaviour in one section per page mode). Do you think this could be added to the plugin preferences?
Kind regards
Jean-Roch Meurisse
Please use the 'Show the section summary when collapsed' setting in the course settings for the format.
Kind regards,
Gareth
Sorry I wasn't clear enough, I was talking about the section-summary-activities zone (giving the number of each type of activity and progression)
Kind Regards,
Jean-Roch