Mark, Yes, by adding something like this to the XML of the problem, where the default value (500) is the time-limit (in seconds):
<parameter name="interval" type="date_interval" default="500" description="Time-Limit" /> In the table view of parameters (in course context) for the specific resource, the default value set in the published problem will be displayed in the Resource level (default) column. If the problem has been imported into a course, and a Course Coordinator preferred not to use a time limit, this parameter could be overridden by setting the time limit to 0, using a column to the right of the Resource level (default) column, e.g., the" in Course, for Resource" column. Stuart Raeburn LON-CAPA Academic Consortium ________________________________________ From: LON-CAPA-users <[email protected]> on behalf of Mark Wall <[email protected]> Sent: Friday, September 7, 2018 10:27 AM To: [email protected] Subject: Re: [LON-CAPA-users] LON-CAPA-users Digest, Vol 81, Issue 4 Hi, Is it possible to hard code the time-limit parameter into a problem, similar to hard coding the max tries for a part using <parameter description="Maximum Number of Tries" type="int_pos" default="1" name="maxtries">. Thanks, Mark ______________________ Mark Wall Department of Chemistry Dalhousie University _______________________________________________ LON-CAPA-users mailing list [email protected] http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
