[LON-CAPA-users] Part list for practice problem
Stuart Raeburn
raeburn at msu.edu
Fri Jul 7 13:19:39 EDT 2017
Hi HK,
A change made in lonnavmaps.pm rev. 1.361 (2/16/2006) meant that parts
information was no longer available from the extractParts() routine in
lonnavmaps for problems with questiontype set to practice.
I have now changed this in lonnavmaps.pm rev. 1.531 with this one-line change:
@@ -5106,7 +5106,7 @@ sub extractParts {
- if ($self->is_problem()) {
+ if ($self->is_raw_problem()) {
Stuart Raeburn
LON-CAPA Academic Consortium
Quoting "H. K. Ng" <hkng at fsu.edu>:
> Hi,
>
> When a problem is set as a practice problem,
> the &EXT('resource.visibleparts') returns blank, whether it is just one
> part or multiple parts. Is there an equivalent call that returns the part
> list when a problem is set to "practice"?
>
> Aside: Why does &EXT('resource.visibleparts') return blank for practice
> problems?
>
> Thanks,
> -hk
More information about the LON-CAPA-users
mailing list