I couldn´t find the way of creating an asignment with no due date (students may do it anytime). Did anybody ever do something like that?
Great ! Much better now but still showing in the course asignments list (mod/assignment/index.php?id=iii). I´ll work on it.
Thank you.
I agree that that solution is not the best but disabling the date fields in the form wouldn´t work neither because the module will assign it one anyway and when viewing the assignment you´ll probably see a date in the past, like December 31, 1969 or something like that.
I have been working in a complete solution with a few code modifications. I´ll post it here when it is finished.
I saw but It was created on Sep-2004 and not yet assigned to any future version. I´d like to contribute but i´m not sure how. Should I start working on some module to achieve this new functionality?
I needed to create assignments with no due date also. I opened mod/assignment/view.php and commented out lines 76 and 77...see below.
// $strduedate = userdate($assignment->timedue)." ($strdifference)";
// echo "<b>".get_string("duedate", "assignment")."</b>: $strduedate<br />";
This seems to work for me, but I've only been using it for a couple of months. Does anyone know of any unintended consequences of doing this?
Steve
I think that there couldn´t be any unintended consequences since you´re just commenting an echo line. The date is still showing when listing all the course assigments. You´ll have to comment lines in mod/assignment/index.php too.
Anyway, commenting that line is the same as setting a due date very far in the future, which is a better solutions since you can set it just for an assignment. With your proposed solutions all the assignment will hide their dates.