<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style>@font-face {
        font-family: Cambria Math;
}
@font-face {
        font-family: Calibri;
}
@font-face {
        font-family: Tahoma;
}
@page WordSection1 {margin: 72.0pt 72.0pt 72.0pt 72.0pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman","serif"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman","serif"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman","serif"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
P {
        FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: "Times New Roman","serif"
}
SPAN.apple-style-span {
        
}
SPAN.EmailStyle19 {
        COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"
}
SPAN.EmailStyle20 {
        COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"
}
.MsoChpDefault {
        FONT-SIZE: 10pt
}
DIV.WordSection1 {
        
}
</style>
<meta content="MSHTML 6.00.6000.17080" name="GENERATOR">
<style id="owaTempEditStyle"></style><style title="owaParaStyle"><!--P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
--></style>
</head>
<body lang="EN-GB" vlink="purple" link="blue" ocsi="x">
<div style="FONT-SIZE: 13px; COLOR: #000000; DIRECTION: ltr; FONT-FAMILY: Tahoma">
<div>Look at the toolkits PHP</div>
<div><font face="tahoma" size="2"></font> </div>
<div><font face="tahoma" size="2">Pat doesNotCamelCaseLikeEVER especially_when_underscores_exist</font></div>
<div><font face="tahoma" size="2"></font> </div>
<div><font face="tahoma" size="2">Can some one please check their toolkits install to see if apiwrapper is named in an upper or lower case?</font></div>
<div><font face="tahoma" size="2"></font> </div>
<div><font face="tahoma" size="2">Thanks all</font></div>
<div dir="ltr"><font face="Tahoma" color="#000000" size="2"></font> </div>
<div id="divRpF554028" style="DIRECTION: ltr">
<hr tabindex="-1">
<font face="Tahoma" color="#000000" size="2"><b>From:</b> xerte-bounces@lists.nottingham.ac.uk [xerte-bounces@lists.nottingham.ac.uk] On Behalf Of Ron Mitchell [ronm@mitchellmedia.co.uk]<br>
<b>Sent:</b> Saturday, October 16, 2010 7:54 AM<br>
<b>To:</b> 'Xerte discussion list'<br>
<b>Subject:</b> RE: [Xerte] Difficulties in retrieving the results of a Xerte questionnaire (scorm) in Moodle - problem resolved<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">OK I did some further checking and here are my conclusions/comments....</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></span> </p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">1. When using the test suite with an LO stored locally you must set the Flash Player Global Security Settings to allow that path otherwise LMSSetvalue etc
doesn't register. With the path set e.g. http://mitchellmedia.co.uk/img/tgrab-rX.png then with Nuri's LO the setvalue is shown in the test suite e.g. http://mitchellmedia.co.uk/img/tgrab-fF.png</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></span> </p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">2. However the LO imported as Scorm into Moodle wasn't storing scores in the Moodle gradebook and yet I had previous LO's from 2007 which were! Wasted loads
of time tracking down what turned out to be a very simple solution! <b>Having found the cause solution I think as punishment either Julian or Pat or both should write 1000 lines: camelcasing bad - lowercasing good! ;-)</b></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></span> </p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Line 3 of scormRLO.htm revealed the problem. I tracked back through early versions of toolkits and at some point apiwrapper.js turned into APIWrapper.js
whereas line 3 of scormRLO.htm seems to have always referred to apiwrapper.js</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></span> </p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">So I guess on case insensitive systems this hasn't been a problem but I suspect most Moodle installations are running with case sensitivity. There are lots
of different ways of changing that (file system, mod_spelling, mod_rewrite etc) but that would be a bit drastic! So easiest solution change APIWrapper.js to apiwrapper.js or change line 3 of scormRLO.htm to point to APIWrapper.js</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></span> </p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">I think the easiest is to change APIWrapper.js to apiwrapper.js and to fix this for future exports from your XOT installation change the file in yourtoolkitsinstall\modules\xerte\scorm\
APIWrapper.js</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></span> </p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">To fix any existing scorm LO's already imported into Moodle visit the files area in your course, open the moddata\scorm folder and then the folder representing
the relevant scorm LO e.g. moddata\scorm\4\ and rename APIWrapper.js to apiwrapper.js</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></span> </p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">HTH</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Ron</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></span> </p>
<div>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<p class="MsoNormal"><b><span lang="EN-US" style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</span></b><span lang="EN-US" style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk]
<b>On Behalf Of </b>Julian Tenney<br>
<b>Sent:</b> 15 October 2010 11:37<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> RE: [Xerte] Difficulties in retrieving the results of a Xerte questionnaire (scorm) in Moodle</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">OK, thanks. I need to track down why not. Leave it with me.</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></span> </p>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<p class="MsoNormal" style="MARGIN-LEFT: 36pt"><b><span lang="EN-US" style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</span></b><span lang="EN-US" style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Nuri<br>
<b>Sent:</b> 15 October 2010 11:36<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> Re: [Xerte] Difficulties in retrieving the results of a Xerte questionnaire (scorm) in Moodle</span></p>
</div>
<p class="MsoNormal" style="MARGIN-LEFT: 36pt"> </p>
<p class="MsoNormal" style="MARGIN-BOTTOM: 12pt; MARGIN-LEFT: 36pt; MARGIN-RIGHT: 0cm">
<span class="apple-style-span"><span style="FONT-FAMILY: 'Arial','sans-serif'">Hi Julian,</span></span><span style="FONT-FAMILY: 'Arial','sans-serif'"><br>
<br>
<span class="apple-style-span">I changed the file scormRLO.htm, and I added in the setValue function:</span><br>
<span class="apple-style-span">alert ("Hello");</span><br>
<span class="apple-style-span">Is it right? ;-P</span></span></p>
<div>
<p class="MsoNormal" style="MARGIN-LEFT: 36pt"><span class="apple-style-span"><span style="FONT-FAMILY: 'Arial','sans-serif'">When I test the scorm in the Test Suite, no alert is triggered at any time.</span></span></p>
</div>
<div>
<p class="MsoNormal" style="MARGIN-LEFT: 36pt"> </p>
</div>
<div>
<p class="MsoNormal" style="MARGIN-LEFT: 36pt"><span class="apple-style-span"><span style="FONT-FAMILY: 'Arial','sans-serif'">I annex the new file scormRLO.htm, if it's any help.</span></span></p>
</div>
<div>
<p class="MsoNormal" style="MARGIN-LEFT: 36pt"> </p>
</div>
<div>
<p class="MsoNormal" style="MARGIN-LEFT: 36pt"><span class="apple-style-span"><span style="FONT-FAMILY: 'Arial','sans-serif'">Thanks,</span></span></p>
</div>
<div>
<p class="MsoNormal" style="MARGIN-LEFT: 36pt"> </p>
</div>
<div>
<p class="MsoNormal" style="MARGIN-BOTTOM: 12pt; MARGIN-LEFT: 36pt; MARGIN-RIGHT: 0cm">
<span class="apple-style-span"><span style="FONT-FAMILY: 'Arial','sans-serif'">Nuria.</span></span></p>
<div>
<p class="MsoNormal" style="MARGIN-LEFT: 36pt">2010/10/15 Julian Tenney <<a href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</a>></p>
<div>
<div>
<p class="MsoNormal" style="MARGIN-LEFT: 36pt"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">No, it’s not necessary, we just need to find out where the problem is.</span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 36pt"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"></span> </p>
<p class="MsoNormal" style="MARGIN-LEFT: 36pt"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">You managed to run the SCORM test suite – that usually indicates a developer.</span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 36pt"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"></span> </p>
<p class="MsoNormal" style="MARGIN-LEFT: 36pt"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">I cannot get IE to run the test suite: something is wrong with my PC (in IE all local web pages open in source view, and I cannot find a way to get it to open them
normally) and this is screwing up the test suite, otherwise I’d track it down myself.</span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 36pt"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"></span> </p>
<p class="MsoNormal" style="MARGIN-LEFT: 36pt"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">We’ll figure it out, don’t worry,</span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 36pt"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"></span> </p>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<p class="MsoNormal" style="MARGIN-LEFT: 72pt"><b><span lang="EN-US" style="FONT-SIZE: 10pt">From:</span></b><span lang="EN-US" style="FONT-SIZE: 10pt">
<a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a>]
<b>On Behalf Of </b>Nuri<br>
<b>Sent:</b> 15 October 2010 11:21</span></p>
<div>
<div>
<p class="MsoNormal" style="MARGIN-LEFT: 36pt"><br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> Re: [Xerte] Difficulties in retrieving the results of a Xerte questionnaire (scorm) in Moodle</p>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="MARGIN-LEFT: 72pt"> </p>
<p class="MsoNormal" style="MARGIN-LEFT: 72pt">Hi Julian,<br>
<br>
It is the first time working with Xerte Toolkits. I have not coded anything, I just used the wizards of Xerte Toolkits.<br>
<br>
You mean I have to use some additional programming ? (As you comets, calls to get / setValue as the quiz starts / finishes).<br>
I thought the tool generates all the necessary code.<br>
<br>
I am educator, I have no programming skills to accomplish this.</p>
<div>
<p class="MsoNormal" style="MARGIN-LEFT: 72pt"> </p>
</div>
<div>
<p class="MsoNormal" style="MARGIN-LEFT: 72pt">If necessary programming skills, it is not feasible to use this tool to me. </p>
</div>
<div>
<p class="MsoNormal" style="MARGIN-LEFT: 72pt">Is it necessary?</p>
</div>
<div>
<p class="MsoNormal" style="MARGIN-LEFT: 72pt"> </p>
</div>
<div>
<p class="MsoNormal" style="MARGIN-LEFT: 72pt">Thanks,</p>
</div>
<div>
<p class="MsoNormal" style="MARGIN-LEFT: 72pt"> </p>
</div>
<div>
<p class="MsoNormal" style="MARGIN-LEFT: 72pt">Nuria.</p>
</div>
<div>
<p class="MsoNormal" style="MARGIN-BOTTOM: 12pt; MARGIN-LEFT: 72pt"> </p>
<div>
<p class="MsoNormal" style="MARGIN-LEFT: 72pt">2010/10/15 Julian Tenney <<a href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</a>></p>
<div>
<div>
<p class="MsoNormal" style="MARGIN-LEFT: 72pt"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Can you put an alert in the setValue function in scormRLO.htm and see if it’s getting called from Xerte?</span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 72pt"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"></span> </p>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<p class="MsoNormal" style="MARGIN-LEFT: 108pt"><b><span lang="EN-US" style="FONT-SIZE: 10pt">From:</span></b><span lang="EN-US" style="FONT-SIZE: 10pt">
<a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a>]
<b>On Behalf Of </b>Nuri<br>
<b>Sent:</b> 15 October 2010 11:07<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> Re: [Xerte] Difficulties in retrieving the results of a Xerte questionnaire (scorm) in Moodle</span></p>
</div>
<div>
<div>
<p class="MsoNormal" style="MARGIN-LEFT: 108pt"> </p>
<p class="MsoNormal" style="MARGIN-LEFT: 108pt">Hi Julian,<br>
<br>
I changed the file that you sent me, but I still get the same error in the Test suite (Data Transfer: None supported)<br>
<br>
I annex the log, if it's any help.</p>
<div>
<p class="MsoNormal" style="MARGIN-LEFT: 108pt"> </p>
</div>
<div>
<p class="MsoNormal" style="MARGIN-LEFT: 108pt">Thanks,</p>
<div>
<p class="MsoNormal" style="MARGIN-LEFT: 108pt"><br>
- Nuri -</p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="MARGIN-LEFT: 72pt"> </p>
<div>
<p style="MARGIN-LEFT: 72pt">This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use,
copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
</p>
<p style="MARGIN-LEFT: 72pt">This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University
of Nottingham may be monitored as permitted by UK legislation. </p>
</div>
</div>
<p class="MsoNormal" style="MARGIN-BOTTOM: 12pt; MARGIN-LEFT: 72pt"><br>
_______________________________________________<br>
Xerte mailing list<br>
<a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>
<br>
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information
contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.<br>
<br>
This message has been checked for viruses but the contents of an attachment<br>
may still contain software viruses which could damage your computer system:<br>
you are advised to perform your own checks. Email communications with the<br>
University of Nottingham may be monitored as permitted by UK legislation.</p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="MARGIN-BOTTOM: 12pt; MARGIN-LEFT: 36pt; MARGIN-RIGHT: 0cm">
<br>
_______________________________________________<br>
Xerte mailing list<br>
<a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>
<br>
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information
contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.<br>
<br>
This message has been checked for viruses but the contents of an attachment<br>
may still contain software viruses which could damage your computer system:<br>
you are advised to perform your own checks. Email communications with the<br>
University of Nottingham may be monitored as permitted by UK legislation.</p>
</div>
<p class="MsoNormal" style="MARGIN-LEFT: 36pt"><br>
<br clear="all">
<br>
-- <br>
<br>
- Nuri -</p>
</div>
</div>
</div>
</div>
</body>
</html>