[Xerte] Re: Xerte Toolkits Interface
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Fri Jun 24 13:01:27 BST 2011
Inspect(rootIcon) willdump a list of things rootIcon has. One of them is the textTOSpeech contrl.
TO hide it, just do blah.removeMovieClip(); where blah is the thing in the list that looks like the tts control. I think rootIcon.access
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Phil Clothier
Sent: 24 June 2011 12:10
To: Xerte discussion list
Subject: [Xerte] Re: Xerte Toolkits Interface
Thanks for the help Tom, got that working. Is it also possible to remove the text to speech option via a similar method? Text to speech is great but it's a shame it only works with certain IE settings. I fear that our learners would get confused with setting it up to work correctly, so I think it'd be best to remove the option entirely.
Also, when adding the line _level0.engine.IFC.sizes.removeItemAt(5); is it possible to remove multiple options? i.e. remove number 4 and 5? I've tried adding the line twice but it doesn't seem to work.
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 23 June 2011 20:24
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Re: Xerte Toolkits Interface
You need to do two things:
1. Get the template.rlt from the correct template from your XOT installation and edit it in Xerte standalone. For the standard Nottingham template, this file is called Nottingham.rlt and can be found in the folder
'modules/xerte/parent_templates/Nottingham'
2. Add a script icon below the background image
3. Add the script:
_level0.engine.IFC.sizes.removeItemAt(5);
(5 being the number of item 'fill window' of the sizes combobox.
See screenshot:
[cid:image001.png at 01CC326E.D40090E0]
Optionally get data.xwd from the same folder and edit it using Notepad.
Near the top of that file you find:
<displayMode type="ComboBox" options="default,full screen,fill window" label="Display Mode" width="100"/>
Remove 'fill window' from this list. This will prevent the author of he learning object to choose 'fill window' as the default view mode.
Tom
Op 22-6-2011 12:35, Phil Clothier schreef:
Hi all, is it possible to remove certain choices from the options at the bottom of the interface in Xerte Toolkits? For example, I'd like to remove the option to "fill window" in the screen size dropdown.
Which file would you need to edit? A nudge in the right direction would be great.
Thanks,
Phil
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk<mailto:Xerte at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110624/3e04b6d0/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 23460 bytes
Desc: image001.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110624/3e04b6d0/attachment-0001.png>
More information about the Xerte
mailing list