Dates
Maintained by
Tim Hunt, Mahmoud Kassaei, Hieu Vu Van
This 'report' is actually a tool to let you edit all the dates in a course on one page.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
Also, if admins could set which items with dates are visible in this report that would be an extra bonus! When all the options are presented, some my feel overwhelmed and/or think they _should_ use them all. There are some that we would just as well leave unused :7)
https://www.dropbox.com/s/csamr2c0zx9tlfb/Screenshot%202017-07-17%2016.30.34.png?dl=0
Other classes do not show an "All" option.
https://www.dropbox.com/s/ugtx13j3d7wjfzd/Screenshot%202017-07-17%2016.35.27.png?dl=0
Any ideas why? Is the Dates Report choosing not to allow display of "All" if there are over a certain number of items? In the 2nd screenshot, there are a total of 19 items between 6 activity types.
Nathan
As far as I see, if I comment the line update_gradebook on mod/assigndate.php the idnumber on mdl_grade_items is not changed. So I decided to act in this way with /mod/assign/locallib.php on line 873 and /mod/assign/lib.php on line 1073. What your plugin need has to be in between this two functions, but I think that we need to send the idnumber as well as we send the dates otherwise we lost them and moodle let the module idnumber on the mdl_grade_items as new idnumber.
I repeat again it's a big problem and I would like to help you to find out exactly what's wrong but as much as I check I can't get in the solution. I'm suprise to be the first one having it as well.
You made a fantastic job with this pluing but as Moodle 2.7 user and maybe someone can correct me what's is happening on fordward versions, everytime I change a date from a assigment taks or forums and I some idnumber already configured on them, the plugin remove the idnumber and introduce some number that I really don't know from where is getting and even for what. I need the idnumbers to make my formulas on gradebooks but as I said is generating some problems I have to fix it on the background.
in fact, for that, it would certainly need a new plugin, like "View/edit all course restrictions", that would allow, in a single page/place, to see and edit all restrictions (sections, and resource/activities) of the course. Such a plugin should of course take into account all installed restriction plugins, even if not standard.