Skip to content
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

Moodle 4.5 LTS - Subsections decision #203

Open
diolwe opened this issue Dec 28, 2024 · 4 comments
Open

Moodle 4.5 LTS - Subsections decision #203

diolwe opened this issue Dec 28, 2024 · 4 comments

Comments

@diolwe
Copy link

diolwe commented Dec 28, 2024

It would be wonderful to have Onetopic as a course format on M 4.5 too. At the moment it throws the following error:

Failed opening required '[dirroot]/course/format/onetopic/format.php' (include_path = '[dirroot]/lib/pear:.:/usr/share/php')

If this is a local problem I'd appreciate any hint which PHP module I am possibly missing. Thank you!!

@HananoshikaYomaru
Copy link

now moodle has built in subsection. it is not the same as the subsection we will have in the onetopic. is there a way to make it compatible?

@davidherney The challenge is that it not only need to be compatible with 4.5 but also backward compatible with previous versions.

@davidherney
Copy link
Owner

Hola @diolwe ...

Your problem seems to be an installation error, maybe you are missing files. Did you install manually, from Git or from a Zip? The file [dirroot]/course/format/onetopic/format.php is a standard file that is always in the package.
It could also be a lack of permissions.

Saludos

@davidherney
Copy link
Owner

Hola @HananoshikaYomaru ...

I'm thinking hard about what to do with the "subsections" - I think I'll probably use them for the second level of tabs, but I need to decide what to do with the courses that already have two levels. All opinions are welcome in making the final decision.
For now, for compatibility reasons, the subsections are not shown as tabs but within the content.

Saludos

@sharpchi
Copy link

@davidherney - could we rename this issue as "Sub-sections", or open a new issue for sub-sections?

I've experimented a bit with onetopic and subsections, and am not going to enable them for the time being because it's quite confusing - not a judgement on your plugin, just making a call on whether to activate sub-sections.

We could just leave it to the teacher to manage migration of content to subsections. I suppose we could offer an extra section menu item "Migrate to subsection" (a bit like Move) and create a sub-section from a child tab. That would take the burden off any upgrade script to try and figure things out automatically.

In any case, site admins will probably need to manage communication for this change.

@davidherney davidherney changed the title Moodle 4.5 LTS Moodle 4.5 LTS - Subsections decision Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants