Conditional course creation

Conditional course creation

by Jean-Roch Meurisse -
Number of replies: 6
Picture of Core developers Picture of Plugin developers Picture of Testers

Hi,

In my institution, course creation for teachers should be linked to an external data source, that is techers should only be allowed to create courses they are responsible for in that external source. Only site administrators are allowed to create other courses

Is there a possibility to handle that feature through a plugin or will we be forced to hack the moodle core code?

Thanks in adavance

Average of ratings: -
In reply to Jean-Roch Meurisse

Re: Conditional course creation

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

Don't allow the teachers to create them at all - Use the external database enrolment plugin, which has options for create new courses, and they can be created automatically based on that external data source.

In reply to Richard Oelmann

Re: Conditional course creation

by Jean-Roch Meurisse -
Picture of Core developers Picture of Plugin developers Picture of Testers

Thanks for your answer,

The policy in our University is not to create every possible course, but to create them on a volontary basis, be they present in the official data source. The latter is accessible through xmlrpc webservices.

In reply to Jean-Roch Meurisse

Re: Conditional course creation

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

At the Open University, we blocked access to the standard Moodle add course page, and instead make a plugin for creating courses. That check the information like course shortname agains another database, and then when the course is created, it automatically sets up some standard things.

The particular plugin is very OU-specific, so we have never shared it, but it is not hard to make something like that.

In reply to Tim Hunt

Re: Conditional course creation

by Jean-Roch Meurisse -
Picture of Core developers Picture of Plugin developers Picture of Testers

Your solution seems to be exactly what we need. 

Although it's very OU-specific, your plugin could be a good base for us. We are just starting with moodle and must set up a 10000 users campus with specific needs for next year. Is it possible to get the source?

Regards

In reply to Jean-Roch Meurisse

Re: Conditional course creation

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

OK, I have no idea if the attached code will be any help to you at all, but bit might give you some ideas.

I am afraid this comes with absolutely no support.

Average of ratings: Useful (1)