Globally restricting assignment hand in times

Globally restricting assignment hand in times

Tina Rowe -
回帖数: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


回复Tina Rowe

Re: Globally restricting assignment hand in times

Marcus Green -
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 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.

回复Tina Rowe

Re: Globally restricting assignment hand in times

Michael Hughes -
Core developers的头像 Particularly helpful Moodlers的头像 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.