<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Thanks for offering Julian.<br>Not worth ninnying around with if it's not in an external config file.<br>I just thought I might be missing it.<br>If it's internal, leave it alone (or at least until there's a substantial wish-list).<br><br>Dave<br><br><br><hr id="stopSpelling">Subject: RE: [Xerte] Configuration file<br>Date: Sat, 12 Sep 2009 20:54:20 +0100<br>From: Julian.Tenney@nottingham.ac.uk<br>To: xerte@lists.nottingham.ac.uk<br><br>



<style>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</style>



<div id="EC_idOWAReplyText90603" dir="ltr">
<div dir="ltr"><font size="2" color="#000000" face="Arial">what would you like it to do?</font></div>
<div dir="ltr"><font face="Arial"></font>&nbsp;</div>
<div dir="ltr"><font size="2" color="#000000" face="Arial">Remember the last folder?</font></div>
<div dir="ltr"><font face="Arial"></font>&nbsp;</div>
<div dir="ltr"><font face="Arial">Is that the same location for models and other browse dialogs?</font></div>
<div dir="ltr"><font face="Arial"></font>&nbsp;</div>
<div dir="ltr"><font face="Arial">Or does save, save as, import media, save model etc all have their own paths remembered?</font></div></div>
<div dir="ltr"><br>
<hr>
<font size="2" face="Tahoma"><b>From:</b> xerte-bounces@lists.nottingham.ac.uk on behalf of Dave Burnett<br><b>Sent:</b> Sat 12/09/2009 13:49<br><b>To:</b> Xerte list<br><b>Subject:</b> [Xerte] Configuration file<br></font><br></div>
<div>Just a minor lazy man question.<br><br>I took a quick look for an .xml or .as file that sets, for instance, where Xerte initially opens to on "Open File".<br><br>My installation always opens to the desktop.<br>Is that hardcoded?<br><br>Dave<br><br>
<hr id="EC_stopSpelling">
Subject: RE: [Xerte] Developing xerte models from toolkits .rlm files<br>Date: Thu, 10 Sep 2009 17:54:42 +0100<br>From: Julian.Tenney@nottingham.ac.uk<br>To: xerte@lists.nottingham.ac.uk<br><br>
<div id="EC_EC_idOWAReplyText58325" dir="ltr">
<div dir="ltr"><font size="2" color="#000000" face="Arial">I'm not sure what you are trying to achieve. You want to use an accordion in a standalone project?</font></div>
<div dir="ltr"><font size="2" face="Arial"></font>&nbsp;</div>
<div dir="ltr"><font size="2" face="Arial">What you have done is right - you also need to look for the duplicate function that builds the piece, and either copy / paste the icons it would duplicate, or use your own data to drive it.</font></div></div>
<div dir="ltr"><br>
<hr>
<font size="2" face="Tahoma"><b>From:</b> xerte-bounces@lists.nottingham.ac.uk on behalf of Patrick Lockley<br><b>Sent:</b> Thu 10/09/2009 17:14<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> RE: [Xerte] Developing xerte models from toolkits .rlm files<br></font><br></div>
<div dir="ltr">
<div id="EC_EC_idOWAReplyText47845" dir="ltr">
<div dir="ltr"><font size="2" color="#000000" face="Arial">Why thank you.</font></div>
<div dir="ltr"><font size="2" face="Arial"></font>&nbsp;</div>
<div dir="ltr"><font size="2" face="Arial">Julian will give you a better answer, but the template had one piece of xml (the RLT) that configures how xerte displays the other piece of XML (the XML).</font></div>
<div dir="ltr"><font size="2" face="Arial"></font>&nbsp;</div>
<div dir="ltr"><font size="2" face="Arial">Where you see external xml, you need to turn that in on itself, so imagine the whole RLO as XML, and then references parts accordingly, which is what you appear to have done, so I would believe that should work.</font></div>
<div dir="ltr"><font size="2" face="Arial"></font>&nbsp;</div>
<div dir="ltr"><font size="2" face="Arial">What do you see when it runs?</font></div></div>
<div dir="ltr"><br>
<hr>
<font size="2" face="Tahoma"><b>From:</b> xerte-bounces@lists.nottingham.ac.uk on behalf of Johnathan Kemp<br><b>Sent:</b> Thu 10/09/2009 14:27<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> RE: [Xerte] Developing xerte models from toolkits .rlm files<br></font><br></div>
<div dir="ltr">
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial">Dear "Richly deserved award winning Xerte team",</font></span></div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial">If I have understood your reply you are referring to the Xerte online tookits installation where you could find the models in</font></span></div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial">c:\xampp\htdocs\xertetoolkits\modules\xerte\parent_templates\Nottingham\models</font></span></div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial">if you were using the Xampp installation.</font></span></div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial">I think I have effectively started working with the same set of files but by creating an empty Xerte template based project and looking in the models folder of the project.</font></span></div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial">However both sets of .rlm model files&nbsp;provide the same problem - they are based around templateData. For example the getPageID script in the accNav model contains</font></span></div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial">____________________________________</font></span></div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial">pageIcon = icon.parentNode.clip();<br>myXML = new XML(extXML.firstChild.childNodes[rootIcon.getPageIndex() - pgOffset]);<br>pageIcon.templateData = myXML.toObject();</font></span></div>
<div><font size="2" color="#0000ff" face="Arial"></font>&nbsp;</div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial">rootIcon.setTitleText(templateData.learningObject[0].name);</font></span></div>
<div><font size="2" color="#0000ff" face="Arial"></font>&nbsp;</div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial">itemCount = pageIcon.templateData.accNav[0].nestedPage.length);</font></span></div>
<div><font size="2" color="#0000ff" face="Arial"></font>&nbsp;</div><span class="EC_EC_572003612-10092009">
<div dir="ltr" align="left"><br><font size="2" color="#0000ff" face="Arial">panelWidth = pageIcon.templateData.accNav[0].panelWidth;</font></div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial">_____________________________________________</font></span></div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial">This needs re-working to use in a non-template based Xerte project - unless I am missing a trick here :-)</font></span></div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial">For example I changed the above to the text below, <span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial">in an attempt to get the code to reference back to the Xerte icons rather than an external XML file supported by a wizard.</font></span></font></span></div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"></span><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial">_______________________________________________</font></span></div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial">pageIcon = icon.parentNode.clip();</font></span></div>
<div>&nbsp;</div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial">//myXML = new XML(extXML.firstChild.childNodes[rootIcon.getPageIndex() - pgOffset]);<br>//pageIcon.templateData = myXML.toObject();</font></span></div>
<div><font size="2" color="#0000ff" face="Arial"></font>&nbsp;</div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial">//rootIcon.setTitleText(templateData.learningObject[0].name);</font></span></div>
<div>&nbsp;</div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial">//itemCount = pageIcon.templateData.accNav[0].nestedPage.length);<br>itemCount = icon.parentNode.findChildNodes('name','protoPane').length;</font></span></div>
<div><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial">//panelWidth = pageIcon.templateData.accNav[0].panelWidth;<br>panelWidth = icon.parentNode.attributes.panelWidth;</font></span></div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial">__________________________________________________________</font></span></div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial">My original question was based on the assumption that the models might first have been created as Xerte models and then the scripts modified for use with external xml and a wizard file.</font></span></div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial">If these .rlms are all that is available then any pointers as to the easiest way to use them in Xerte without using a template, so that full scripting capability can be retained, would be welcomed.</font></span></div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial">Kind regards</font></span></font></span></div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial"><span class="EC_EC_572003612-10092009"></span></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial"><span class="EC_EC_572003612-10092009">Johnathan</span></font></span></div>
<div dir="ltr" align="left"><span class="EC_EC_572003612-10092009"><font size="2" color="#0000ff" face="Arial"></font></span>&nbsp;</div><font size="2" face="Arial">Johnathan Kemp<br>ICT Development Coordinator<br>Connexions Staffordshire<br></font><a href="http://www.cxstaffs.co.uk/"><font size="2" face="Arial">www.cxstaffs.co.uk</font></a><br><font size="2" face="Arial">01785 355714<br></font><br>&nbsp;<br>
<div><font size="2" color="#0000ff" face="Arial"></font>&nbsp;</div><br>
<div class="EC_EC_OutlookMessageHeader" dir="ltr" align="left" lang="en-us">
<hr>
<font size="2" face="Tahoma"><b>From:</b> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Patrick Lockley<br><b>Sent:</b> 10 September 2009 13:05<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> RE: [Xerte] Developing xerte models from toolkits .rlm files<br></font><br></div>
<div></div>
<div id="EC_EC_idOWAReplyText33513" dir="ltr">
<div dir="ltr"><font size="2" color="#000000" face="Arial">Dear "Award winning" xerte team :)</font></div>
<div dir="ltr"><font size="2" color="#000000" face="Arial"></font>&nbsp;</div>
<div dir="ltr"><font size="2" color="#000000" face="Arial">The RLMs are all in the download,modules/xerte/parent_templates/Nottingham/models</font></div>
<div dir="ltr"><font size="2" face="Arial"></font>&nbsp;</div>
<div dir="ltr"><font size="2" face="Arial">You can add xerte content on one page templates.</font></div></div>
<div dir="ltr"><br>
<hr>
<font size="2" face="Tahoma"><b>From:</b> xerte-bounces@lists.nottingham.ac.uk on behalf of Johnathan Kemp<br><b>Sent:</b> Thu 10/09/2009 13:02<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] Developing xerte models from toolkits .rlm files<br></font><br></div>
<div>
<div><span class="EC_EC_190075311-10092009"><font size="2" face="Arial">Hello Xerte Team,</font></span></div>
<div><span class="EC_EC_190075311-10092009"><font size="2" face="Arial"></font></span>&nbsp;</div>
<div><span class="EC_EC_190075311-10092009"><font size="2" face="Arial">Unless I have failed to understand something, it is not possible to work in Page Templates and have access to the power of the underlying Xerte icons e.g. for scripting.</font></span></div>
<div><span class="EC_EC_190075311-10092009"><font size="2" face="Arial"></font></span>&nbsp;</div>
<div><span class="EC_EC_190075311-10092009"><font size="2" face="Arial">To try and get the best of both worlds I started to reverse engineer a Xerte model from the accordion .rlm file, loading it into Xerte as a model and then trying to work my way around all the references to template data etc.</font></span></div>
<div><span class="EC_EC_190075311-10092009"><font size="2" face="Arial"></font></span>&nbsp;</div>
<div><span class="EC_EC_190075311-10092009"><font size="2" face="Arial">Then it occurred to me, that perhaps in the initial development of the page templates perhaps the Xerte models had been created.</font></span></div>
<div><span class="EC_EC_190075311-10092009"><font size="2" face="Arial"></font></span>&nbsp;</div>
<div><span class="EC_EC_190075311-10092009"><font size="2" face="Arial">So my question is, does a set of Xerte models exist, equivalent to the set of .rlm files used by pageTemplates, that would work in Xerte rather than requiring a related template file? </font></span></div>
<div><span class="EC_EC_190075311-10092009"><font size="2" face="Arial"></font></span>&nbsp;</div>
<div><span class="EC_EC_190075311-10092009"><font size="2" face="Arial">If so, are they available for downloading?</font></span></div>
<div><span class="EC_EC_190075311-10092009"><font size="2" face="Arial"></font></span>&nbsp;</div>
<div><span class="EC_EC_190075311-10092009"><font size="2" face="Arial">This could save a lot of time in trying to re-engineer the models from the current .rlm files.</font></span></div>
<div><span class="EC_EC_190075311-10092009"><font size="2" face="Arial"></font></span>&nbsp;</div>
<div><span class="EC_EC_190075311-10092009"><font size="2" face="Arial">Kind regards</font></span></div>
<div><span class="EC_EC_190075311-10092009"><font size="2" face="Arial"></font></span>&nbsp;</div>
<div><span class="EC_EC_190075311-10092009"><font size="2" face="Arial">Johnathan</font></span></div>
<div><font size="2" face="Arial"></font>&nbsp;</div><font size="2" face="Arial">Johnathan Kemp<br>ICT Development Coordinator<br>Connexions Staffordshire<br></font><a href="http://www.cxstaffs.co.uk/"><font size="2" face="Arial">www.cxstaffs.co.uk</font></a><br><font size="2" face="Arial">01785 355714<br></font><br>&nbsp;<br>
<div>&nbsp;</div>
<div align="\">
<hr width="\">
This email and any files transmitted with it are confidential and are intended solely for the use of the individual(s) or entity(s) to whom they are addressed. All messages are monitored for virus, high risk files and inappropriate content. As a result users should be aware that this mail maybe accessed, read and the right is reserved to reject, return, remove attachments or delete if considered to be inappropriate or unsuitable. Liability cannot be accepted for any loss or damage arising from this email (or any attachments) or from scripts or any virus transmitted. This communication represents the originator's personal views and opinions, which do not necessarily reflect those of Connexions Staffordshire. If you are not the original recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error, and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you received this email in error, please immediately reply to the sender or notify postmaster@cxstaffs.co.uk Connexions Staffordshire Limited is registered in England No.4355170 Registered office: Foregate House, 70 Foregate Street, Stafford, Staffordshire, ST16 2PX</div></div>
<div align="\">
<hr width="\">
This email and any files transmitted with it are confidential and are intended solely for the use of the individual(s) or entity(s) to whom they are addressed. All messages are monitored for virus, high risk files and inappropriate content. As a result users should be aware that this mail maybe accessed, read and the right is reserved to reject, return, remove attachments or delete if considered to be inappropriate or unsuitable. Liability cannot be accepted for any loss or damage arising from this email (or any attachments) or from scripts or any virus transmitted. This communication represents the originator's personal views and opinions, which do not necessarily reflect those of Connexions Staffordshire. If you are not the original recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error, and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you received this email in error, please immediately reply to the sender or notify postmaster@cxstaffs.co.uk Connexions Staffordshire Limited is registered in England No.4355170 Registered office: Foregate House, 70 Foregate Street, Stafford, Staffordshire, ST16 2PX</div></span></div></div><br>
<hr>
Bing brings you health info from trusted sources. <a href="http://www.bing.com/search?q=pet+allergy&amp;form=MHEINA&amp;publ=WLHMTAG&amp;crea=TXT_MHEINA_Health_Health_PetAllergy_1x1">Try it now!</a> </div><br /><hr />Hotmail: Free, trusted and rich email service. <a href='http://clk.atdmt.com/GBL/go/171222984/direct/01/' target='_new'>Get it now.</a></body>
</html>