-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: sections within other sections #41
Comments
Hi stdoma, Sorry, I basically only add to my format what my employer needs, and just make it available to anyone else who finds it useful as-is. I think my format and the Flexible sections format have made some different design choices that would make merging them quite tricky. My format is quite rigid with possible sections, defining each section by a level, 0=top-level page, 1=subpage, 2=topic in a page. The Flexible sections format defines sections by what its parent is, and whether it's shown on the same page or a separate page. To merge them, I think I'd probably have to rewrite all my code to use the Flexible sections approach. Also, I'm not even sure if Moodle has a way to import section settings from one format into another. (I have looked, but haven't found any.) |
Hi @james-cnz, I understand that the level system differs at the point. It would probably not be possible to solve this without further data fields. It definitely sounds like a little work. |
Hi @james-cnz , You could leave the level status from 0 to 2 as it currently works. Would that be an approach or would that not work? |
Hi @stdoma, Sorry, when I said I basically only add what my employer needs, the exceptions have been things like simple internationalisation fixes. The vast majority of the work I've put into the plugin has been funded by my employer, so I think of it as belonging to them really, and get approval from my supervisor before making any significant changes. What you describe would be easier to do, I think, but I've remembered something else. I think I heard that there was a plan to add nested sections to core Moodle, maybe in 4.3. I guess it would probably make sense to wait and see what Moodle does before making any decisions for my plugin. |
FYI, it looks like this is the Moodle issue related to adding subsections within sections: https://tracker.moodle.org/browse/MDL-76888 |
Apparently it's planned to ship the subsections feature with Moodle 4.5 (although disabled by default), so I'll work on getting it working in the Multitopic format. |
I've noticed some bugs with subsections during testing: |
In my opinion, the format is much better suited to structuring courses than the normal topic format. Thanks for that!
Another big step in the direction of flexible structuring would be the possibility of being able to define sections within sections.
This possibility has the "Flexible sections format" (https://moodle.org/plugins/format_flexsections).
Are there any plans in this direction? Maybe you could merge the plugins?
The text was updated successfully, but these errors were encountered: