[LON-CAPA-users] Detecting What Part The Student Has Just Answered

Sean Wolf lon-capa-users@mail.lon-capa.org
Wed, 18 Mar 2009 18:30:50 -0700


--0016363b7c70173c9304656ec03d
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Right after the <problem> tag I have these for lines of code:

&EXT('user.resource.resource.2.tries')<br />
&EXT('user.resource.resource.2.solved')<br />
&EXT('user.resource.resource.$external::part') <br />
$external::part<br />

I complete the first part of the problem and then answer the second problem
incorrectly thrice.  This is what shows up when I view the page as both an
author and a student (both in the construction space and in the context of
the course):

3
incorrect_attempted
&EXT('user.resource.resource.$external::part')
$external::part

I'm not sure if the $external function is not supported anymore or if I'm
not calling it correctly.  I'm using Firefox 3 if this helps.

On Wed, Mar 18, 2009 at 6:14 PM, Mark Lucas <lucasm@ohio.edu> wrote:

> Sean Wolf wrote:
>
>> I'm having problems using $external::part from
>> /res/msu/albertel/test/ext_examples.problem
>>
>> Basically, it doesn't do anything; it doesn't even return a blank, it just
>> shows up as text.
>>
>> --
>> Sean Wolf
>> 2400 Ford St.
>> Golden, CO 80401
>> (720) 897-7763
>>
>>  Sean,
>
> Can you give some context as to how you are using it and in what
> environment you are working (is this in construction space or in the context
> of a course?). I'm not sure if I can help, but whoever can will probably be
> looking for a snippet of code or the code to the sample problem in order to
> help debug.
>
> Later,
> Mark
>
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users@mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
>



-- 
Sean Wolf
2400 Ford St.
Golden, CO 80401
(720) 897-7763

--0016363b7c70173c9304656ec03d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Right after the &lt;problem&gt; tag I have these for lines of code:<br><br>=
&amp;EXT(&#39;user.resource.resource.2.tries&#39;)&lt;br /&gt;<br>&amp;EXT(=
&#39;user.resource.resource.2.solved&#39;)&lt;br /&gt;<br>&amp;EXT(&#39;use=
r.resource.resource.$external::part&#39;) &lt;br /&gt;<br>
$external::part&lt;br /&gt;<br><br>I complete the first part of the problem=
 and then answer the second problem incorrectly thrice.=A0 This is what sho=
ws up when I view the page as both an author and a student (both in the con=
struction space and in the context of the course):<br>
<br>3<br>
incorrect_attempted<br>
&amp;EXT(&#39;user.resource.resource.$external::part&#39;) <br>
$external::part<br><br>I&#39;m not sure if the $external function is not su=
pported anymore or if I&#39;m not calling it correctly.=A0 I&#39;m using Fi=
refox 3 if this helps.<br><br><div class=3D"gmail_quote">On Wed, Mar 18, 20=
09 at 6:14 PM, Mark Lucas <span dir=3D"ltr">&lt;<a href=3D"mailto:lucasm@oh=
io.edu">lucasm@ohio.edu</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><=
div class=3D"h5">Sean Wolf wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I&#39;m having problems using $external::part from /res/msu/albertel/test/e=
xt_examples.problem<br>
<br>
Basically, it doesn&#39;t do anything; it doesn&#39;t even return a blank, =
it just shows up as text.<br>
<br>
-- <br>
Sean Wolf<br>
2400 Ford St.<br>
Golden, CO 80401<br>
(720) 897-7763<br>
<br>
</blockquote></div></div>
Sean,<br>
<br>
Can you give some context as to how you are using it and in what environmen=
t you are working (is this in construction space or in the context of a cou=
rse?). I&#39;m not sure if I can help, but whoever can will probably be loo=
king for a snippet of code or the code to the sample problem in order to he=
lp debug.<br>

<br>
Later,<br>
Mark<br>
<br>
_______________________________________________<br>
LON-CAPA-users mailing list<br>
<a href=3D"mailto:LON-CAPA-users@mail.lon-capa.org" target=3D"_blank">LON-C=
APA-users@mail.lon-capa.org</a><br>
<a href=3D"http://mail.lon-capa.org/mailman/listinfo/lon-capa-users" target=
=3D"_blank">http://mail.lon-capa.org/mailman/listinfo/lon-capa-users</a><br=
>
</blockquote></div><br><br clear=3D"all"><br>-- <br>Sean Wolf <br>2400 Ford=
 St.<br>Golden, CO 80401<br>(720) 897-7763<br><br>

--0016363b7c70173c9304656ec03d--