<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16825" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=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=572003612-10092009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=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=572003612-10092009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=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=572003612-10092009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=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=572003612-10092009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=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=572003612-10092009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=572003612-10092009><FONT face=Arial
color=#0000ff size=2>However both sets of .rlm model files 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=572003612-10092009><FONT face=Arial
color=#0000ff size=2>____________________________________</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=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> </DIV>
<DIV dir=ltr align=left><SPAN class=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> </DIV>
<DIV dir=ltr align=left><SPAN class=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> </DIV><SPAN
class=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><SPAN class=572003612-10092009><FONT face=Arial
color=#0000ff
size=2>_____________________________________________</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=572003612-10092009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=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=572003612-10092009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=572003612-10092009><FONT face=Arial
color=#0000ff size=2>For example I changed the above to the text below, <SPAN
class=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=572003612-10092009></SPAN><SPAN
class=572003612-10092009><FONT face=Arial color=#0000ff
size=2>_______________________________________________</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=572003612-10092009><FONT face=Arial
color=#0000ff size=2>pageIcon = icon.parentNode.clip();</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN class=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> </DIV>
<DIV dir=ltr align=left><SPAN class=572003612-10092009><FONT face=Arial
color=#0000ff
size=2>//rootIcon.setTitleText(templateData.learningObject[0].name);</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN class=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=572003612-10092009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=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=572003612-10092009><FONT face=Arial
color=#0000ff
size=2>__________________________________________________________</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=572003612-10092009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=572003612-10092009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=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=572003612-10092009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=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=572003612-10092009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=572003612-10092009><FONT face=Arial
color=#0000ff size=2><SPAN class=572003612-10092009><FONT face=Arial
color=#0000ff size=2>Kind regards</FONT></SPAN></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=572003612-10092009><FONT face=Arial
color=#0000ff size=2><SPAN
class=572003612-10092009></SPAN></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=572003612-10092009><FONT face=Arial
color=#0000ff size=2><SPAN
class=572003612-10092009>Johnathan</SPAN></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=572003612-10092009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<P><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></P>
<P> </P>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<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=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> </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> </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 tabIndex=-1>
<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=190075311-10092009><FONT face=Arial size=2>Hello Xerte
Team,</FONT></SPAN></DIV>
<DIV><SPAN class=190075311-10092009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=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=190075311-10092009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=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=190075311-10092009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=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=190075311-10092009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=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=190075311-10092009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=190075311-10092009><FONT face=Arial size=2>If so, are they
available for downloading?</FONT></SPAN></DIV>
<DIV><SPAN class=190075311-10092009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=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=190075311-10092009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=190075311-10092009><FONT face=Arial size=2>Kind
regards</FONT></SPAN></DIV>
<DIV><SPAN class=190075311-10092009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=190075311-10092009><FONT face=Arial
size=2>Johnathan</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<P><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></P>
<P> </P>
<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></DIV><div align=\"center\" style=\"font-family:verdana; font-size:10px;\"><hr width=\"100%\">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></body></HTML>