<div>Have the changes in the engine been updated to the xerte svn as well as the XOT svn?<br></div><div><br></div><div>I need to check if the changes Julian has made will have any impact on the Connector pages - or has anyone tested for this already?</div>
<div><br></div><div>Kind regards</div><div><br></div><div>Johnathan</div><br><div class="gmail_quote">On 13 December 2012 13:21, Fay Cross <span dir="ltr"><<a href="mailto:Fay.Cross@nottingham.ac.uk" target="_blank">Fay.Cross@nottingham.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-GB" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks Johnathan, Julian’s just fixed it.  Page links now work in both versions regardless of what navigation option is selected.</span></p>
<div><div class="h5"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><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 lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Kemp Johnathan<br>
<b>Sent:</b> 13 December 2012 11:08<br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] Re: page linking via html5 playback</span></p></div><p class="MsoNormal" style="margin-left:36.0pt"> </p><div>
<p class="MsoNormal" style="margin-left:36.0pt">You will probably find that in historic navigation everything works OK as there is no menu page.</p></div><div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div><div>
<p class="MsoNormal" style="margin-left:36.0pt">If you look at the code in the makePages script (the first child of the learning object in a pageTemplates project and presumably a XOT project) there is code that sets a value for pgOffset. pgOffset gets a value of 2 if there is a menu and 1 otherwise - to allow for the automatically generated menu page.</p>
</div><div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:36.0pt">I use this value in the connector pages to calculate an offset for when menu navigation is used.</p>
</div><div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:36.0pt">If I recall correctly there is a method to get the page index but this does not recognise the presence of the menu page but rootIcon.gotoPage does know about the menu page</p>
</div><div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:36.0pt">so if you have navigation = menu on your learning object, and a project that has a title page, followed by a summary page</p>
</div><div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:36.0pt">The method to get the page index returns 0 for the Title page and 1 for the summary page, but gotoPage(0) takes you to the menu page and gotoPage(1) takes you to the title page.</p>
</div><div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:36.0pt">Kind regards</p></div><div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:36.0pt">
Johnathan </p></div><div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:36.0pt">On 13 December 2012 09:19, Fay Cross <<a href="mailto:Fay.Cross@nottingham.ac.uk" target="_blank">Fay.Cross@nottingham.ac.uk</a>> wrote:</p>
<div><div><p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1f497d">I’ve just found some problems with page linking in both Flash and html5.  They both work fine with Linear navigation but if it’s menu navigation then in html the project won’t load at all and in Flash the link always takes you to the page before it should (I guess it’s not taking the menu page into account when getting the page index)</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1f497d"> </span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1f497d">I’ll have a look at fixing the html version now.</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1f497d"> </span></p><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal" style="margin-left:72.0pt">
<b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Smith, John</span></p>
<div><p class="MsoNormal" style="margin-left:36.0pt"><br><b>Sent:</b> 12 December 2012 11:54</p></div><div><p class="MsoNormal" style="margin-left:36.0pt"><b>To:</b> For Xerte technical developers</p></div><p class="MsoNormal" style="margin-left:36.0pt">
<b>Subject:</b> [Xerte-dev] Re: page linking via html5 playback</p></div></div><div><div><p class="MsoNormal" style="margin-left:72.0pt"> </p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US" style="color:#1f497d">Hi everyone,</span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US" style="color:#1f497d"> </span></p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US" style="color:#1f497d">I’ve just updated xenith.js to include code which should now convert the asfunction links within any of the fields currently supported by glossary tags (I pinched the code) into an x_navigateToPage(). This is also used when deep linking so can someone test on their live environments (or at least with real life data)..</span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US" style="color:#1f497d"> </span></p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US" style="color:#1f497d">Will be offline all afternoon (daughter’s Nativity play) but back online in the evening…</span></p>
<div><p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US" style="color:#1f497d"> </span></p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US" style="color:#1f497d">Regards,</span></p><p class="MsoNormal" style="margin-left:72.0pt">
<span lang="EN-US" style="color:#1f497d"> </span></p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US" style="color:#1f497d">John Smith</span></p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US" style="color:#1f497d">Learning Technologist</span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US" style="color:#1f497d">School of Health & Life Sciences</span></p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US" style="color:#1f497d">Glasgow Caledonian University</span></p>
</div><p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US" style="color:#1f497d"> </span></p><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal" style="margin-left:72.0pt">
<b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Ron Mitchell<br>
<b>Sent:</b> Wednesday, December 12, 2012 9:51 AM<br><b>To:</b> 'For Xerte technical developers'<br><b>Subject:</b> [Xerte-dev] page linking via html5 playback</span></p></div></div><p class="MsoNormal" style="margin-left:72.0pt">
<span lang="EN-US"> </span></p><p class="MsoNormal" style="margin-left:72.0pt">Hi</p><p class="MsoNormal" style="margin-left:72.0pt">starting this as a new thread so we know it remains an issue to resolve. Don't think it should delay release of 1.9.</p>
<p class="MsoNormal" style="margin-left:72.0pt"> </p><p class="MsoNormal" style="margin-left:72.0pt">I'm sure we know this anyway but as a reminder -  the Page Link functionality works great via flash playback but when viewing the same LO via html 5 playback clicking that type of link results in a blank page as the url changes to something like asfunction:_level0.engine.rootIcon.pageLink,PG1355303464521</p>
<p class="MsoNormal" style="margin-left:72.0pt"> </p><p class="MsoNormal" style="margin-left:72.0pt">As a page link can be added to any page I guess there needs to be a shared function between all html 5 pages to detech that type of link and change it to a LinkID link.</p>
<p class="MsoNormal" style="margin-left:72.0pt"> </p><p class="MsoNormal" style="margin-left:72.0pt">Is that something you can resolve John?</p><p class="MsoNormal" style="margin-left:72.0pt"> </p><p class="MsoNormal" style="margin-left:72.0pt">
Cheers</p><p class="MsoNormal" style="margin-left:72.0pt">Ron</p><p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:72.0pt"> </p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US"><br></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:gray">Glasgow Caledonian University is a registered Scottish charity, number SC021474<br>
<br>Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009.<br><a href="http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html" target="_blank">http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html</a><br>
<br>Winner: Times Higher Education’s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.<br><a href="http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html" target="_blank">http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html</a></span></p>
</div></div></div></div><p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt"><br><br><br><br>_______________________________________________<br>Xerte-dev mailing list<br><a href="mailto:Xerte-dev@lists.nottingham.ac.uk" target="_blank">Xerte-dev@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a></p></div><p class="MsoNormal" style="margin-left:36.0pt"> </p></div></div></div>

<br><br>
<br></div><br>_______________________________________________<br>
Xerte-dev mailing list<br>
<a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>
<br></blockquote></div><br>