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

Course ID should be checked and retained during backup and restore / copy course #2

Open
cjbsdigitallearning opened this issue Mar 7, 2025 · 0 comments

Comments

@cjbsdigitallearning
Copy link

Hi

Great plugin. Also great that it supports the display of a section form a different course. However I think it can be improved by the following.

We plan to use the section block to show frequently accesses item on every course page, so for us the block will show the same or very similar content in each course. Course ID will always be the current course not a different one. We use a template course which is then used to create each new course, of which there are hundreds. We've encountered an issue in that the course ID is not updated to reflect the new course ID once restored, meaning that we'd need to manually update the Course ID in every course.

I can understand this behaviour wouldn't be desirable if displaying a section form a different course, so here what I propose:

During backup and restore / copy the Course ID in the Section block should be checked, if it matches the course being processed, then it should be updated to reflect the new course. If not it should retain the current behaviour on remain unchanged.

Hope this makes sense, happy to discuss further.

Best wishes
Neil

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

1 participant