<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6001.18294" name=GENERATOR>
<STYLE>
<!--
font-face
        {font-family:Calibri;}
font-face
        {font-family:Tahoma;}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {
        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.EmailStyle18
        {
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle19
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle20
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {
        font-size:10.0pt;}
div.Section1
        {page:Section1;}
-->
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV id=idOWAReplyText15371 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>LDAP installed?</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> 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<BR></FONT><BR></DIV>
<DIV>
<DIV class=Section1>
<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></P>
<P class=MsoNormal><SPAN style="COLOR: #1f497d"></SPAN> </P>
<P class=MsoNormal><SPAN style="COLOR: #1f497d">Anyone experienced this? Any suggestions?</SPAN></P>
<P class=MsoNormal><SPAN style="COLOR: #1f497d"></SPAN> </P>
<P class=MsoNormal><SPAN style="COLOR: #1f497d">Thanks</SPAN></P>
<P class=MsoNormal><SPAN style="COLOR: #1f497d"><BR>Adam</SPAN></P>
<DIV>
<P class=MsoNormal><SPAN lang=EN-GB style="COLOR: #1f497d">___________________________________</SPAN></P>
<P class=MsoNormal><B><SPAN lang=EN-GB style="COLOR: #1f497d"> Adam Read</SPAN></B></P>
<P class=MsoNormal><SPAN lang=EN-GB style="COLOR: #1f497d"> Learning Technologist</SPAN></P>
<P class=MsoNormal><SPAN lang=EN-GB style="COLOR: #1f497d"> University College Plymouth St Mark & St John</SPAN></P>
<P class=MsoNormal><SPAN lang=EN-GB style="COLOR: #1f497d"></SPAN> </P>
<P class=MsoNormal><SPAN lang=EN-GB style="FONT-SIZE: 9pt; COLOR: #1f497d"> <A href="mailto:aread@marjon.ac.uk"><SPAN style="COLOR: blue">aread@marjon.ac.uk</SPAN></A> </SPAN></P>
<P class=MsoNormal><SPAN lang=EN-GB style="FONT-SIZE: 9pt; COLOR: #1f497d"> tel: 01752 636700 ext: 5673</SPAN></P>
<P class=MsoNormal><SPAN lang=EN-GB style="FONT-SIZE: 9pt; COLOR: #1f497d"> Room 566, Kirby Cudmore Building</SPAN></P>
<P class=MsoNormal><SPAN lang=EN-GB style="FONT-SIZE: 9pt; COLOR: #1f497d"> <A href="http://www.twitter.com/adamread"><SPAN style="COLOR: blue">twitter.com/adamread</SPAN></A> </SPAN></P></DIV>
<P class=MsoNormal><SPAN style="COLOR: #1f497d"></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 style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN 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 2009 10:53<BR><B>To:</B> Xerte discussion list<BR><B>Subject:</B> RE: [Xerte] Current Page</SPAN></P></DIV></DIV>
<P class=MsoNormal> </P>
<P class=MsoNormal><SPAN lang=EN-GB style="COLOR: #1f497d">rootIcon.currentPage</SPAN></P>
<P class=MsoNormal><SPAN lang=EN-GB style="COLOR: #1f497d"></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 style="MARGIN-LEFT: 36pt"><B><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN 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>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></P></DIV></DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><SPAN lang=EN-GB></SPAN> </P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt">In .rlt we have an event handler for onOpenPage. </P>
<P class=MsoListParagraph style="MARGIN-LEFT: 72pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 54pt">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… </P>
<P class=MsoNormal style="MARGIN-LEFT: 54pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 54pt">How do we extract the current page number? Or current XML generated page that is being displayed? (from template.xml)</P>
<P class=MsoNormal style="MARGIN-LEFT: 54pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 54pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 54pt">We can get the total number of pages (childNodes) from extXML.firstChild.childNodes.length but not the current page being displayed. </P>
<P class=MsoNormal style="MARGIN-LEFT: 54pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 72pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"> </P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"> </P></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>
</P></PRE></DIV></BODY></HTML>