Consider Integration with Dates Report

Issue #28 new
jezh created an issue

Tim Hunt wrote a "dates" report that allows all dates to be updated by type:

https://moodle.org/plugins/view/report_editdates

If it is possible to detect whether there are old dates a link to this report could be shown conditionally. Admin setting to enable would need to detect presence of report.

If you test the report the select for activity types redirects to a URL with the type as a parameter like:

activitytype=assign activitytype=choice

Thus it maybe possible to detect by type in the block and add specific links for those activity types with historic dates.

It would make more sense to use this, at least for the interim than looking at replicating what Tim has already done.

Comments (2)

  1. Mike Grant repo owner

    Are you wanting to expand the assignments section to include everything that has a date attached to it?

    e.g. Quiz, Choice, the course format (if it's weekly etc)

  2. jezh reporter

    I think we need to leave assignments as it is for now and just build another section. Then we can decide whether to leave both in the plugin and just disable the existing assignment feature, or do something else. Assignments are a special case and it maybe we still want to separate those out. Also, there is no dependency on other plugins with what we have now.

    What I would suggest doing next is creating a new section "Incorrect Dates" Below this list each activity type with an incorrect date and the number (count) of each type found in brackets like:

    • Assignment (3)
    • Choice (1)
    • Questionnaire (1)
    • Quiz (2)

    Each item would be a hyperlink into the relevant page of the dates report.

    One other point, that dates plugin mentions only working with OU Wiki, so for now we may need to exclude wikis or see whether it can be changed. Wikis are not used heavily and we can carry on without them for now.

  3. Log in to comment