[Xerte] Configuration file

Dave Burnett d_b_burnett at hotmail.com
Mon Sep 14 13:09:37 BST 2009


Thanks for offering Julian.
Not worth ninnying around with if it's not in an external config file.
I just thought I might be missing it.
If it's internal, leave it alone (or at least until there's a substantial wish-list).

Dave


Subject: RE: [Xerte] Configuration file
Date: Sat, 12 Sep 2009 20:54:20 +0100
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk










what would you like it to do?
 
Remember the last folder?
 
Is that the same location for models and other browse dialogs?
 
Or does save, save as, import media, save model etc all have their own paths remembered?



From: xerte-bounces at lists.nottingham.ac.uk on behalf of Dave Burnett
Sent: Sat 12/09/2009 13:49
To: Xerte list
Subject: [Xerte] Configuration file


Just a minor lazy man question.

I took a quick look for an .xml or .as file that sets, for instance, where Xerte initially opens to on "Open File".

My installation always opens to the desktop.
Is that hardcoded?

Dave



Subject: RE: [Xerte] Developing xerte models from toolkits .rlm files
Date: Thu, 10 Sep 2009 17:54:42 +0100
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk



I'm not sure what you are trying to achieve. You want to use an accordion in a standalone project?
 
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.



From: xerte-bounces at lists.nottingham.ac.uk on behalf of Patrick Lockley
Sent: Thu 10/09/2009 17:14
To: Xerte discussion list
Subject: RE: [Xerte] Developing xerte models from toolkits .rlm files




Why thank you.
 
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).
 
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.
 
What do you see when it runs?



From: xerte-bounces at lists.nottingham.ac.uk on behalf of Johnathan Kemp
Sent: Thu 10/09/2009 14:27
To: Xerte discussion list
Subject: RE: [Xerte] Developing xerte models from toolkits .rlm files



Dear "Richly deserved award winning Xerte team",
 
If I have understood your reply you are referring to the Xerte online tookits installation where you could find the models in
 
c:\xampp\htdocs\xertetoolkits\modules\xerte\parent_templates\Nottingham\models
 
if you were using the Xampp installation.
 
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.
 
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
____________________________________
pageIcon = icon.parentNode.clip();
myXML = new XML(extXML.firstChild.childNodes[rootIcon.getPageIndex() - pgOffset]);
pageIcon.templateData = myXML.toObject();
 
rootIcon.setTitleText(templateData.learningObject[0].name);
 
itemCount = pageIcon.templateData.accNav[0].nestedPage.length);
 

panelWidth = pageIcon.templateData.accNav[0].panelWidth;
_____________________________________________
 
This needs re-working to use in a non-template based Xerte project - unless I am missing a trick here :-)
 
For example I changed the above to the text below, in an attempt to get the code to reference back to the Xerte icons rather than an external XML file supported by a wizard.
_______________________________________________
pageIcon = icon.parentNode.clip();
 
//myXML = new XML(extXML.firstChild.childNodes[rootIcon.getPageIndex() - pgOffset]);
//pageIcon.templateData = myXML.toObject();
 
//rootIcon.setTitleText(templateData.learningObject[0].name);
 
//itemCount = pageIcon.templateData.accNav[0].nestedPage.length);
itemCount = icon.parentNode.findChildNodes('name','protoPane').length;
 
//panelWidth = pageIcon.templateData.accNav[0].panelWidth;
panelWidth = icon.parentNode.attributes.panelWidth;
__________________________________________________________
 
 
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.
 
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.
 
Kind regards
 
Johnathan
 Johnathan Kemp
ICT Development Coordinator
Connexions Staffordshire
www.cxstaffs.co.uk
01785 355714

 

 



From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick Lockley
Sent: 10 September 2009 13:05
To: Xerte discussion list
Subject: RE: [Xerte] Developing xerte models from toolkits .rlm files




Dear "Award winning" xerte team :)
 
The RLMs are all in the download,modules/xerte/parent_templates/Nottingham/models
 
You can add xerte content on one page templates.



From: xerte-bounces at lists.nottingham.ac.uk on behalf of Johnathan Kemp
Sent: Thu 10/09/2009 13:02
To: Xerte discussion list
Subject: [Xerte] Developing xerte models from toolkits .rlm files



Hello Xerte Team,
 
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.
 
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.
 
Then it occurred to me, that perhaps in the initial development of the page templates perhaps the Xerte models had been created.
 
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? 
 
If so, are they available for downloading?
 
This could save a lot of time in trying to re-engineer the models from the current .rlm files.
 
Kind regards
 
Johnathan
 Johnathan Kemp
ICT Development Coordinator
Connexions Staffordshire
www.cxstaffs.co.uk
01785 355714

 

 


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 at cxstaffs.co.uk Connexions Staffordshire Limited is registered in England No.4355170 Registered office: Foregate House, 70 Foregate Street, Stafford, Staffordshire, ST16 2PX


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 at cxstaffs.co.uk Connexions Staffordshire Limited is registered in England No.4355170 Registered office: Foregate House, 70 Foregate Street, Stafford, Staffordshire, ST16 2PX


Bing brings you health info from trusted sources. Try it now! 
_________________________________________________________________
Hotmail: Free, trusted and rich email service.
http://clk.atdmt.com/GBL/go/171222984/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20090914/44f24bbb/attachment.html


More information about the Xerte mailing list