[LON-CAPA-users] How to automatically display solution for a problem?
Mills, Douglas G
dmills at illinois.edu
Mon Mar 5 16:03:14 EST 2018
There these very handy "Blocks" you can insert in your problem code and I think the "postanswerdate" block will do what you want, but I'm including all four that can be found from the Insert menu on the "colorful" editor. I would describe these as predefined conditionals so the postanswerdate pair, for example, will only display what is within the opening and closing tags after the answer has become available. If you put your link to a solution PDF inside a pair of postanswerdate tags, that should do what you're looking for. The others work analogously I believe.
Director of Instructional Technology
Department of Chemistry
University of Illinois
From: LON-CAPA-users <lon-capa-users-bounces at mail.lon-capa.org> on behalf of Itay <itayf at nospammail.net>
Reply-To: Discussion list for LON-CAPA users <lon-capa-users at mail.lon-capa.org>
Date: Monday, March 5, 2018 at 2:34 PM
To: Discussion list for LON-CAPA users <lon-capa-users at mail.lon-capa.org>
Subject: [LON-CAPA-users] How to automatically display solution for a problem?
I failed to find a solution to this seemingly simple and universal issue.
Conditional sequences might be the mechanism I am looking for, but I could not find enough details and examples of implementation.
Assume I prepared and published a problem 'some.problem', and a corresponding solution 'solution.pdf'.
I imported the problem into a course and set the parameters duedate and answerdate.
I am looking for a mechanism that will allow me
(1) to include a reference to the 'solution.pdf' inside 'some.problem'; and
(2) will display 'solution.pdf' to the students only when 'answerdate' is reached and the answer for 'some.problem' is displayed.
And I would like to achieve this for every problem inside a folder and/or a course.
I would appreciate any hints on how to achieve that.
Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LON-CAPA-users