Globally restricting assignment hand in times

Globally restricting assignment hand in times

by Tina Rowe -
Number of replies: 3

Hello

We have a few issues with assignment hand in times being set for midnight on a sunday when there is no support available.  As a result i would like to remove this option because it just creates work for me telling people to change their hand in times.

Is it possible to restrict the tool to some thing like only MTWTF and 09:00:00-17:00:00

Has anybody done this.

Currently using Moodle 2.8 and will be upgrading to 3.1 in the summer.

Thanks

TR


Average of ratings: -
In reply to Tina Rowe

Re: Globally restricting assignment hand in times

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

I don't think this can be done in core Moodle. I explored a requirement that involved creating a patch to exclude certain dates by creating a function that did a lookup in the calendar but that is neither what you want or what I would reccommend.

In reply to Tina Rowe

Re: Globally restricting assignment hand in times

by Michael Hughes -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

We have had a look at this sort of thing, as we have had users setting submission times where there is no technical support etc.

So whilst we don't have a policy that submission deadlines should be set M-F 9-5, we're currently writing an "overlay" plugin for Moodle forms that would allow us to present "guidance" when users select particular values.

The image below shows a mock up of this, and shows that for Due Date there's some guidance indicating that the date is outside of core hours.

Overlay

Also the down side of constraining the date picker means that in scenarios where that flexibility to set outside those values is lost.

In reply to Michael Hughes

Re: Globally restricting assignment hand in times

by Tina Rowe -

I like this a lot, will you be sharing it?

Thanks

Tina