Uploading courses from a file

Uploading courses from a file

by James Henestofel -
Number of replies: 3

Hello all,

I have been working on a new Admin tool based off the Upload Users tool but for courses. I've taken what worked for the Upload Users and reworked it to work for uploading courses from a file.  I've also included the ability to import content from a template course into a new or existing course

I've created a Git repos here https://github.com/henesnarfel/Moodle-Upload-Courses

Forgive me as I'm just learning Git so hopefully everything is setup correctly. Let me know what you guys think.

Average of ratings: -
In reply to James Henestofel

Re: Uploading courses from a file

by Derek Chirnside -

There are some other options.

This enhancement is another one of the mysteries of the (seemingly) haphazard way Moodle evolves.  See this tracker item from 2008: http://tracker.moodle.org/browse/MDL-13114  Sometimes developers get a fix on something then whoosh, something happens to take their activity elsewhere.

One discussion around this is here: https://moodle.org/mod/forum/discuss.php?d=173705&parent=854771

The 2.3 docs are a little out of date.

-Derek

In reply to Derek Chirnside

Re: Uploading courses from a file

by James Henestofel -

Man can't believe I didn't find that discussion.  I even searched trying to find out if someone was even doing this before I started.  Looks pretty much exactly what I have done.  Well I guess I could help him out with any issues he is having.

In reply to Derek Chirnside

Re: Uploading courses from a file

by James Henestofel -

I've added my code to the tracker thats part of that conversation.  I don't think the Piers's code is capable of being added to core as is.  Lot of things needing cleaned up and fixed.  Hopefully at least my simple version could fulfill the tracker and be added.  Then if need be add to the code once a simple version is in place.