How to use multiple scheduler instances in a course?

How to use multiple scheduler instances in a course?

John Feagans發表於
Number of replies: 4

We would like to have teachers create their available slots in one scheduler instance in a course and have students able to pick a slot from any other instance in the course.

Currently, slots are only visible to the student in the instance where they were created. 

The file index.php alludes to creating a table of instances within a course.  How can you accomplish what we require?

評比平均分數: -
In reply to John Feagans

Re: How to use multiple scheduler instances in a course?

Henning Bostelmann發表於
Core developers的相片 Plugin developers的相片

Hello,

sorry, appointments can be booked only in the same scheduler instance that they were created in. (This is in line with Moodle's concept of "activity modules" - data is kept within the same activity module instance.)

Probably you should consider using only one scheduler instance in the course - it depends on your use case.

The "index.php" just lists all scheduler instances within a course. Every activity module has this kind of file; cf. mod/assign/index.php , mod/quiz/index.php and others.



In reply to Henning Bostelmann

Re: How to use multiple scheduler instances in a course?

John Feagans發表於

Henning,


Thank you for your answer.  I will however have to break the scheduler code because it cannot work in our courses.


Courses are set up topic based completion.  One instance of the scheduler would never appear again to the student, and office hours are a pool from the teachers.  A student at periodic intervals must schedule a 1/2 hour conference.  In the current system, teachers cannot enter the same hours into a new instance of the scheduler that they previously entered.  If they are indeed separate activities this is a bug?

In reply to John Feagans

Re: How to use multiple scheduler instances in a course?

Henning Bostelmann發表於
Core developers的相片 Plugin developers的相片

I will however have to break the scheduler code because it cannot work in our courses.

You're welcome to modify the code to suit your needs, of course - it's open source - just to warn you that when making modifications of that type you're in danger of breaking other parts of Scheduler.

Teachers can in fact not set up identical slots in different schedulers. This is to avoid scheduling conflicts: Otherwise, teachers might end up with several appointments at the same time.

You might be interested in a new feature that will be introduced in the upcoming 2.7 release of Scheduler: Students can book several appointments in the same scheduler, but only one at a time (until the teacher marks the previous appointment as "seen"). See CONTRIB-1761 for details.

In reply to Henning Bostelmann

Re: How to use multiple scheduler instances in a course?

John Feagans發表於
Too bad I can't communicate the need and what I am doing.  Lets try one more time. Teachers can now only make slots on one instance of the scheduler like it is right now.  Students see multiple instances in the order of their course and can make one appointment at a time from the pool of appointments.


TEACHER

(Can only create slots on the first instance)


STUDENT

(Can pick one slot from any instance of the scheduler)