<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<STYLE>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</STYLE>

<META content="MSHTML 6.00.6000.16890" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV id=idOWAReplyText90603 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>what would you like it to do?</FONT></DIV>
<DIV dir=ltr><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>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 tabIndex=-1>
<FONT face=Tahoma size=2><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=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_idOWAReplyText58325 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>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 face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>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 face=Tahoma size=2><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_idOWAReplyText47845 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Why thank you.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>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 face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>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 face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>What do you see when it runs?</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR>
<FONT face=Tahoma size=2><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_572003612-10092009><FONT face=Arial color=#0000ff size=2>Dear "Richly deserved award winning Xerte team",</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2>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_572003612-10092009><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2>c:\xampp\htdocs\xertetoolkits\modules\xerte\parent_templates\Nottingham\models</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2>if you were using the Xampp installation.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2>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_572003612-10092009><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2>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_572003612-10092009><FONT face=Arial color=#0000ff size=2>____________________________________</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2>pageIcon = icon.parentNode.clip();<BR>myXML = new XML(extXML.firstChild.childNodes[rootIcon.getPageIndex() - pgOffset]);<BR>pageIcon.templateData = myXML.toObject();</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2>rootIcon.setTitleText(templateData.learningObject[0].name);</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2>itemCount = pageIcon.templateData.accNav[0].nestedPage.length);</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV><SPAN class=EC_572003612-10092009>
<DIV dir=ltr align=left><BR><FONT face=Arial color=#0000ff size=2>panelWidth = pageIcon.templateData.accNav[0].panelWidth;</FONT></DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2>_____________________________________________</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2>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_572003612-10092009><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2>For example I changed the above to the text below, <SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2>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_572003612-10092009></SPAN><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2>_______________________________________________</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2>pageIcon = icon.parentNode.clip();</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2>//myXML = new XML(extXML.firstChild.childNodes[rootIcon.getPageIndex() - pgOffset]);<BR>//pageIcon.templateData = myXML.toObject();</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2>//rootIcon.setTitleText(templateData.learningObject[0].name);</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2>//itemCount = pageIcon.templateData.accNav[0].nestedPage.length);<BR>itemCount = icon.parentNode.findChildNodes('name','protoPane').length;</FONT></SPAN></DIV>
<DIV><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2>//panelWidth = pageIcon.templateData.accNav[0].panelWidth;<BR>panelWidth = icon.parentNode.attributes.panelWidth;</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2>__________________________________________________________</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2>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_572003612-10092009><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2>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_572003612-10092009><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2>Kind regards</FONT></SPAN></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2><SPAN class=EC_572003612-10092009></SPAN></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2><SPAN class=EC_572003612-10092009>Johnathan</SPAN></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=EC_572003612-10092009><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV><FONT face=Arial size=2>Johnathan Kemp<BR>ICT Development Coordinator<BR>Connexions Staffordshire<BR></FONT><A href="http://www.cxstaffs.co.uk/"><FONT face=Arial size=2>www.cxstaffs.co.uk</FONT></A><BR><FONT face=Arial size=2>01785 355714<BR></FONT><BR>&nbsp;<BR>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV><BR>
<DIV class=EC_OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><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_idOWAReplyText33513 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Dear "Award winning" xerte team :)</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>The RLMs are all in the download,modules/xerte/parent_templates/Nottingham/models</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>You can add xerte content on one page templates.</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR>
<FONT face=Tahoma size=2><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_190075311-10092009><FONT face=Arial size=2>Hello Xerte Team,</FONT></SPAN></DIV>
<DIV><SPAN class=EC_190075311-10092009><FONT face=Arial size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=EC_190075311-10092009><FONT face=Arial size=2>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_190075311-10092009><FONT face=Arial size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=EC_190075311-10092009><FONT face=Arial size=2>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_190075311-10092009><FONT face=Arial size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=EC_190075311-10092009><FONT face=Arial size=2>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_190075311-10092009><FONT face=Arial size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=EC_190075311-10092009><FONT face=Arial size=2>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_190075311-10092009><FONT face=Arial size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=EC_190075311-10092009><FONT face=Arial size=2>If so, are they available for downloading?</FONT></SPAN></DIV>
<DIV><SPAN class=EC_190075311-10092009><FONT face=Arial size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=EC_190075311-10092009><FONT face=Arial size=2>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_190075311-10092009><FONT face=Arial size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=EC_190075311-10092009><FONT face=Arial size=2>Kind regards</FONT></SPAN></DIV>
<DIV><SPAN class=EC_190075311-10092009><FONT face=Arial size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=EC_190075311-10092009><FONT face=Arial size=2>Johnathan</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV><FONT face=Arial size=2>Johnathan Kemp<BR>ICT Development Coordinator<BR>Connexions Staffordshire<BR></FONT><A href="http://www.cxstaffs.co.uk/"><FONT face=Arial size=2>www.cxstaffs.co.uk</FONT></A><BR><FONT face=Arial size=2>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" target=_new>Try it now!</A> </DIV></BODY></HTML>