<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
p.msochpdefault, li.msochpdefault, div.msochpdefault
        {mso-style-name:msochpdefault;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:10.0pt;
        font-family:"Times New Roman","serif";}
span.emailstyle18
        {mso-style-name:emailstyle18;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.emailstyle19
        {mso-style-name:emailstyle19;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.emailstyle20
        {mso-style-name:emailstyle20;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.htmlpreformattedchar0
        {mso-style-name:htmlpreformattedchar;
        font-family:Consolas;}
span.emailstyle25
        {mso-style-name:emailstyle25;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle27
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='color:#1F497D'>Ah, I thought they might be a
simple authentication against users stored in the database. I guess I could
code one?<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<div>
<p class=MsoNormal><span lang=EN-GB style='color:#1F497D'>___________________________________<o:p></o:p></span></p>
<p class=MsoNormal><b><span lang=EN-GB style='color:#1F497D'> Adam Read<o:p></o:p></span></b></p>
<p class=MsoNormal><span lang=EN-GB style='color:#1F497D'> Learning
Technologist<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='color:#1F497D'> University
College Plymouth St Mark & St John<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='color:#1F497D'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:9.0pt;color:#1F497D'> <a
href="mailto:aread@marjon.ac.uk"><span style='color:blue'>aread@marjon.ac.uk</span></a>
<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:9.0pt;color:#1F497D'> tel:
01752 636700 ext: 5673<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:9.0pt;color:#1F497D'> Room
566, Kirby Cudmore Building<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:9.0pt;color:#1F497D'> <a
href="http://www.twitter.com/adamread"><span style='color:blue'>twitter.com/adamread</span></a>
<o:p></o:p></span></p>
</div>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Patrick
Lockley<br>
<b>Sent:</b> 15 October 2009 18:43<br>
<b>To:</b> Xerte discussion list; Xerte discussion list<br>
<b>Subject:</b> RE: [Xerte] Current Page<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<div id=idOWAReplyText63592>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>It takes LDAP by default if you use index.php</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>if
you want you can use integration.txt to write your own system, demo.txt to use
no authentication, or switch.txt to run a crude hard coded system.</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Or
there is a moodle patch.</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
</div>
</div>
<div>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p>
<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> xerte-bounces@lists.nottingham.ac.uk on
behalf of Adam Read<br>
<b>Sent:</b> Thu 15/10/2009 15:38<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> RE: [Xerte] Current Page</span><span style='font-size:12.0pt;
font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='color:#1F497D'>Thanks Pat</span><o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>No, I don’t want to use LDAP. I
left all the LDAP fields as default which I presume means it’s not trying to
authenticate that way?</span><o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>Or am I missing the fact it’ll
only authenticate using LDAP?</span><o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>Adam</span><o:p></o:p></p>
<div>
<p class=MsoNormal><span lang=EN-GB style='color:#1F497D'>___________________________________</span><o:p></o:p></p>
<p class=MsoNormal><b><span lang=EN-GB style='color:#1F497D'> Adam Read</span></b><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-GB style='color:#1F497D'> Learning
Technologist</span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-GB style='color:#1F497D'> University
College Plymouth St Mark & St John</span><o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:9.0pt;color:#1F497D'> <a
href="mailto:aread@marjon.ac.uk">aread@marjon.ac.uk</a> </span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:9.0pt;color:#1F497D'> tel:
01752 636700 ext: 5673</span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:9.0pt;color:#1F497D'> Room
566, Kirby Cudmore Building</span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:9.0pt;color:#1F497D'> <a
href="http://www.twitter.com/adamread">twitter.com/adamread</a> </span><o:p></o:p></p>
</div>
<p class=MsoNormal> <o:p></o:p></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Patrick
Lockley<br>
<b>Sent:</b> 15 October 2009 15:20<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> RE: [Xerte] Current Page</span><o:p></o:p></p>
</div>
</div>
<p class=MsoNormal> <o:p></o:p></p>
<div id=idOWAReplyText15371>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>LDAP installed?</span><o:p></o:p></p>
</div>
</div>
<div>
<p class=MsoNormal> <o:p></o:p></p>
<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> xerte-bounces@lists.nottingham.ac.uk on
behalf of Adam Read<br>
<b>Sent:</b> Thu 15/10/2009 11:23<br>
<b>To:</b> 'Xerte discussion list'<br>
<b>Subject:</b> RE: [Xerte] Current Page</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><span style='color:#1F497D'>Hmm I’ve installed XOT on ISS
(at <a href="http://elearning.net.marjon.ac.uk/rlo/">http://elearning.net.marjon.ac.uk/rlo/</a>
) and ran through the full setup without problems. However when I try to login
using my admin account (which I specified in the setup) I get a “The website
cannot display the page HTTP 500” error.</span><o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>Anyone experienced this? Any
suggestions?</span><o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>Thanks</span><o:p></o:p></p>
<p class=MsoNormal><span style='color:#1F497D'><br>
Adam</span><o:p></o:p></p>
<div>
<p class=MsoNormal><span lang=EN-GB style='color:#1F497D'>___________________________________</span><o:p></o:p></p>
<p class=MsoNormal><b><span lang=EN-GB style='color:#1F497D'> Adam Read</span></b><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-GB style='color:#1F497D'> Learning
Technologist</span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-GB style='color:#1F497D'> University
College Plymouth St Mark & St John</span><o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:9.0pt;color:#1F497D'> <a
href="mailto:aread@marjon.ac.uk">aread@marjon.ac.uk</a> </span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:9.0pt;color:#1F497D'> tel:
01752 636700 ext: 5673</span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:9.0pt;color:#1F497D'> Room
566, Kirby Cudmore Building</span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:9.0pt;color:#1F497D'> <a
href="http://www.twitter.com/adamread">twitter.com/adamread</a> </span><o:p></o:p></p>
</div>
<p class=MsoNormal> <o:p></o:p></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;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 2009 10:53<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> RE: [Xerte] Current Page</span><o:p></o:p></p>
</div>
</div>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal><span lang=EN-GB style='color:#1F497D'>rootIcon.currentPage</span><o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Paul Beckwith<br>
<b>Sent:</b> Thursday, October 15, 2009 10:54 AM<br>
<b>To:</b> 'Xerte discussion list'<br>
<b>Subject:</b> [Xerte] Current Page</span><o:p></o:p></p>
</div>
</div>
<p class=MsoNormal style='margin-left:36.0pt'> <o:p></o:p></p>
<p class=MsoNormal style='margin-left:36.0pt'>In .rlt we have an event handler
for onOpenPage. <o:p></o:p></p>
<p class=MsoListParagraph style='margin-left:72.0pt'> <o:p></o:p></p>
<p class=MsoNormal style='margin-left:54.0pt'>We need to know the "current
page” that we are on so that we can update page titles and a progress bar. We
currently have: extXML.firstChild.childNodes[rootIcon.getPageIndex()] which is
always returning “0” or the first page… <o:p></o:p></p>
<p class=MsoNormal style='margin-left:54.0pt'> <o:p></o:p></p>
<p class=MsoNormal style='margin-left:54.0pt'>How do we extract the current
page number? Or current XML generated page that is being displayed? (from
template.xml)<o:p></o:p></p>
<p class=MsoNormal style='margin-left:54.0pt'> <o:p></o:p></p>
<p class=MsoNormal style='margin-left:54.0pt'> <o:p></o:p></p>
<p class=MsoNormal style='margin-left:54.0pt'>We can get the total number of
pages (childNodes) from extXML.firstChild.childNodes.length but not the current
page being displayed. <o:p></o:p></p>
<p class=MsoNormal style='margin-left:54.0pt'> <o:p></o:p></p>
<p class=MsoNormal style='margin-left:72.0pt'> <o:p></o:p></p>
<p class=MsoNormal style='margin-left:36.0pt'> <o:p></o:p></p>
<p class=MsoNormal style='margin-left:36.0pt'> <o:p></o:p></p>
<pre style='text-align:center'> <o:p></o:p></pre><pre style='text-align:
center'>
<hr size=2 width="100%" align=center>
</pre><pre style='text-align:center'><o:p> </o:p></pre><pre
style='text-align:center'><o:p> </o:p></pre><pre style='text-align:center'> <o:p></o:p></pre><pre
style='text-align:center'>University College Plymouth St Mark & St John<o:p></o:p></pre><pre
style='text-align:center'>Derriford Road Plymouth PL6 8BH<o:p></o:p></pre>
<p align=center style='text-align:center'><span style='font-size:10.0pt;
font-family:"Courier New"'>Phone 01752 636700 Web
marjon.ac.uk</span><o:p></o:p></p>
<p align=center style='text-align:center'><span style='font-size:10.0pt;
font-family:"Courier New"'><br>
Principal: Professor Margaret Noble </span><o:p></o:p></p>
<p align=center style='text-align:center'> <o:p></o:p></p>
<p align=center style='text-align:center'> <o:p></o:p></p>
<p align=center style='text-align:center'><i><span style='font-size:10.0pt;
font-family:"Courier New"'>A Church of England College Founded in 1840</span></i><o:p></o:p></p>
<p align=center style='text-align:center'> <o:p></o:p></p>
<p align=center style='text-align:center'><i><span style='font-size:10.0pt;
font-family:"Courier New"'>University College Plymouth St Mark & St John is
a registered charity the trustee of which is a company limited by guarantee
registered in England No. 986239</span></i><o:p></o:p></p>
<p align=center style='text-align:center'> <o:p></o:p></p>
<pre> <o:p></o:p></pre><pre> <o:p></o:p></pre></div>
<pre style='text-align:center'><o:p> </o:p></pre><pre style='text-align:
center'>
<hr size=2 width="100%" align=center>
</pre><pre style='text-align:center'><o:p> </o:p></pre><pre
style='text-align:center'>University College Plymouth St Mark & St John<o:p></o:p></pre><pre
style='text-align:center'>Derriford Road Plymouth PL6 8BH<o:p></o:p></pre>
<p align=center style='text-align:center'>Phone 01752 636700 Web
marjon.ac.uk<o:p></o:p></p>
<p align=center style='text-align:center'><br>
Principal: Professor Margaret Noble <o:p></o:p></p>
<p align=center style='text-align:center'><o:p> </o:p></p>
<p align=center style='text-align:center'><i><o:p> </o:p></i></p>
<p align=center style='text-align:center'><i>A Church of England College
Founded in 1840<o:p></o:p></i></p>
<p align=center style='text-align:center'><i><o:p> </o:p></i></p>
<p align=center style='text-align:center'><i>University College Plymouth St
Mark & St John is a registered charity the trustee of which is a company
limited by guarantee registered in England No. 986239<o:p></o:p></i></p>
<p align=center style='text-align:center'><o:p> </o:p></p>
<pre><o:p> </o:p></pre><pre><o:p> </o:p></pre></div>
</div>
<PRE><center>
<HR>
University College Plymouth St Mark & St John
Derriford Road Plymouth PL6 8BH
<P>Phone 01752 636700 Web marjon.ac.uk
<BR>Principal: Professor Margaret Noble
<I>
A Church of England College Founded in 1840
<P>
University College Plymouth St Mark & St John is a registered charity the trustee of which is a company limited by guarantee registered in England No. 986239
</I>
</center>
</PRE></body>
</html>